summaryrefslogtreecommitdiff
authorhrw <hrw>2005-07-05 15:31:29 (UTC)
committer hrw <hrw>2005-07-05 15:31:29 (UTC)
commit9e4ad20dee2334f8e7dff7e41fcb49262e99a6b0 (patch) (side-by-side diff)
tree20c88180ef00465ee6a37614170894d708d69a76
parent2cabd9ad4b49eefccdf99ad59550c76546b473c9 (diff)
downloadopie-9e4ad20dee2334f8e7dff7e41fcb49262e99a6b0.zip
opie-9e4ad20dee2334f8e7dff7e41fcb49262e99a6b0.tar.gz
opie-9e4ad20dee2334f8e7dff7e41fcb49262e99a6b0.tar.bz2
added QGrid to make PIN dialog resizable - works ok on 640x480 and 480x640 - closes bug#1679
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/securityplugins/pin/pinDialogBase.ui164
1 files changed, 24 insertions, 140 deletions
diff --git a/noncore/securityplugins/pin/pinDialogBase.ui b/noncore/securityplugins/pin/pinDialogBase.ui
index 79e7a55..f84587b 100644
--- a/noncore/securityplugins/pin/pinDialogBase.ui
+++ b/noncore/securityplugins/pin/pinDialogBase.ui
@@ -22,28 +22,28 @@
</font>
</property>
<property stdset="1">
<name>caption</name>
<string>PinDialogBase</string>
</property>
- <widget>
+ <grid>
+ <property stdset="1">
+ <name>margin</name>
+ <number>11</number>
+ </property>
+ <property stdset="1">
+ <name>spacing</name>
+ <number>6</number>
+ </property>
+ <widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_4</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>138</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -64,28 +64,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_7</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>188</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -106,58 +97,40 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="0" column="0" rowspan="1" colspan="3" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>prompt</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>11</y>
- <width>217</width>
- <height>25</height>
- </rect>
- </property>
- <property stdset="1">
<name>font</name>
<font>
<pointsize>18</pointsize>
</font>
</property>
<property stdset="1">
<name>text</name>
<string>Enter your PIN</string>
</property>
</widget>
- <widget>
+ <widget row="1" column="0" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>display</cstring>
</property>
<property stdset="1">
<name>enabled</name>
<bool>false</bool>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>42</y>
- <width>217</width>
- <height>40</height>
- </rect>
- </property>
- <property stdset="1">
<name>palette</name>
<palette>
<active>
<color>
<red>0</red>
<green>0</green>
@@ -377,28 +350,19 @@
</property>
<property stdset="1">
<name>echoMode</name>
<enum>Password</enum>
</property>
</widget>
- <widget>
+ <widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_1</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>88</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -419,28 +383,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="2" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_2</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>85</x>
- <y>88</y>
- <width>69</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -461,28 +416,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="3" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_5</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>85</x>
- <y>138</y>
- <width>69</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -503,28 +449,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="3" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_6</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>160</x>
- <y>138</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -545,28 +482,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="2" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_3</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>160</x>
- <y>88</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -587,28 +515,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="5" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_0</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>11</x>
- <y>238</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -635,28 +554,19 @@
<name>layoutMargin</name>
</property>
<property>
<name>layoutSpacing</name>
</property>
</widget>
- <widget>
+ <widget row="4" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_8</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>85</x>
- <y>188</y>
- <width>69</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -677,28 +587,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="4" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_9</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>160</x>
- <y>188</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -725,28 +626,19 @@
<name>layoutMargin</name>
</property>
<property>
<name>layoutSpacing</name>
</property>
</widget>
- <widget>
+ <widget row="5" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_OK</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>160</x>
- <y>238</y>
- <width>68</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -988,28 +880,19 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
- <widget>
+ <widget row="5" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>button_Skip</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>85</x>
- <y>238</y>
- <width>69</width>
- <height>44</height>
- </rect>
- </property>
- <property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
</sizepolicy>
</property>
@@ -1251,8 +1134,9 @@
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
+ </grid>
</widget>
</UI>