Changeset View
Changeset View
Standalone View
Standalone View
applets/kimpanel/package/contents/ui/InputPanel.qml
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Line(s) | 145 | Row { | |||
---|---|---|---|---|---|
147 | width: inputpanel.baseSize * 2 | 147 | width: inputpanel.baseSize * 2 | ||
148 | height: inputpanel.baseSize | 148 | height: inputpanel.baseSize | ||
149 | Layout.minimumWidth: width | 149 | Layout.minimumWidth: width | ||
150 | Layout.minimumHeight: height | 150 | Layout.minimumHeight: height | ||
151 | Layout.maximumWidth: width | 151 | Layout.maximumWidth: width | ||
152 | Layout.maximumHeight: height | 152 | Layout.maximumHeight: height | ||
153 | PlasmaCore.IconItem { | 153 | PlasmaCore.IconItem { | ||
154 | id: prevButton | 154 | id: prevButton | ||
155 | source: "arrow-left" | 155 | source: inputpanel.verticalLayout ? "arrow-left" : "arrow-up" | ||
156 | width: inputpanel.baseSize | 156 | width: inputpanel.baseSize | ||
157 | height: width | 157 | height: width | ||
158 | scale: prevButtonMouseArea.pressed ? 0.9 : 1 | 158 | scale: prevButtonMouseArea.pressed ? 0.9 : 1 | ||
159 | active: prevButtonMouseArea.containsMouse | 159 | active: prevButtonMouseArea.containsMouse | ||
160 | MouseArea { | 160 | MouseArea { | ||
161 | id: prevButtonMouseArea | 161 | id: prevButtonMouseArea | ||
162 | anchors.fill: parent | 162 | anchors.fill: parent | ||
163 | hoverEnabled: true | 163 | hoverEnabled: true | ||
164 | onReleased: action("LookupTablePageUp") | 164 | onReleased: action("LookupTablePageUp") | ||
165 | } | 165 | } | ||
166 | } | 166 | } | ||
167 | PlasmaCore.IconItem { | 167 | PlasmaCore.IconItem { | ||
168 | id: nextButton | 168 | id: nextButton | ||
169 | source: "arrow-right" | 169 | source: inputpanel.verticalLayout ? "arrow-right" : "arrow-down" | ||
170 | width: inputpanel.baseSize | 170 | width: inputpanel.baseSize | ||
171 | height: width | 171 | height: width | ||
172 | scale: nextButtonMouseArea.pressed ? 0.9 : 1 | 172 | scale: nextButtonMouseArea.pressed ? 0.9 : 1 | ||
173 | active: nextButtonMouseArea.containsMouse | 173 | active: nextButtonMouseArea.containsMouse | ||
174 | MouseArea { | 174 | MouseArea { | ||
175 | id: nextButtonMouseArea | 175 | id: nextButtonMouseArea | ||
176 | anchors.fill: parent | 176 | anchors.fill: parent | ||
177 | hoverEnabled: true | 177 | hoverEnabled: true | ||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |