Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/DiscoverWindow.qml
Context not available. | |||||
3 | import QtQuick.Controls 2.1 | 3 | import QtQuick.Controls 2.1 | ||
---|---|---|---|---|---|
4 | import org.kde.discover 2.0 | 4 | import org.kde.discover 2.0 | ||
5 | import org.kde.discover.app 1.0 | 5 | import org.kde.discover.app 1.0 | ||
6 | import org.kde.kirigami 2.5 as Kirigami | 6 | import org.kde.kirigami 2.2 as Kirigami | ||
7 | import "navigation.js" as Navigation | 7 | import "navigation.js" as Navigation | ||
8 | 8 | | |||
9 | Kirigami.ApplicationWindow | 9 | Kirigami.ApplicationWindow | ||
Context not available. | |||||
27 | objectName: "DiscoverMainWindow" | 27 | objectName: "DiscoverMainWindow" | ||
28 | title: leftPage ? leftPage.title : "" | 28 | title: leftPage ? leftPage.title : "" | ||
29 | 29 | | |||
30 | ConditionalObject { | ||||
31 | id: whichToolbar | ||||
32 | condition: window.wideScreen | ||||
33 | | ||||
34 | componentTrue: Component { id: desktopHeader; Kirigami.ToolBarApplicationHeader {} } | ||||
35 | componentFalse: Component { id: mobileHeader; Kirigami.ApplicationHeader {} } | ||||
36 | } | ||||
37 | header: whichToolbar.object | ||||
30 | 38 | | |||
31 | visible: true | 39 | visible: true | ||
32 | 40 | | |||
Context not available. | |||||
34 | minimumHeight: 300 | 42 | minimumHeight: 300 | ||
35 | 43 | | |||
36 | pageStack.defaultColumnWidth: Kirigami.Units.gridUnit * 25 | 44 | pageStack.defaultColumnWidth: Kirigami.Units.gridUnit * 25 | ||
37 | pageStack.globalToolBar.style: window.wideScreen ? Kirigami.ApplicationHeaderStyle.ToolBar : Kirigami.ApplicationHeaderStyle.Breadcrumb | | |||
38 | 45 | | |||
39 | readonly property var leftPage: window.stack.depth>0 ? window.stack.get(0) : null | 46 | readonly property var leftPage: window.stack.depth>0 ? window.stack.get(0) : null | ||
40 | 47 | | |||
Context not available. |