summaryrefslogtreecommitdiff
authorhrw <hrw>2005-12-01 10:47:10 (UTC)
committer hrw <hrw>2005-12-01 10:47:10 (UTC)
commitbb9f3cb27500b70124985fd51f90b7f8ded33588 (patch) (side-by-side diff)
tree0e64451706133c0e587873660257dc961c5768eb
parent252a5a6c477ee0b394b34dce5f77265006ae2010 (diff)
downloadopie-bb9f3cb27500b70124985fd51f90b7f8ded33588.zip
opie-bb9f3cb27500b70124985fd51f90b7f8ded33588.tar.gz
opie-bb9f3cb27500b70124985fd51f90b7f8ded33588.tar.bz2
blue-pin: make UI resizable to looks good in any resolution
- buttons are larger now - field for info about incoming connection is higher - PIN entry field is wider
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ChangeLog3
-rw-r--r--noncore/net/opietooth/blue-pin/pindlgbase.ui211
2 files changed, 148 insertions, 66 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f02614..2649165 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,3 +16,4 @@
* n.a. - remove hardcoded font size from wellenreiter (hrw)
- * n.a. - added patch to build QT/E 2.3.10 with gc 4.x.x (hrw)
+ * n.a. - added patch to build QT/E 2.3.10 with gcc 4.x.x (hrw)
+ * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw)
diff --git a/noncore/net/opietooth/blue-pin/pindlgbase.ui b/noncore/net/opietooth/blue-pin/pindlgbase.ui
index 6586014..916e476 100644
--- a/noncore/net/opietooth/blue-pin/pindlgbase.ui
+++ b/noncore/net/opietooth/blue-pin/pindlgbase.ui
@@ -14,4 +14,4 @@
<y>0</y>
- <width>196</width>
- <height>175</height>
+ <width>324</width>
+ <height>375</height>
</rect>
@@ -54,2 +54,9 @@
</property>
+ <property stdset="1">
+ <name>maximumSize</name>
+ <size>
+ <width>32767</width>
+ <height>64</height>
+ </size>
+ </property>
<hbox>
@@ -70,2 +77,16 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>7</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>maximumSize</name>
+ <size>
+ <width>32767</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property stdset="1">
<name>font</name>
@@ -76,3 +97,5 @@
<name>text</name>
- <string>Enter PIN:</string>
+ <string>Incoming
+connection from
+[Bluetooth address]</string>
</property>
@@ -117,23 +140,32 @@
</property>
- <spacer>
- <property>
+ <widget>
+ <class>QLabel</class>
+ <property stdset="1">
<name>name</name>
- <cstring>Spacer2</cstring>
+ <cstring>txtEnterPin</cstring>
</property>
<property stdset="1">
- <name>orientation</name>
- <enum>Horizontal</enum>
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
</property>
<property stdset="1">
- <name>sizeType</name>
- <enum>Expanding</enum>
- </property>
- <property>
- <name>sizeHint</name>
+ <name>maximumSize</name>
<size>
- <width>20</width>
- <height>20</height>
+ <width>32767</width>
+ <height>64</height>
</size>
</property>
- </spacer>
+ <property stdset="1">
+ <name>font</name>
+ <font>
+ </font>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Enter PIN:</string>
+ </property>
+ </widget>
<widget>
@@ -149,23 +181,2 @@
</widget>
- <spacer>
- <property>
- <name>name</name>
- <cstring>Spacer3</cstring>
- </property>
- <property stdset="1">
- <name>orientation</name>
- <enum>Horizontal</enum>
- </property>
- <property stdset="1">
- <name>sizeType</name>
- <enum>Expanding</enum>
- </property>
- <property>
- <name>sizeHint</name>
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
<widget>
@@ -222,6 +233,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -240,6 +258,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -258,6 +283,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -303,6 +335,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -321,6 +360,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -339,6 +385,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -384,6 +437,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -402,6 +462,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -420,6 +487,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -465,6 +539,13 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>maximumSize</name>
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -485,4 +566,4 @@
<sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>1</vsizetype>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
</sizepolicy>
@@ -492,4 +573,4 @@
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>
@@ -510,4 +591,4 @@
<sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>1</vsizetype>
+ <hsizetype>3</hsizetype>
+ <vsizetype>3</vsizetype>
</sizepolicy>
@@ -517,4 +598,4 @@
<size>
- <width>60</width>
- <height>25</height>
+ <width>32767</width>
+ <height>32767</height>
</size>