author | alwin <alwin> | 2005-03-07 17:43:40 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-07 17:43:40 (UTC) |
commit | b9b5ec22a5969c57a2e2b940faf42ae6f9fd74d2 (patch) (side-by-side diff) | |
tree | 4f93456e3f1d4bb9334bccf0e97c04c51d7b2133 /noncore/settings/networksettings/mainwindow/mainwindow.ui | |
parent | 5ab00b78b199b1a03d3f27faa8b1dcffd9a86ff7 (diff) | |
download | opie-b9b5ec22a5969c57a2e2b940faf42ae6f9fd74d2.zip opie-b9b5ec22a5969c57a2e2b940faf42ae6f9fd74d2.tar.gz opie-b9b5ec22a5969c57a2e2b940faf42ae6f9fd74d2.tar.bz2 |
let users set hostname via dialog. the same name will set as
IRDA name so user can give their personal device a personal
name. ;)
ToDO: fixup init scripts in OE so hostname will set on startup
into IRDA name
Diffstat (limited to 'noncore/settings/networksettings/mainwindow/mainwindow.ui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindow/mainwindow.ui | 104 |
1 files changed, 103 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindow/mainwindow.ui b/noncore/settings/networksettings/mainwindow/mainwindow.ui index a730dd5..185b345 100644 --- a/noncore/settings/networksettings/mainwindow/mainwindow.ui +++ b/noncore/settings/networksettings/mainwindow/mainwindow.ui @@ -12,5 +12,5 @@ <x>0</x> <y>0</y> - <width>240</width> + <width>340</width> <height>289</height> </rect> @@ -42,4 +42,7 @@ <name>layoutMargin</name> </property> + <property> + <name>layoutSpacing</name> + </property> <widget> <class>QWidget</class> @@ -433,7 +436,106 @@ </grid> </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>devicenametab</cstring> + </property> + <attribute> + <name>title</name> + <string>Device name</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>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>m_NameHead</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string><b>Name of the device</b></string> + </property> + </widget> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>m_Nameinput</cstring> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>m_setButton</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Set value</string> + </property> + </widget> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>m_Infolabel</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>3</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>The name here is that one your device identifying with on +console or infrared.</string> + </property> + </widget> + <spacer> + <property> + <name>name</name> + <cstring>Spacer5</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> + </vbox> + </widget> </widget> </vbox> </widget> +<connections> + <connection> + <sender>m_setButton</sender> + <signal>clicked()</signal> + <receiver>MainWindow</receiver> + <slot>setHostname()</slot> + </connection> + <slot access="protected">setHostname()</slot> +</connections> <tabstops> <tabstop>tabWidget</tabstop> |