summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-07-09 13:14:45 (UTC)
committer mickeyl <mickeyl>2005-07-09 13:14:45 (UTC)
commitdf81736967930c523b3c1be163f830e9120b7b27 (patch) (side-by-side diff)
treedc84749b3b5fd2c636e1876820b6f8fc2efc1397
parent27286d2b951428e61836e522b3a31f8c13808516 (diff)
downloadopie-df81736967930c523b3c1be163f830e9120b7b27.zip
opie-df81736967930c523b3c1be163f830e9120b7b27.tar.gz
opie-df81736967930c523b3c1be163f830e9120b7b27.tar.bz2
put a slight bit of sanity into those .ui files
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluetoothbase.ui198
-rw-r--r--noncore/net/opietooth/manager/devicedialog.ui189
2 files changed, 152 insertions, 235 deletions
diff --git a/noncore/net/opietooth/manager/bluetoothbase.ui b/noncore/net/opietooth/manager/bluetoothbase.ui
index a900212..2d14b8f 100644
--- a/noncore/net/opietooth/manager/bluetoothbase.ui
+++ b/noncore/net/opietooth/manager/bluetoothbase.ui
@@ -11,8 +11,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>370</width>
- <height>328</height>
+ <width>297</width>
+ <height>382</height>
</rect>
</property>
<property stdset="1">
@@ -25,16 +25,16 @@
<property>
<name>layoutSpacing</name>
</property>
- <vbox>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>11</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
- <number>6</number>
+ <number>2</number>
</property>
- <widget>
+ <widget row="0" column="0" >
<class>QTabWidget</class>
<property stdset="1">
<name>name</name>
@@ -59,7 +59,7 @@
<vbox>
<property stdset="1">
<name>margin</name>
- <number>2</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
@@ -115,7 +115,7 @@
</property>
<property stdset="1">
<name>text</name>
- <string>Scan for Devices</string>
+ <string>&amp;Rescan Devices</string>
</property>
</widget>
</vbox>
@@ -133,7 +133,7 @@
<vbox>
<property stdset="1">
<name>margin</name>
- <number>2</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
@@ -200,141 +200,63 @@
<name>title</name>
<string>Config</string>
</attribute>
- <vbox>
- <property stdset="1">
- <name>margin</name>
- <number>11</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>6</number>
- </property>
- <widget>
- <class>QGroupBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>GroupBox1</cstring>
- </property>
- <property stdset="1">
- <name>title</name>
- <string>Bluetooth Basic Config</string>
- </property>
- <vbox>
- <property stdset="1">
- <name>margin</name>
- <number>11</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>6</number>
- </property>
- <widget>
- <class>QLayoutWidget</class>
- <property stdset="1">
- <name>name</name>
- <cstring>Layout7</cstring>
- </property>
- <hbox>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>0</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
- <number>6</number>
- </property>
- <widget>
- <class>QLayoutWidget</class>
- <property stdset="1">
- <name>name</name>
- <cstring>Layout6</cstring>
- </property>
- <vbox>
- <property stdset="1">
- <name>margin</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>6</number>
+ <number>2</number>
</property>
- <widget>
- <class>QLabel</class>
+ <widget row="1" column="0" >
+ <class>QPushButton</class>
<property stdset="1">
<name>name</name>
- <cstring>deviceNameLabel</cstring>
+ <cstring>rfcommBindButton</cstring>
</property>
<property stdset="1">
<name>text</name>
- <string>Device Name</string>
+ <string>&amp;Edit RFCOMM Bind Table</string>
</property>
</widget>
- <widget>
- <class>QLabel</class>
+ <widget row="0" column="0" >
+ <class>QGroupBox</class>
<property stdset="1">
<name>name</name>
- <cstring>passkeyLabel</cstring>
+ <cstring>GroupBox1</cstring>
</property>
<property stdset="1">
- <name>text</name>
- <string>Default Passkey</string>
+ <name>title</name>
+ <string>Bluetooth Basic Config</string>
</property>
- </widget>
- </vbox>
- </widget>
- <widget>
- <class>QLayoutWidget</class>
- <property stdset="1">
- <name>name</name>
- <cstring>Layout5</cstring>
+ <property>
+ <name>layoutMargin</name>
</property>
- <vbox>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>0</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
- <number>6</number>
- </property>
- <widget>
- <class>QLineEdit</class>
- <property stdset="1">
- <name>name</name>
- <cstring>deviceNameLine</cstring>
+ <number>2</number>
</property>
- </widget>
- <widget>
- <class>QLineEdit</class>
+ <widget row="6" column="0" rowspan="1" colspan="2" >
+ <class>QPushButton</class>
<property stdset="1">
<name>name</name>
- <cstring>passkeyLine</cstring>
+ <cstring>configApplyButton</cstring>
</property>
<property stdset="1">
- <name>echoMode</name>
- <enum>Password</enum>
+ <name>text</name>
+ <string>Apply</string>
</property>
</widget>
- </vbox>
- </widget>
- </hbox>
- </widget>
- <widget>
- <class>QLayoutWidget</class>
- <property stdset="1">
- <name>name</name>
- <cstring>Layout5</cstring>
- </property>
- <vbox>
- <property stdset="1">
- <name>margin</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>6</number>
- </property>
- <widget>
+ <widget row="2" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -345,7 +267,7 @@
<string>enable authentification</string>
</property>
</widget>
- <widget>
+ <widget row="3" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -356,7 +278,7 @@
<string>enable encryption</string>
</property>
</widget>
- <widget>
+ <widget row="4" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -367,7 +289,7 @@
<string>Enable Page scan</string>
</property>
</widget>
- <widget>
+ <widget row="5" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -378,33 +300,49 @@
<string>Enable Inquiry scan</string>
</property>
</widget>
- </vbox>
+ <widget row="0" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>deviceNameLabel</cstring>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Device Name</string>
+ </property>
</widget>
- <widget>
- <class>QPushButton</class>
+ <widget row="1" column="0" >
+ <class>QLabel</class>
<property stdset="1">
<name>name</name>
- <cstring>configApplyButton</cstring>
+ <cstring>passkeyLabel</cstring>
</property>
<property stdset="1">
<name>text</name>
- <string>Apply</string>
+ <string>Default Passkey</string>
</property>
</widget>
- </vbox>
+ <widget row="0" column="1" >
+ <class>QLineEdit</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>deviceNameLine</cstring>
+ </property>
</widget>
- <widget>
- <class>QPushButton</class>
+ <widget row="1" column="1" >
+ <class>QLineEdit</class>
<property stdset="1">
<name>name</name>
- <cstring>rfcommBindButton</cstring>
+ <cstring>passkeyLine</cstring>
</property>
<property stdset="1">
- <name>text</name>
- <string>Rfcomm Bind Table</string>
+ <name>echoMode</name>
+ <enum>Password</enum>
</property>
</widget>
- </vbox>
+ </grid>
+ </widget>
+ </grid>
</widget>
<widget>
<class>QWidget</class>
@@ -419,7 +357,7 @@
<vbox>
<property stdset="1">
<name>margin</name>
- <number>2</number>
+ <number>4</number>
</property>
<property stdset="1">
<name>spacing</name>
@@ -439,6 +377,6 @@
</vbox>
</widget>
</widget>
- </vbox>
+ </grid>
</widget>
</UI>
diff --git a/noncore/net/opietooth/manager/devicedialog.ui b/noncore/net/opietooth/manager/devicedialog.ui
index e5750ed..2ecfd4c 100644
--- a/noncore/net/opietooth/manager/devicedialog.ui
+++ b/noncore/net/opietooth/manager/devicedialog.ui
@@ -11,48 +11,40 @@
<rect>
<x>0</x>
<y>0</y>
- <width>584</width>
- <height>480</height>
+ <width>275</width>
+ <height>323</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Form2</string>
</property>
- <widget>
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel4</cstring>
+ <property>
+ <name>layoutMargin</name>
+ </property>
+ <property>
+ <name>layoutSpacing</name>
</property>
+ <grid>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>0</x>
- <y>0</y>
- <width>170</width>
- <height>20</height>
- </rect>
+ <name>margin</name>
+ <number>6</number>
</property>
<property stdset="1">
- <name>text</name>
- <string>Devicename</string>
+ <name>spacing</name>
+ <number>3</number>
</property>
- </widget>
- <widget>
+ <widget row="0" column="0" >
<class>QTabWidget</class>
<property stdset="1">
<name>name</name>
<cstring>TabWidget7</cstring>
</property>
- <property stdset="1">
- <name>geometry</name>
- <rect>
- <x>-10</x>
- <y>0</y>
- <width>240</width>
- <height>320</height>
- </rect>
+ <property>
+ <name>layoutMargin</name>
+ </property>
+ <property>
+ <name>layoutSpacing</name>
</property>
<widget>
<class>QWidget</class>
@@ -64,27 +56,27 @@
<name>title</name>
<string>Services</string>
</attribute>
- <widget>
+ <grid>
+ <property stdset="1">
+ <name>margin</name>
+ <number>4</number>
+ </property>
+ <property stdset="1">
+ <name>spacing</name>
+ <number>3</number>
+ </property>
+ <widget row="1" column="0" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>PushButton5</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>50</x>
- <y>200</y>
- <width>129</width>
- <height>31</height>
- </rect>
- </property>
- <property stdset="1">
<name>text</name>
- <string>change settings</string>
+ <string>&amp;Apply Changes</string>
</property>
</widget>
- <widget>
+ <widget row="0" column="0" >
<class>QListView</class>
<column>
<property>
@@ -118,16 +110,8 @@
<name>name</name>
<cstring>ListView1</cstring>
</property>
- <property stdset="1">
- <name>geometry</name>
- <rect>
- <x>10</x>
- <y>10</y>
- <width>220</width>
- <height>180</height>
- </rect>
- </property>
</widget>
+ </grid>
</widget>
<widget>
<class>QWidget</class>
@@ -139,80 +123,73 @@
<name>title</name>
<string>Settings</string>
</attribute>
- <widget>
- <class>QLabel</class>
+ <grid>
<property stdset="1">
- <name>name</name>
- <cstring>TextLabel5</cstring>
+ <name>margin</name>
+ <number>4</number>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>10</x>
- <y>0</y>
- <width>110</width>
- <height>50</height>
- </rect>
+ <name>spacing</name>
+ <number>3</number>
</property>
- <property stdset="1">
- <name>text</name>
- <string>Change device
-name</string>
- </property>
- </widget>
- <widget>
+ <widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel8</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>8</x>
- <y>53</y>
- <width>100</width>
- <height>40</height>
- </rect>
- </property>
- <property stdset="1">
<name>text</name>
- <string>Default PIN
-Code</string>
+ <string>Default PIN Code</string>
</property>
</widget>
- <widget>
+ <widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
- <cstring>LineEdit1</cstring>
+ <cstring>LineEdit6</cstring>
</property>
+ </widget>
+ <widget row="0" column="1" >
+ <class>QLineEdit</class>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>120</x>
- <y>10</y>
- <width>110</width>
- <height>22</height>
- </rect>
+ <name>name</name>
+ <cstring>LineEdit1</cstring>
</property>
</widget>
- <widget>
- <class>QLineEdit</class>
+ <widget row="0" column="0" >
+ <class>QLabel</class>
<property stdset="1">
<name>name</name>
- <cstring>LineEdit6</cstring>
+ <cstring>TextLabel5</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>120</x>
- <y>50</y>
- <width>110</width>
- <height>22</height>
- </rect>
+ <name>text</name>
+ <string>Change device name</string>
</property>
</widget>
+ <spacer row="2" column="0" >
+ <property>
+ <name>name</name>
+ <cstring>Spacer1</cstring>
+ </property>
+ <property stdset="1">
+ <name>orientation</name>
+ <enum>Vertical</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>
+ </grid>
</widget>
<widget>
<class>QWidget</class>
@@ -224,27 +201,29 @@ Code</string>
<name>title</name>
<string>Information</string>
</attribute>
- <widget>
+ <grid>
+ <property stdset="1">
+ <name>margin</name>
+ <number>4</number>
+ </property>
+ <property stdset="1">
+ <name>spacing</name>
+ <number>2</number>
+ </property>
+ <widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>DeviceInfoLabel</cstring>
</property>
<property stdset="1">
- <name>geometry</name>
- <rect>
- <x>18</x>
- <y>13</y>
- <width>210</width>
- <height>230</height>
- </rect>
- </property>
- <property stdset="1">
<name>text</name>
<string>TextLabel9</string>
</property>
</widget>
+ </grid>
</widget>
</widget>
+ </grid>
</widget>
</UI>