Changeset View
Changeset View
Standalone View
Standalone View
shell/package/contents/configuration/pages/BehaviorConfig.qml
Show All 30 Lines | |||||
31 | import org.kde.latte 0.2 as Latte | 31 | import org.kde.latte 0.2 as Latte | ||
32 | 32 | | |||
33 | import "../../controls" as LatteExtraControls | 33 | import "../../controls" as LatteExtraControls | ||
34 | 34 | | |||
35 | PlasmaComponents.Page { | 35 | PlasmaComponents.Page { | ||
36 | Layout.maximumWidth: content.width + content.Layout.leftMargin * 2 | 36 | Layout.maximumWidth: content.width + content.Layout.leftMargin * 2 | ||
37 | Layout.maximumHeight: content.height + units.smallSpacing * 2 | 37 | Layout.maximumHeight: content.height + units.smallSpacing * 2 | ||
38 | 38 | | |||
39 | property alias dockTypeSelection: _dockTypeSelection | | |||
40 | | ||||
41 | ColumnLayout { | 39 | ColumnLayout { | ||
42 | id: content | 40 | id: content | ||
43 | 41 | | |||
44 | width: (dialog.appliedWidth - units.smallSpacing * 2) - Layout.leftMargin * 2 | 42 | width: (dialog.appliedWidth - units.smallSpacing * 2) - Layout.leftMargin * 2 | ||
45 | spacing: dialog.subGroupSpacing | 43 | spacing: dialog.subGroupSpacing | ||
46 | anchors.horizontalCenter: parent.horizontalCenter | 44 | anchors.horizontalCenter: parent.horizontalCenter | ||
47 | Layout.leftMargin: units.smallSpacing * 2 | 45 | Layout.leftMargin: units.smallSpacing * 2 | ||
48 | 46 | | |||
49 | //! BEGIN: Inline Dock/Panel Type, it is used only when the secondary window | 47 | //! BEGIN: Inline Dock/Panel Type, it is used only when the secondary window | ||
50 | //! overlaps the main dock config window | 48 | //! overlaps the main dock config window | ||
51 | ColumnLayout { | 49 | ColumnLayout { | ||
52 | Layout.fillWidth: true | 50 | Layout.fillWidth: true | ||
53 | spacing: units.smallSpacing | 51 | spacing: units.smallSpacing | ||
54 | Layout.topMargin: units.smallSpacing | 52 | Layout.topMargin: units.smallSpacing | ||
55 | 53 | | |||
56 | visible: dialog.highLevel && viewConfig.showInlineProperties | 54 | visible: dialog.highLevel && viewConfig.showInlineProperties | ||
57 | 55 | | |||
58 | LatteExtraControls.Header { | 56 | LatteExtraControls.Header { | ||
59 | text: i18n("Type") | 57 | text: i18n("Type") | ||
60 | } | 58 | } | ||
61 | 59 | | |||
62 | 60 | | |||
63 | LatteExtraControls.TypeSelection{ | 61 | LatteExtraControls.TypeSelection{ | ||
64 | id: _dockTypeSelection | 62 | id: viewTypeSelection | ||
65 | horizontal: true | 63 | horizontal: true | ||
66 | } | 64 | } | ||
67 | } | 65 | } | ||
68 | //! END: Inline Dock/Panel Type | 66 | //! END: Inline Dock/Panel Type | ||
69 | 67 | | |||
70 | //! BEGIN: Location | 68 | //! BEGIN: Location | ||
71 | ColumnLayout { | 69 | ColumnLayout { | ||
72 | Layout.fillWidth: true | 70 | Layout.fillWidth: true | ||
▲ Show 20 Lines • Show All 567 Lines • Show Last 20 Lines |