Commit 89bd8e84 authored by camilo higuita's avatar camilo higuita

now start working on the plasmo efforts

parent 56e48124
......@@ -15,19 +15,10 @@ Maui.ApplicationWindow
id: root
title: browser.currentPath
property alias browser: browserView.browser
property int sidebarWidth: placesSidebar.isCollapsed ? placesSidebar.iconSize * 2:
Kirigami.Units.gridUnit * 11 > Screen.width * 0.3 ? Screen.width : Kirigami.Units.gridUnit * 11
showAccounts: false
about.appDescription: qsTr("Index is a file manager that works on desktops, Android and Plasma Mobile. Index lets you browse your system files and applications and preview your music, text, image and video files and share them with external applications.")
about.appIcon: "qrc:/assets/index.svg"
// pageStack.defaultColumnWidth: Kirigami.Units.gridUnit * 25
// pageStack.defaultColumnWidth: sidebarWidth
// pageStack.initialPage: [browserView]
// pageStack.interactive: isMobile
// pageStack.separatorVisible: false
property alias dialog : dialogLoader.item
property bool searchBar: false
......@@ -73,7 +64,7 @@ Maui.ApplicationWindow
// leftIcon.checkable: true
// leftIcon.checked: _drawer.visible
// headBar.strech: false
// headBar.strech: false
headBar.middleContent: Maui.PathBar
{
id: pathBar
......@@ -88,12 +79,12 @@ Maui.ApplicationWindow
z: pathBar.z+1
placeholderText: qsTr("Search... ")
onAccepted: browser.openFolder("Search/"+text)
// onCleared: browser.goBack()
// onCleared: browser.goBack()
onGoBackTriggered:
{
searchBar = false
searchField.clear()
// browser.goBack()
// browser.goBack()
}
}
......@@ -116,13 +107,13 @@ Maui.ApplicationWindow
globalDrawer: Maui.GlobalDrawer
{
id: _drawer
width: Kirigami.Units.gridUnit * 14
width: Kirigami.Units.gridUnit * 11
modal: !root.isWide
handleVisible: false
contentItem: Maui.PlacesSidebar
{
id: placesSidebar
// height: _drawer.height
// height: _drawer.height
onPlaceClicked:
{
......
......@@ -22,11 +22,8 @@ ColumnLayout
Layout.fillWidth: true
Layout.fillHeight: true
Layout.margins: 0
footBarOverlap: true
altToolBars: true
floatingBar: true
headBar.visible: true
headBar.drawBorder: false
headBar.drawBorder: true
headBar.plegable: false
menu:[
Maui.MenuItem
......@@ -42,13 +39,13 @@ ColumnLayout
}
}/*,
Maui.MenuItem
{
checkable: true
checked: placesSidebar.isCollapsed
text: qsTr("Compact mode")
onTriggered: placesSidebar.isCollapsed = !placesSidebar.isCollapsed
}*/
// Maui.MenuItem
// {
// checkable: true
// checked: placesSidebar.isCollapsed
// text: qsTr("Compact mode")
// onTriggered: placesSidebar.isCollapsed = !placesSidebar.isCollapsed
// }*/
]
onNewBookmark: placesSidebar.list.refresh()
......@@ -80,7 +77,7 @@ ColumnLayout
browser.openFolder(item.path)
else
browser.openFile(item.path)
}
}
}
Rectangle
......@@ -128,7 +125,7 @@ ColumnLayout
Layout.maximumHeight: control.height * 0.3
anchors.bottom: parent.bottom
anchors.top: handle.bottom
// source: !isMobile ? "Terminal.qml" : undefined
// source: !isMobile ? "Terminal.qml" : undefined
}
}
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