3 files changed, 26 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogbase.ui b/noncore/net/opietooth/manager/rfcommassigndialogbase.ui index ac574a7..04bda8f 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogbase.ui +++ b/noncore/net/opietooth/manager/rfcommassigndialogbase.ui | |||
@@ -11,22 +11,35 @@ | |||
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>289</width> | 14 | <width>361</width> |
15 | <height>343</height> | 15 | <height>343</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>sizePolicy</name> | ||
20 | <sizepolicy> | ||
21 | <hsizetype>7</hsizetype> | ||
22 | <vsizetype>7</vsizetype> | ||
23 | </sizepolicy> | ||
24 | </property> | ||
25 | <property stdset="1"> | ||
19 | <name>caption</name> | 26 | <name>caption</name> |
20 | <string>Rfcomm Bind</string> | 27 | <string>Rfcomm Bind</string> |
21 | </property> | 28 | </property> |
29 | <property> | ||
30 | <name>layoutMargin</name> | ||
31 | </property> | ||
32 | <property> | ||
33 | <name>layoutSpacing</name> | ||
34 | </property> | ||
22 | <vbox> | 35 | <vbox> |
23 | <property stdset="1"> | 36 | <property stdset="1"> |
24 | <name>margin</name> | 37 | <name>margin</name> |
25 | <number>11</number> | 38 | <number>4</number> |
26 | </property> | 39 | </property> |
27 | <property stdset="1"> | 40 | <property stdset="1"> |
28 | <name>spacing</name> | 41 | <name>spacing</name> |
29 | <number>6</number> | 42 | <number>4</number> |
30 | </property> | 43 | </property> |
31 | <widget> | 44 | <widget> |
32 | <class>QLabel</class> | 45 | <class>QLabel</class> |
@@ -35,6 +48,13 @@ | |||
35 | <cstring>TextLabel1</cstring> | 48 | <cstring>TextLabel1</cstring> |
36 | </property> | 49 | </property> |
37 | <property stdset="1"> | 50 | <property stdset="1"> |
51 | <name>sizePolicy</name> | ||
52 | <sizepolicy> | ||
53 | <hsizetype>7</hsizetype> | ||
54 | <vsizetype>7</vsizetype> | ||
55 | </sizepolicy> | ||
56 | </property> | ||
57 | <property stdset="1"> | ||
38 | <name>text</name> | 58 | <name>text</name> |
39 | <string>Bind device to a interface</string> | 59 | <string>Bind device to a interface</string> |
40 | </property> | 60 | </property> |
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp index 3fe2ea6..be720b8 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp +++ b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp | |||
@@ -60,6 +60,8 @@ void RfcommAssignDialog::newDevice( const QString & mac ) | |||
60 | if ( it == confHandler->foundEntries().end() ) | 60 | if ( it == confHandler->foundEntries().end() ) |
61 | { | 61 | { |
62 | QDialog dialog( this, "newdevice", true, WStyle_ContextHelp ); | 62 | QDialog dialog( this, "newdevice", true, WStyle_ContextHelp ); |
63 | dialog.setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, | ||
64 | (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth())); | ||
63 | 65 | ||
64 | RfcommDialogItem *newDev = new RfcommDialogItem( &dialog ); | 66 | RfcommDialogItem *newDev = new RfcommDialogItem( &dialog ); |
65 | newDev->setIdent( i ); | 67 | newDev->setIdent( i ); |
diff --git a/noncore/net/opietooth/manager/rfcommdialogitembase.ui b/noncore/net/opietooth/manager/rfcommdialogitembase.ui index f9817df..dd8f121 100644 --- a/noncore/net/opietooth/manager/rfcommdialogitembase.ui +++ b/noncore/net/opietooth/manager/rfcommdialogitembase.ui | |||
@@ -11,7 +11,7 @@ | |||
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>289</width> | 14 | <width>239</width> |
15 | <height>95</height> | 15 | <height>95</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |