Commit 42745535 authored by Camilo higuita's avatar Camilo higuita

push updates

parent 00fbb2ca
......@@ -15,5 +15,6 @@
<file>assets/Submarine.png</file>
<file>assets/SunSki.png</file>
<file>assets/tent.png</file>
<file>assets/application-x-zerosize.svg</file>
</qresource>
</RCC>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
viewBox="0 0 64 64.000003"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="application-x-zerosize.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="12.9375"
inkscape:cx="32"
inkscape:cy="32"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
borderlayer="true"
inkscape:window-width="2560"
inkscape:window-height="1018"
inkscape:window-x="0"
inkscape:window-y="32"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid4136"
empspacing="2" />
<sodipodi:guide
position="5,5.0000688"
orientation="0,54"
id="guide4144"
inkscape:locked="false" />
<sodipodi:guide
position="59,59.000069"
orientation="0,-54"
id="guide4148"
inkscape:locked="false" />
<sodipodi:guide
position="0,64.000069"
orientation="64,0"
id="guide4150"
inkscape:locked="false" />
<sodipodi:guide
position="0,6.875e-05"
orientation="0,64"
id="guide4152"
inkscape:locked="false" />
<sodipodi:guide
position="64,6.875e-05"
orientation="-64,0"
id="guide4154"
inkscape:locked="false" />
<sodipodi:guide
position="64,64.000069"
orientation="0,-64"
id="guide4156"
inkscape:locked="false" />
<sodipodi:guide
position="12,34.000002"
orientation="38,0"
id="guide4155"
inkscape:locked="false" />
<sodipodi:guide
position="52,34.000002"
orientation="-38,0"
id="guide4159"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1058.5196)">
<image
y="1058.5197"
x="0"
id="image845"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz
AAB2HAAAdhwBp8J46gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABA6SURB
VHic7d3bbuNGGkZR2sn7v/G45yIjhFNdJ5JFHfpbCxAky7ZkQAr/zSLV2TYAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7n69V/AMt4LYFn+fXqP4DrDI3P4HUCPo1I
eHMGy3u6+rp4XYHVrg50QfBmDIr3MXotvFbApxgNezHwBgyV12u9BrX7vV7Au6sN99bAFwIvZKC8
zsyAH309+z2AlXqDu/ze6OvR43ETQ+P5RoN/5nbrcQBeoTfkZ2737uMmhshz9Yb41+C6dxvglUZD
vnVd3q59zU0Mkec4OviPxkDta4C7zOzx166FwBsxNO7XGtStwd8KgZkIGN0PcNbMiXytYV/enlkZ
6D0nCxgU9+oN/9rgb903syL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/ZgLgut4qwLb980Z+
DPMyBsrH2a8A7FcCzn5y4MjPAOzNDNqZM/9nVgBqQ9+x/5sJgLUeMVB7o7YG/+P75aVc9r/66QGA
VVrDeHbv/8zH/2rPywUCYI39KkB5e9v+XQX4KX6nt1z2vbtesQoAsNLRvf9eBJRn/Jf/9G/r+bhA
AKxTG/z71YAyAsqh3dr7LyNgq1zXHg/gLq3h/7guh3hryLc++lc7AbD23FwgAO5VHhLYR8A+FvbH
/WvL/z9bewXAoQDgWXpL/4/r0WGA3t5+bfhzE8Nivdpeee0fAfo+eHv0jwsBPFNt+D+uWyfzzdxu
PW55m4sMjnvMRkArCGr3bZXb5XPVnh9ghdrwbQ3//e3aSX29f+e/9rit5+cCg+I+sxHw+LoWALXh
b+kfeLWZTwGUX9cCoPU75XMY/jcwNO7VGtKtwd5bJSh/v/b4rfsAVphdBXhct/buW/fVnsPwv4lh
cb9eBJTXveX+I2f+e12B1VqDuPWJgN7tXjTMPCcLGBTP0Vuub4VA63szjwlwp96gHq0I1L43ekxu
YGg819EQaP1M7bEAXqU1yGf29A3+FzFEnm903H524HvtgHcxsyLQu927j5sYIq8zcwLfkaHvtQSe
pTeoR3v0Bv+bMDRe78iJfF4v4N0dGfAG/wsZKO9j9Fp4rYBPMRrsBv8bMFTe09XXxesKrHZ1aBv6
b8ag+AxeJ+DTGPhvzmD5c3gtgWcx3AEAAAAAAAAAAAAAAAAAAAAAAAAAAAD6/gvPFVE2spYEsgAA
AABJRU5ErkJggg==
"
preserveAspectRatio="none"
height="64"
width="64" />
<rect
style="opacity:1;fill:#e0e0e0;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4182"
width="42"
height="52.999878"
x="11"
y="1064.5197"
ry="2.9999466" />
<rect
style="opacity:1;fill:#f5f5f5;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4258"
width="40"
height="50.999947"
x="12"
y="1065.5197"
ry="1.9999467" />
</g>
</svg>
......@@ -43,6 +43,17 @@ Maui.ApplicationWindow
onSearchButtonClicked:
{
searchBar = !searchBar
pageStack.currentIndex = 1
}
onGoBackTriggered:
{
console.log(browser.currentPathType, FMList.SEARCH_PATH)
if(browser.currentPath === Maui.FM.homePath())
{
if (pageStack.currentIndex >= 1)
pageStack.flickBack();
}else browser.goBack()
}
headBar.middleContent: Maui.PathBar
......@@ -50,13 +61,20 @@ Maui.ApplicationWindow
id: pathBar
Maui.TextField
{
id: searchField
anchors.fill: parent
visible: searchBar
focus: visible
z: pathBar.z+1
focus: true
placeholderText: qsTr("Search... ")
onAccepted: browser.openFolder("Search/"+text)
onCleared: browser.goBack()
onGoBackTriggered:
{
searchBar = false
searchField.clear()
browser.goBack()
}
}
// colorScheme.backgroundColor: "#fff"
......@@ -75,7 +93,6 @@ Maui.ApplicationWindow
}
onPlaceClicked: browser.openFolder(path)
}
Loader
......@@ -87,7 +104,7 @@ Maui.ApplicationWindow
{
id: placesSidebar
onPlaceClicked: browser.openFolder(path)
list.groups: [FMList.PLACES_PATH, FMList.APPS_PATH, FMList.CLOUD_PATH, FMList.BOOKMARKS_PATH, FMList.DRIVES_PATH, FMList.TAGS_PATH]
width: isCollapsed ? iconSize*2 : parent.width
height: parent.height
}
......@@ -110,6 +127,15 @@ Maui.ApplicationWindow
}
}
Component
{
id: syncingDialogComponent
Maui.SyncDialog
{
textEntry.text: "https://cloud.opendesktop.cc/remote.php/webdav/"
}
}
Connections
{
target: inx
......@@ -124,8 +150,12 @@ Maui.ApplicationWindow
Maui.MenuItem
{
text: qsTr("Syncing")
text: qsTr("Accounts")
onTriggered:
{
dialogLoader.sourceComponent= syncingDialogComponent
dialog.open()
}
}
]
......
......@@ -16,8 +16,6 @@ ColumnLayout
property bool terminalVisible : false
property alias terminal : terminalLoader.item
Maui.FileBrowser
{
id: browser
......@@ -25,8 +23,9 @@ ColumnLayout
Layout.fillHeight: true
Layout.margins: 0
footBarOverlap: true
altToolBars: isMobile
altToolBars: false
floatingBar: true
headBar.visible: true
menu:[
Maui.MenuItem
{
......@@ -71,8 +70,8 @@ ColumnLayout
onItemDoubleClicked:
{
var item = list.get(index)
if(Maui.FM.isDir(item.path))
console.log(item.mime)
if(Maui.FM.isDir(item.path) || item.mime === "inode/directory")
browser.openFolder(item.path)
else
browser.openFile(item.path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment