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) (ignore 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
@@ -11,13 +11,14 @@
* #1695 - Date selector use too small fontsize on VGA screen (hrw)
* #1686 - opie-console lack UI setting for switching scrollbar (hrw)
* #1647 - Opie-console doesn't respect scroll-bar on left side (hrw)
* #1624 - Button settngs changes are applied only after restart (hrw)
* #1492 - Backup and Restore does not show list of backups to restore on start (hrw)
* 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)
2005-09-11 Opie 1.2.1
New Features
------------
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
@@ -9,14 +9,14 @@
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
- <width>196</width>
- <height>175</height>
+ <width>324</width>
+ <height>375</height>
</rect>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>3</hsizetype>
@@ -49,12 +49,19 @@
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<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>
<number>0</number>
</property>
<property stdset="1">
@@ -65,19 +72,35 @@
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<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>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
@@ -112,65 +135,53 @@
<number>0</number>
</property>
<property stdset="1">
<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">
<name>name</name>
<cstring>lnePin</cstring>
</property>
<property stdset="1">
<name>frame</name>
<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">
<name>name</name>
<cstring>ckbPin</cstring>
</property>
@@ -217,16 +228,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>1</string>
</property>
@@ -235,16 +253,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>2</string>
</property>
@@ -253,16 +278,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>3</string>
</property>
@@ -298,16 +330,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>4</string>
</property>
@@ -316,16 +355,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>5</string>
</property>
@@ -334,16 +380,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>6</string>
</property>
@@ -379,16 +432,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>7</string>
</property>
@@ -397,16 +457,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>8</string>
</property>
@@ -415,16 +482,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>9</string>
</property>
@@ -460,16 +534,23 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<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">
<name>text</name>
<string>&amp;Ok</string>
</property>
@@ -480,21 +561,21 @@
<name>name</name>
<cstring>bt0</cstring>
</property>
<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">
<name>text</name>
<string>0</string>
</property>
@@ -505,21 +586,21 @@
<name>name</name>
<cstring>PushButton2</cstring>
</property>
<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">
<name>text</name>
<string>&amp;Cancel</string>
</property>