Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/main.qml
Show All 23 Lines | 23 | Kirigami.ApplicationItem { | |||
---|---|---|---|---|---|
24 | id: root | 24 | id: root | ||
25 | implicitWidth: wideScreen ? Kirigami.Units.gridUnit * 30 : Kirigami.Units.gridUnit * 15 | 25 | implicitWidth: wideScreen ? Kirigami.Units.gridUnit * 30 : Kirigami.Units.gridUnit * 15 | ||
26 | pageStack.initialPage: mainColumn | 26 | pageStack.initialPage: mainColumn | ||
27 | pageStack.defaultColumnWidth: wideScreen ? root.width / 2 : root.width | 27 | pageStack.defaultColumnWidth: wideScreen ? root.width / 2 : root.width | ||
28 | 28 | | |||
29 | LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft | 29 | LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft | ||
30 | LayoutMirroring.childrenInherit: true | 30 | LayoutMirroring.childrenInherit: true | ||
31 | 31 | | |||
32 | property alias searchMode: mainColumn.searchMode | ||||
33 | | ||||
32 | signal focusNextRequest() | 34 | signal focusNextRequest() | ||
33 | signal focusPreviousRequest() | 35 | signal focusPreviousRequest() | ||
34 | 36 | | |||
35 | function focusFirstChild() { | 37 | function focusFirstChild() { | ||
36 | mainColumn.focus = true; | 38 | mainColumn.focus = true; | ||
37 | } | 39 | } | ||
38 | 40 | | |||
39 | function focusLastChild() { | 41 | function focusLastChild() { | ||
Show All 22 Lines |