author | hrw <hrw> | 2005-12-01 10:47:10 (UTC) |
---|---|---|
committer | hrw <hrw> | 2005-12-01 10:47:10 (UTC) |
commit | bb9f3cb27500b70124985fd51f90b7f8ded33588 (patch) (side-by-side diff) | |
tree | 0e64451706133c0e587873660257dc961c5768eb /noncore | |
parent | 252a5a6c477ee0b394b34dce5f77265006ae2010 (diff) | |
download | opie-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
-rw-r--r-- | noncore/net/opietooth/blue-pin/pindlgbase.ui | 211 |
1 files changed, 146 insertions, 65 deletions
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 @@ -12,8 +12,8 @@ <rect> <x>0</x> <y>0</y> - <width>196</width> - <height>175</height> + <width>324</width> + <height>375</height> </rect> </property> <property stdset="1"> @@ -52,6 +52,13 @@ <name>name</name> <cstring>Layout9</cstring> </property> + <property stdset="1"> + <name>maximumSize</name> + <size> + <width>32767</width> + <height>64</height> + </size> + </property> <hbox> <property stdset="1"> <name>margin</name> @@ -68,13 +75,29 @@ <cstring>txtStatus</cstring> </property> <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> <font> </font> </property> <property stdset="1"> <name>text</name> - <string>Enter PIN:</string> + <string>Incoming +connection from +[Bluetooth address]</string> </property> </widget> <spacer> @@ -115,27 +138,36 @@ <name>spacing</name> <number>6</number> </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> <class>QLineEdit</class> <property stdset="1"> @@ -147,27 +179,6 @@ <bool>true</bool> </property> </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> <class>QCheckBox</class> <property stdset="1"> @@ -220,10 +231,17 @@ <cstring>bt1</cstring> </property> <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> </property> <property stdset="1"> @@ -238,10 +256,17 @@ <cstring>bt2</cstring> </property> <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> </property> <property stdset="1"> @@ -256,10 +281,17 @@ <cstring>bt3</cstring> </property> <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> </property> <property stdset="1"> @@ -301,10 +333,17 @@ <cstring>bt4</cstring> </property> <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> </property> <property stdset="1"> @@ -319,10 +358,17 @@ <cstring>bt5</cstring> </property> <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> </property> <property stdset="1"> @@ -337,10 +383,17 @@ <cstring>bt6</cstring> </property> <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> </property> <property stdset="1"> @@ -382,10 +435,17 @@ <cstring>bt7</cstring> </property> <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> </property> <property stdset="1"> @@ -400,10 +460,17 @@ <cstring>bt8</cstring> </property> <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> </property> <property stdset="1"> @@ -418,10 +485,17 @@ <cstring>bt9</cstring> </property> <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> </property> <property stdset="1"> @@ -463,10 +537,17 @@ <cstring>PushButton1</cstring> </property> <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> </property> <property stdset="1"> @@ -483,15 +564,15 @@ <property stdset="1"> <name>sizePolicy</name> <sizepolicy> - <hsizetype>1</hsizetype> - <vsizetype>1</vsizetype> + <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> </property> <property stdset="1"> @@ -508,15 +589,15 @@ <property stdset="1"> <name>sizePolicy</name> <sizepolicy> - <hsizetype>1</hsizetype> - <vsizetype>1</vsizetype> + <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> </property> <property stdset="1"> |