author | alwin <alwin> | 2005-03-07 17:43:40 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-07 17:43:40 (UTC) |
commit | b9b5ec22a5969c57a2e2b940faf42ae6f9fd74d2 (patch) (unidiff) | |
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 @@ | |||
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>240</width> | 14 | <width>340</width> |
15 | <height>289</height> | 15 | <height>289</height> |
16 | </rect> | 16 | </rect> |
@@ -42,4 +42,7 @@ | |||
42 | <name>layoutMargin</name> | 42 | <name>layoutMargin</name> |
43 | </property> | 43 | </property> |
44 | <property> | ||
45 | <name>layoutSpacing</name> | ||
46 | </property> | ||
44 | <widget> | 47 | <widget> |
45 | <class>QWidget</class> | 48 | <class>QWidget</class> |
@@ -433,7 +436,106 @@ | |||
433 | </grid> | 436 | </grid> |
434 | </widget> | 437 | </widget> |
438 | <widget> | ||
439 | <class>QWidget</class> | ||
440 | <property stdset="1"> | ||
441 | <name>name</name> | ||
442 | <cstring>devicenametab</cstring> | ||
443 | </property> | ||
444 | <attribute> | ||
445 | <name>title</name> | ||
446 | <string>Device name</string> | ||
447 | </attribute> | ||
448 | <vbox> | ||
449 | <property stdset="1"> | ||
450 | <name>margin</name> | ||
451 | <number>11</number> | ||
452 | </property> | ||
453 | <property stdset="1"> | ||
454 | <name>spacing</name> | ||
455 | <number>6</number> | ||
456 | </property> | ||
457 | <widget> | ||
458 | <class>QLabel</class> | ||
459 | <property stdset="1"> | ||
460 | <name>name</name> | ||
461 | <cstring>m_NameHead</cstring> | ||
462 | </property> | ||
463 | <property stdset="1"> | ||
464 | <name>text</name> | ||
465 | <string><b>Name of the device</b></string> | ||
466 | </property> | ||
467 | </widget> | ||
468 | <widget> | ||
469 | <class>QLineEdit</class> | ||
470 | <property stdset="1"> | ||
471 | <name>name</name> | ||
472 | <cstring>m_Nameinput</cstring> | ||
473 | </property> | ||
474 | </widget> | ||
475 | <widget> | ||
476 | <class>QPushButton</class> | ||
477 | <property stdset="1"> | ||
478 | <name>name</name> | ||
479 | <cstring>m_setButton</cstring> | ||
480 | </property> | ||
481 | <property stdset="1"> | ||
482 | <name>text</name> | ||
483 | <string>Set value</string> | ||
484 | </property> | ||
485 | </widget> | ||
486 | <widget> | ||
487 | <class>QLabel</class> | ||
488 | <property stdset="1"> | ||
489 | <name>name</name> | ||
490 | <cstring>m_Infolabel</cstring> | ||
491 | </property> | ||
492 | <property stdset="1"> | ||
493 | <name>sizePolicy</name> | ||
494 | <sizepolicy> | ||
495 | <hsizetype>3</hsizetype> | ||
496 | <vsizetype>3</vsizetype> | ||
497 | </sizepolicy> | ||
498 | </property> | ||
499 | <property stdset="1"> | ||
500 | <name>text</name> | ||
501 | <string>The name here is that one your device identifying with on | ||
502 | console or infrared.</string> | ||
503 | </property> | ||
504 | </widget> | ||
505 | <spacer> | ||
506 | <property> | ||
507 | <name>name</name> | ||
508 | <cstring>Spacer5</cstring> | ||
509 | </property> | ||
510 | <property stdset="1"> | ||
511 | <name>orientation</name> | ||
512 | <enum>Vertical</enum> | ||
513 | </property> | ||
514 | <property stdset="1"> | ||
515 | <name>sizeType</name> | ||
516 | <enum>Expanding</enum> | ||
517 | </property> | ||
518 | <property> | ||
519 | <name>sizeHint</name> | ||
520 | <size> | ||
521 | <width>20</width> | ||
522 | <height>20</height> | ||
523 | </size> | ||
524 | </property> | ||
525 | </spacer> | ||
526 | </vbox> | ||
527 | </widget> | ||
435 | </widget> | 528 | </widget> |
436 | </vbox> | 529 | </vbox> |
437 | </widget> | 530 | </widget> |
531 | <connections> | ||
532 | <connection> | ||
533 | <sender>m_setButton</sender> | ||
534 | <signal>clicked()</signal> | ||
535 | <receiver>MainWindow</receiver> | ||
536 | <slot>setHostname()</slot> | ||
537 | </connection> | ||
538 | <slot access="protected">setHostname()</slot> | ||
539 | </connections> | ||
438 | <tabstops> | 540 | <tabstops> |
439 | <tabstop>tabWidget</tabstop> | 541 | <tabstop>tabWidget</tabstop> |