author | paule <paule> | 2007-01-29 05:23:30 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-29 05:23:30 (UTC) |
commit | 865225eccc619cbd196d181e80ef27167b124090 (patch) (side-by-side diff) | |
tree | bac8ca323c2af7c3b40c044271db619de2649c0c /noncore/securityplugins/pin/pinDialogBase.ui | |
parent | 7c04a4a9ceb843a3ca52b27840145ed598210068 (diff) | |
download | opie-865225eccc619cbd196d181e80ef27167b124090.zip opie-865225eccc619cbd196d181e80ef27167b124090.tar.gz opie-865225eccc619cbd196d181e80ef27167b124090.tar.bz2 |
Change buttons from QLabel to QPushButton, which enables entering the PIN using directional buttons and space/enter (which is all that is available on some PDAs if the screen is uncalibrated). In addition, you can now enter numbers using number keys if your device has them.
Diffstat (limited to 'noncore/securityplugins/pin/pinDialogBase.ui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/securityplugins/pin/pinDialogBase.ui | 775 |
1 files changed, 312 insertions, 463 deletions
diff --git a/noncore/securityplugins/pin/pinDialogBase.ui b/noncore/securityplugins/pin/pinDialogBase.ui index f84587b..7fde488 100644 --- a/noncore/securityplugins/pin/pinDialogBase.ui +++ b/noncore/securityplugins/pin/pinDialogBase.ui @@ -12,6 +12,6 @@ <x>0</x> <y>0</y> - <width>231</width> - <height>293</height> + <width>257</width> + <height>280</height> </rect> </property> @@ -35,68 +35,110 @@ <number>6</number> </property> - <widget row="3" column="0" > - <class>QLabel</class> + <widget row="4" column="0" > + <class>QPushButton</class> <property stdset="1"> <name>name</name> - <cstring>button_4</cstring> + <cstring>button_7</cstring> </property> <property stdset="1"> <name>sizePolicy</name> <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> </sizepolicy> </property> <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> + <name>text</name> + <string>7</string> </property> + </widget> + <widget row="2" column="0" > + <class>QPushButton</class> <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> + <name>name</name> + <cstring>button_1</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> </property> <property stdset="1"> <name>text</name> - <string>4</string> + <string>1</string> </property> + </widget> + <widget row="2" column="2" > + <class>QPushButton</class> <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> + <name>name</name> + <cstring>button_3</cstring> </property> - <property> - <name>hAlign</name> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>3</string> </property> </widget> - <widget row="4" column="0" > - <class>QLabel</class> + <widget row="4" column="2" > + <class>QPushButton</class> <property stdset="1"> <name>name</name> - <cstring>button_7</cstring> + <cstring>button_9</cstring> </property> <property stdset="1"> <name>sizePolicy</name> <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> </sizepolicy> </property> <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> + <name>text</name> + <string> 9 </string> + </property> + </widget> + <widget row="3" column="2" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>button_6</cstring> </property> <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> </property> <property stdset="1"> <name>text</name> - <string>7</string> + <string>6</string> </property> + </widget> + <widget row="5" column="0" > + <class>QPushButton</class> <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> + <name>name</name> + <cstring>button_0</cstring> </property> - <property> - <name>hAlign</name> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string> 0 </string> </property> </widget> @@ -354,282 +396,6 @@ </property> </widget> - <widget row="2" column="0" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_1</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>1</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="2" column="1" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_2</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>2</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="3" column="1" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_5</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>5</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="3" column="2" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_6</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>6</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="2" column="2" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_3</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>3</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="5" column="0" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_0</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>0</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - <property> - <name>layoutMargin</name> - </property> - <property> - <name>layoutSpacing</name> - </property> - </widget> - <widget row="4" column="1" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_8</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>8</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - </widget> - <widget row="4" column="2" > - <class>QLabel</class> - <property stdset="1"> - <name>name</name> - <cstring>button_9</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>9</string> - </property> - <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> - </property> - <property> - <name>layoutMargin</name> - </property> - <property> - <name>layoutSpacing</name> - </property> - </widget> <widget row="5" column="2" > - <class>QLabel</class> + <class>QPushButton</class> <property stdset="1"> <name>name</name> @@ -639,6 +405,6 @@ <name>sizePolicy</name> <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> </sizepolicy> </property> @@ -653,27 +419,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>170</red> + <green>255</green> + <blue>0</blue> </color> <color> - <red>255</red> + <red>212</red> <green>255</green> - <blue>255</blue> + <blue>127</blue> </color> <color> - <red>223</red> - <green>223</green> - <blue>223</blue> + <red>191</red> + <green>255</green> + <blue>63</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>85</red> + <green>127</green> + <blue>0</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>113</red> + <green>170</green> + <blue>0</blue> </color> <color> @@ -698,7 +464,7 @@ </color> <color> - <red>0</red> - <green>170</green> - <blue>0</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -708,13 +474,13 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </active> <disabled> @@ -725,27 +491,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>170</red> + <green>255</green> + <blue>0</blue> </color> <color> - <red>255</red> + <red>212</red> <green>255</green> - <blue>255</blue> + <blue>127</blue> </color> <color> - <red>220</red> - <green>220</green> - <blue>220</blue> + <red>183</red> + <green>255</green> + <blue>38</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>85</red> + <green>127</green> + <blue>0</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>113</red> + <green>170</green> + <blue>0</blue> </color> <color> @@ -770,7 +536,7 @@ </color> <color> - <red>0</red> - <green>170</green> - <blue>0</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -780,13 +546,13 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </disabled> <inactive> @@ -797,27 +563,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>170</red> + <green>255</green> + <blue>0</blue> </color> <color> - <red>255</red> + <red>212</red> <green>255</green> - <blue>255</blue> + <blue>127</blue> </color> <color> - <red>220</red> - <green>220</green> - <blue>220</blue> + <red>183</red> + <green>255</green> + <blue>38</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>85</red> + <green>127</green> + <blue>0</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>113</red> + <green>170</green> + <blue>0</blue> </color> <color> @@ -842,7 +608,7 @@ </color> <color> - <red>0</red> - <green>170</green> - <blue>0</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -852,38 +618,95 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </inactive> </palette> </property> <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> + <name>text</name> + <string>OK</string> + </property> + </widget> + <widget row="3" column="0" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>button_4</cstring> </property> <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> </property> <property stdset="1"> <name>text</name> - <string>Enter</string> + <string>4</string> </property> + </widget> + <widget row="2" column="1" > + <class>QPushButton</class> <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> + <name>name</name> + <cstring>button_2</cstring> </property> - <property> - <name>hAlign</name> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>2</string> + </property> + </widget> + <widget row="3" column="1" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>button_5</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>5</string> + </property> + </widget> + <widget row="4" column="1" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>button_8</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>8</string> </property> </widget> <widget row="5" column="1" > - <class>QLabel</class> + <class>QPushButton</class> <property stdset="1"> <name>name</name> @@ -893,6 +716,6 @@ <name>sizePolicy</name> <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> </sizepolicy> </property> @@ -907,27 +730,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>255</red> + <green>255</green> + <blue>127</blue> </color> <color> <red>255</red> <green>255</green> - <blue>255</blue> + <blue>254</blue> </color> <color> - <red>223</red> - <green>223</green> - <blue>223</blue> + <red>255</red> + <green>255</green> + <blue>190</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>127</red> + <green>127</green> + <blue>63</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>170</red> + <green>170</green> + <blue>85</blue> </color> <color> @@ -952,7 +775,7 @@ </color> <color> - <red>255</red> - <green>255</green> - <blue>127</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -962,13 +785,13 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </active> <disabled> @@ -979,27 +802,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>255</red> + <green>255</green> + <blue>127</blue> </color> <color> <red>255</red> <green>255</green> - <blue>255</blue> + <blue>254</blue> </color> <color> - <red>220</red> - <green>220</green> - <blue>220</blue> + <red>255</red> + <green>255</green> + <blue>165</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>127</red> + <green>127</green> + <blue>63</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>170</red> + <green>170</green> + <blue>85</blue> </color> <color> @@ -1024,7 +847,7 @@ </color> <color> - <red>255</red> - <green>255</green> - <blue>127</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -1034,13 +857,13 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </disabled> <inactive> @@ -1051,27 +874,27 @@ </color> <color> - <red>192</red> - <green>192</green> - <blue>192</blue> + <red>255</red> + <green>255</green> + <blue>127</blue> </color> <color> <red>255</red> <green>255</green> - <blue>255</blue> + <blue>254</blue> </color> <color> - <red>220</red> - <green>220</green> - <blue>220</blue> + <red>255</red> + <green>255</green> + <blue>165</blue> </color> <color> - <red>96</red> - <green>96</green> - <blue>96</blue> + <red>127</red> + <green>127</green> + <blue>63</blue> </color> <color> - <red>128</red> - <green>128</green> - <blue>128</blue> + <red>170</red> + <green>170</green> + <blue>85</blue> </color> <color> @@ -1096,7 +919,7 @@ </color> <color> - <red>255</red> - <green>255</green> - <blue>127</blue> + <red>238</red> + <green>238</green> + <blue>230</blue> </color> <color> @@ -1106,37 +929,63 @@ </color> <color> + <red>255</red> + <green>221</green> + <blue>118</blue> + </color> + <color> <red>0</red> <green>0</green> <blue>0</blue> </color> - <color> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> </inactive> </palette> </property> <property stdset="1"> - <name>frameShape</name> - <enum>Box</enum> - </property> - <property stdset="1"> - <name>frameShadow</name> - <enum>Raised</enum> - </property> - <property stdset="1"> <name>text</name> <string>Skip</string> </property> <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> - </property> - <property> - <name>hAlign</name> + <name>autoResize</name> + <bool>false</bool> </property> </widget> </grid> </widget> +<customwidgets> + <customwidget> + <class>QWidget</class> + <header location="global">qwidget.h</header> + <sizehint> + <width>-1</width> + <height>-1</height> + </sizehint> + <container>0</container> + <sizepolicy> + <hordata>5</hordata> + <verdata>5</verdata> + </sizepolicy> + <pixmap>image0</pixmap> + </customwidget> +</customwidgets> +<images> + <image> + <name>image0</name> + <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> + </image> +</images> +<tabstops> + <tabstop>display</tabstop> + <tabstop>button_1</tabstop> + <tabstop>button_2</tabstop> + <tabstop>button_3</tabstop> + <tabstop>button_4</tabstop> + <tabstop>button_5</tabstop> + <tabstop>button_6</tabstop> + <tabstop>button_7</tabstop> + <tabstop>button_8</tabstop> + <tabstop>button_9</tabstop> + <tabstop>button_0</tabstop> + <tabstop>button_Skip</tabstop> + <tabstop>button_OK</tabstop> +</tabstops> </UI> |