Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/package/contents/ui/main.qml
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 101 | Component.onCompleted: { | |||
---|---|---|---|---|---|
104 | } | 104 | } | ||
105 | } | 105 | } | ||
106 | 106 | | |||
107 | Plasmoid.fullRepresentation: ColumnLayout { | 107 | Plasmoid.fullRepresentation: ColumnLayout { | ||
108 | spacing: 0 | 108 | spacing: 0 | ||
109 | Layout.preferredWidth: units.gridUnit * 15 | 109 | Layout.preferredWidth: units.gridUnit * 15 | ||
110 | 110 | | |||
111 | ScreenLayoutSelection { | 111 | ScreenLayoutSelection { | ||
112 | Layout.leftMargin: units.smallSpacing | ||||
112 | Layout.fillWidth: true | 113 | Layout.fillWidth: true | ||
113 | } | 114 | } | ||
114 | 115 | | |||
115 | PresentationModeItem { | 116 | PresentationModeItem { | ||
116 | Layout.fillWidth: true | 117 | Layout.fillWidth: true | ||
117 | Layout.topMargin: units.largeSpacing | 118 | Layout.topMargin: units.largeSpacing | ||
119 | Layout.leftMargin: units.smallSpacing | ||||
118 | } | 120 | } | ||
119 | 121 | | |||
120 | // compact the layout, push settings button to the bottom | 122 | // compact the layout, push settings button to the bottom | ||
121 | Item { | 123 | Item { | ||
122 | Layout.fillHeight: true | 124 | Layout.fillHeight: true | ||
123 | } | 125 | } | ||
124 | 126 | | |||
125 | PlasmaComponents.Button { | 127 | PlasmaComponents.Button { | ||
126 | Layout.alignment: Qt.AlignRight | 128 | Layout.alignment: Qt.AlignRight | ||
127 | Layout.topMargin: units.smallSpacing | 129 | Layout.topMargin: units.smallSpacing | ||
128 | text: root.kcmLabel | 130 | text: root.kcmLabel | ||
129 | iconName: root.kcmIconName | 131 | iconName: root.kcmIconName | ||
130 | onClicked: action_openKcm() | 132 | onClicked: action_openKcm() | ||
131 | } | 133 | } | ||
132 | } | 134 | } | ||
133 | } | 135 | } |