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
@@ -25,22 +25,22 @@
<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>
@@ -67,22 +67,13 @@
<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>
@@ -109,22 +100,13 @@
<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>
@@ -135,7 +117,7 @@
<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>
@@ -146,15 +128,6 @@
<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>
@@ -380,22 +353,13 @@
<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>
@@ -422,22 +386,13 @@
<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>
@@ -464,22 +419,13 @@
<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>
@@ -506,22 +452,13 @@
<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>
@@ -548,22 +485,13 @@
<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>
@@ -590,22 +518,13 @@
<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>
@@ -638,22 +557,13 @@
<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>
@@ -680,22 +590,13 @@
<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>
@@ -728,22 +629,13 @@
<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>
@@ -991,22 +883,13 @@
<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>
@@ -1254,5 +1137,6 @@
<name>hAlign</name>
</property>
</widget>
+ </grid>
</widget>
</UI>