File tree 8 files changed +257
-200
lines changed
qtc_packaging/debian_harmattan
8 files changed +257
-200
lines changed Original file line number Diff line number Diff line change 17
17
<file alias="StepsToolIcon.qml">qml/meego/StepsToolIcon.qml</file>
18
18
<file alias="StepsScrollDecorator.qml">qml/meego/StepsScrollDecorator.qml</file>
19
19
<file alias="StepsToolButton.qml">qml/meego/StepsToolButton.qml</file>
20
+ <file alias="StepsFlickable.qml">qml/meego/StepsFlickable.qml</file>
20
21
</qresource>
21
22
</RCC>
Original file line number Diff line number Diff line change 1
1
import QtQuick 1.1
2
- import "meego "
2
+ import "symbian "
3
3
4
4
StepsPage {
5
5
id: settings
6
6
7
- Flickable {
7
+ StepsFlickable {
8
8
id: flickable
9
9
anchors .fill : parent
10
10
anchors .margins : 15
@@ -142,15 +142,15 @@ StepsPage {
142
142
if (platform .osName !== " symbian" ) {
143
143
showExit .height = 0
144
144
showExit .visible = false
145
- } else {
146
- custom1Label .height = 0
147
- custom1Label .visible = 0
148
- custom1Text .height = 0
149
- custom1Text .visible = 0
150
- custom2Label .height = 0
151
- custom2Label .visible = 0
152
- custom2Text .height = 0
153
- custom2Text .visible = 0
145
+ // } else {
146
+ // custom1Label.height = 0
147
+ // custom1Label.visible = 0
148
+ // custom1Text.height = 0
149
+ // custom1Text.visible = 0
150
+ // custom2Label.height = 0
151
+ // custom2Label.visible = 0
152
+ // custom2Text.height = 0
153
+ // custom2Text.visible = 0
154
154
}
155
155
}
156
156
}
Original file line number Diff line number Diff line change
1
+ import QtQuick 1.1
2
+ import com.nokia.meego 1.0
3
+
4
+ // Just a Flickable
5
+ Flickable {
6
+ }
Original file line number Diff line number Diff line change
1
+ import QtQuick 1.1
2
+ import com.nokia.symbian 1.1
3
+
4
+ // A Flickable that can elevate children if they are obscured by the virtual keyboard
5
+ Flickable {
6
+ id: flickable
7
+
8
+ Timer {
9
+ id: adjuster
10
+ interval: 200
11
+ onTriggered: flickable .adjust ()
12
+ }
13
+
14
+ Component .onCompleted : inputContext .visibleChanged .connect (adjuster .restart )
15
+
16
+ function adjust () {
17
+ if (! inputContext .visible ) {
18
+ return
19
+ }
20
+
21
+ var focusChild = null
22
+ function findFocusChild (p ) {
23
+ if (p[" activeFocus" ] === true ) {
24
+ focusChild = p
25
+ } else {
26
+ for (var i = 0 ; i < p[" children" ].length ; i++ ) {
27
+ findFocusChild (p[" children" ][i])
28
+ if (focusChild !== null ) {
29
+ break
30
+ }
31
+ }
32
+ }
33
+ }
34
+ findFocusChild (flickable)
35
+
36
+ if (focusChild === null ) {
37
+ return
38
+ }
39
+ var focusChildY = focusChild[" y" ]
40
+ var focusChildHeight = focusChild[" height" ]
41
+ if ((flickable .contentY + flickable .height ) < (focusChildY + focusChildHeight)) {
42
+ flickable .contentY = focusChildY + focusChildHeight - flickable .height
43
+ }
44
+ }
45
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import com.nokia.symbian 1.1
3
3
4
4
PageStackWindow {
5
5
property bool toolBar: false // Ignored on Symbian
6
- // platformSoftwareInputPanelEnabled: true
6
+ platformSoftwareInputPanelEnabled: true
7
7
// showToolBar: !inputContext.visible;
8
8
// showStatusBar: !inputContext.visible;
9
9
}
Original file line number Diff line number Diff line change 1
1
steps (0.1.2) unstable; urgency=low
2
2
3
+ * Make sure input fields are not covered by VKB on Symbian
4
+
3
5
-- Akos Polster <akos@pipacs.com> Sun, 5 Feb 2012 03:38:00 +0100
4
6
5
7
steps (0.1.1) unstable; urgency=low
You can’t perform that action at this time.
0 commit comments