author | treke <treke> | 2002-10-25 03:11:05 (UTC) |
---|---|---|
committer | treke <treke> | 2002-10-25 03:11:05 (UTC) |
commit | ff9b13c8c312d0a385770d7742530e526e19117e (patch) (unidiff) | |
tree | 786fa405daf0a6693ab91c3b91850de328da66c2 | |
parent | a8b95086dd331c67c728a346f56416c355142758 (diff) | |
download | opie-ff9b13c8c312d0a385770d7742530e526e19117e.zip opie-ff9b13c8c312d0a385770d7742530e526e19117e.tar.gz opie-ff9b13c8c312d0a385770d7742530e526e19117e.tar.bz2 |
Added QWhatsThis's
-rw-r--r-- | noncore/comm/keypebble/kvnc.cpp | 4 | ||||
-rw-r--r-- | noncore/comm/keypebble/kvncbookmarkdlgbase.ui | 6 | ||||
-rw-r--r-- | noncore/comm/keypebble/kvncconndlg.cpp | 2 | ||||
-rw-r--r-- | noncore/comm/keypebble/kvncconndlgbase.ui | 42 |
4 files changed, 49 insertions, 5 deletions
diff --git a/noncore/comm/keypebble/kvnc.cpp b/noncore/comm/keypebble/kvnc.cpp index b173004..ef57366 100644 --- a/noncore/comm/keypebble/kvnc.cpp +++ b/noncore/comm/keypebble/kvnc.cpp | |||
@@ -35,97 +35,97 @@ static int get_unique_id() | |||
35 | 35 | ||
36 | /* XPM */ | 36 | /* XPM */ |
37 | static char * menu_xpm[] = { | 37 | static char * menu_xpm[] = { |
38 | "12 12 5 1", | 38 | "12 12 5 1", |
39 | " c None", | 39 | " c None", |
40 | ".c #000000", | 40 | ".c #000000", |
41 | "+c #FFFDAD", | 41 | "+c #FFFDAD", |
42 | "@c #FFFF00", | 42 | "@c #FFFF00", |
43 | "#c #E5E100", | 43 | "#c #E5E100", |
44 | " ", | 44 | " ", |
45 | " ", | 45 | " ", |
46 | " ......... ", | 46 | " ......... ", |
47 | " .+++++++. ", | 47 | " .+++++++. ", |
48 | " .+@@@@#. ", | 48 | " .+@@@@#. ", |
49 | " .+@@@#. ", | 49 | " .+@@@#. ", |
50 | " .+@@#. ", | 50 | " .+@@#. ", |
51 | " .+@#. ", | 51 | " .+@#. ", |
52 | " .+#. ", | 52 | " .+#. ", |
53 | " .+. ", | 53 | " .+. ", |
54 | " .. ", | 54 | " .. ", |
55 | " "}; | 55 | " "}; |
56 | 56 | ||
57 | const int StatusTextId = 0; | 57 | const int StatusTextId = 0; |
58 | 58 | ||
59 | KVNC::KVNC( const char *name ) : QMainWindow( 0, name ) | 59 | KVNC::KVNC( const char *name ) : QMainWindow( 0, name ,WStyle_ContextHelp) |
60 | { | 60 | { |
61 | setCaption( tr("VNC Viewer") ); | 61 | setCaption( tr("VNC Viewer") ); |
62 | fullscreen = false; | 62 | fullscreen = false; |
63 | 63 | ||
64 | stack = new QWidgetStack( this ); | 64 | stack = new QWidgetStack( this ); |
65 | setCentralWidget( stack ); | 65 | setCentralWidget( stack ); |
66 | 66 | ||
67 | bookmarkSelector=new KVNCBookmarkDlg(); | 67 | bookmarkSelector=new KVNCBookmarkDlg(); |
68 | stack->addWidget(bookmarkSelector,get_unique_id()); | 68 | stack->addWidget(bookmarkSelector,get_unique_id()); |
69 | stack->raiseWidget( bookmarkSelector ); | 69 | stack->raiseWidget( bookmarkSelector ); |
70 | 70 | ||
71 | canvas = new KRFBCanvas( stack, "canvas" ); | 71 | canvas = new KRFBCanvas( stack, "canvas" ); |
72 | stack->addWidget(canvas,get_unique_id()); | 72 | stack->addWidget(canvas,get_unique_id()); |
73 | setCentralWidget( stack ); | 73 | setCentralWidget( stack ); |
74 | 74 | ||
75 | 75 | ||
76 | connect( bookmarkSelector->bookmarkList, SIGNAL(doubleClicked(QListBoxItem *)), | 76 | connect( bookmarkSelector->bookmarkList, SIGNAL(doubleClicked(QListBoxItem *)), |
77 | this, SLOT(openConnection(QListBoxItem *)) ); | 77 | this, SLOT(openConnection(QListBoxItem *)) ); |
78 | connect( canvas->connection(), SIGNAL(statusChanged(const QString &)), | 78 | connect( canvas->connection(), SIGNAL(statusChanged(const QString &)), |
79 | this, SLOT(statusMessage(const QString &)) ); | 79 | this, SLOT(statusMessage(const QString &)) ); |
80 | connect( canvas->connection(), SIGNAL(error(const QString &)), | 80 | connect( canvas->connection(), SIGNAL(error(const QString &)), |
81 | this, SLOT(error(const QString &)) ); | 81 | this, SLOT(error(const QString &)) ); |
82 | connect( canvas->connection(), SIGNAL(connected()), this, SLOT(connected()) ); | 82 | connect( canvas->connection(), SIGNAL(connected()), this, SLOT(connected()) ); |
83 | connect( canvas->connection(), SIGNAL(loggedIn()), this, SLOT(loggedIn()) ); | 83 | connect( canvas->connection(), SIGNAL(loggedIn()), this, SLOT(loggedIn()) ); |
84 | connect( canvas->connection(), SIGNAL(disconnected()), this, SLOT(disconnected()) ); | 84 | connect( canvas->connection(), SIGNAL(disconnected()), this, SLOT(disconnected()) ); |
85 | 85 | ||
86 | setupActions(); | 86 | setupActions(); |
87 | 87 | ||
88 | cornerButton = new QPushButton( this ); | 88 | cornerButton = new QPushButton( this ); |
89 | cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); | 89 | cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); |
90 | connect( cornerButton, SIGNAL(pressed()), this, SLOT(showMenu()) ); | 90 | connect( cornerButton, SIGNAL(pressed()), this, SLOT(showMenu()) ); |
91 | canvas->setCornerWidget( cornerButton ); | 91 | canvas->setCornerWidget( cornerButton ); |
92 | 92 | ||
93 | stack->raiseWidget( bookmarkSelector ); | 93 | stack->raiseWidget( bookmarkSelector ); |
94 | 94 | ||
95 | 95 | ||
96 | bar= new QToolBar( this ); | 96 | bar= new QToolBar( this ); |
97 | setToolBarsMovable( false ); | 97 | setToolBarsMovable( false ); |
98 | setRightJustification(false); | 98 | setRightJustification(false); |
99 | 99 | ||
100 | 100 | ||
101 | QAction *n = new QAction( tr( "New Connection" ), Resource::loadPixmap( "new" ), | 101 | QAction *n = new QAction( tr( "New Connection" ), Resource::loadPixmap( "new" ), |
102 | QString::null, 0, this, 0 ); | 102 | QString::null, 0, this, 0 ); |
103 | connect( n, SIGNAL( activated() ), | 103 | connect( n, SIGNAL( activated() ), |
104 | this, SLOT( newConnection() ) ); | 104 | this, SLOT( newConnection() ) ); |
105 | n->addTo( bar ); | 105 | n->addTo( bar ); |
106 | 106 | ||
107 | QAction *o = new QAction( tr( "Open Bookmark" ), Resource::loadPixmap( "edit" ), | 107 | QAction *o = new QAction( tr( "Open Bookmark" ), Resource::loadPixmap( "fileopen" ), |
108 | QString::null, 0, this, 0 ); | 108 | QString::null, 0, this, 0 ); |
109 | connect( o, SIGNAL( activated() ), | 109 | connect( o, SIGNAL( activated() ), |
110 | this, SLOT( openConnection() ) ); | 110 | this, SLOT( openConnection() ) ); |
111 | o->addTo( bar ); | 111 | o->addTo( bar ); |
112 | 112 | ||
113 | QAction *d = new QAction( tr( "Delete Bookmark" ), Resource::loadPixmap( "trash" ), | 113 | QAction *d = new QAction( tr( "Delete Bookmark" ), Resource::loadPixmap( "trash" ), |
114 | QString::null, 0, this, 0 ); | 114 | QString::null, 0, this, 0 ); |
115 | connect( d, SIGNAL( activated() ), | 115 | connect( d, SIGNAL( activated() ), |
116 | this, SLOT( deleteBookmark() ) ); | 116 | this, SLOT( deleteBookmark() ) ); |
117 | d->addTo( bar ); | 117 | d->addTo( bar ); |
118 | } | 118 | } |
119 | 119 | ||
120 | KVNC::~KVNC() | 120 | KVNC::~KVNC() |
121 | { | 121 | { |
122 | 122 | ||
123 | } | 123 | } |
124 | 124 | ||
125 | void KVNC::newConnection() | 125 | void KVNC::newConnection() |
126 | { | 126 | { |
127 | curServer=new KRFBServer; | 127 | curServer=new KRFBServer; |
128 | 128 | ||
129 | KVNCConnDlg dlg( curServer,this); | 129 | KVNCConnDlg dlg( curServer,this); |
130 | dlg.showMaximized(); | 130 | dlg.showMaximized(); |
131 | if (dlg.exec()) { | 131 | if (dlg.exec()) { |
diff --git a/noncore/comm/keypebble/kvncbookmarkdlgbase.ui b/noncore/comm/keypebble/kvncbookmarkdlgbase.ui index 45114cb..69d8a14 100644 --- a/noncore/comm/keypebble/kvncbookmarkdlgbase.ui +++ b/noncore/comm/keypebble/kvncbookmarkdlgbase.ui | |||
@@ -1,57 +1,61 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>KVNCBookmarkDlgBase</class> | 2 | <class>KVNCBookmarkDlgBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QWidget</class> | 4 | <class>QWidget</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>KVNCBookmarkDlgBase</cstring> | 7 | <cstring>KVNCBookmarkDlgBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>584</width> | 14 | <width>580</width> |
15 | <height>480</height> | 15 | <height>480</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Bookmarks</string> | 20 | <string>Bookmarks</string> |
21 | </property> | 21 | </property> |
22 | <vbox> | 22 | <vbox> |
23 | <property stdset="1"> | 23 | <property stdset="1"> |
24 | <name>margin</name> | 24 | <name>margin</name> |
25 | <number>11</number> | 25 | <number>11</number> |
26 | </property> | 26 | </property> |
27 | <property stdset="1"> | 27 | <property stdset="1"> |
28 | <name>spacing</name> | 28 | <name>spacing</name> |
29 | <number>6</number> | 29 | <number>6</number> |
30 | </property> | 30 | </property> |
31 | <widget> | 31 | <widget> |
32 | <class>QListBox</class> | 32 | <class>QListBox</class> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>name</name> | 34 | <name>name</name> |
35 | <cstring>bookmarkList</cstring> | 35 | <cstring>bookmarkList</cstring> |
36 | </property> | 36 | </property> |
37 | <property> | ||
38 | <name>whatsThis</name> | ||
39 | <string>Choose a bookmark that you would like to open</string> | ||
40 | </property> | ||
37 | </widget> | 41 | </widget> |
38 | <widget> | 42 | <widget> |
39 | <class>QLayoutWidget</class> | 43 | <class>QLayoutWidget</class> |
40 | <property stdset="1"> | 44 | <property stdset="1"> |
41 | <name>name</name> | 45 | <name>name</name> |
42 | <cstring>Layout1</cstring> | 46 | <cstring>Layout1</cstring> |
43 | </property> | 47 | </property> |
44 | <hbox> | 48 | <hbox> |
45 | <property stdset="1"> | 49 | <property stdset="1"> |
46 | <name>margin</name> | 50 | <name>margin</name> |
47 | <number>0</number> | 51 | <number>0</number> |
48 | </property> | 52 | </property> |
49 | <property stdset="1"> | 53 | <property stdset="1"> |
50 | <name>spacing</name> | 54 | <name>spacing</name> |
51 | <number>6</number> | 55 | <number>6</number> |
52 | </property> | 56 | </property> |
53 | </hbox> | 57 | </hbox> |
54 | </widget> | 58 | </widget> |
55 | </vbox> | 59 | </vbox> |
56 | </widget> | 60 | </widget> |
57 | </UI> | 61 | </UI> |
diff --git a/noncore/comm/keypebble/kvncconndlg.cpp b/noncore/comm/keypebble/kvncconndlg.cpp index 2f073f8..cd55bb0 100644 --- a/noncore/comm/keypebble/kvncconndlg.cpp +++ b/noncore/comm/keypebble/kvncconndlg.cpp | |||
@@ -1,42 +1,42 @@ | |||
1 | #include <qframe.h> | 1 | #include <qframe.h> |
2 | #include <qvbox.h> | 2 | #include <qvbox.h> |
3 | #include <qcheckbox.h> | 3 | #include <qcheckbox.h> |
4 | #include <qcombobox.h> | 4 | #include <qcombobox.h> |
5 | #include <qspinbox.h> | 5 | #include <qspinbox.h> |
6 | #include <qlabel.h> | 6 | #include <qlabel.h> |
7 | #include <qlayout.h> | 7 | #include <qlayout.h> |
8 | #include <qwhatsthis.h> | 8 | #include <qwhatsthis.h> |
9 | #include <qapplication.h> | 9 | #include <qapplication.h> |
10 | #include <qlineedit.h> | 10 | #include <qlineedit.h> |
11 | #include <qpushbutton.h> | 11 | #include <qpushbutton.h> |
12 | #include "krfbserver.h" | 12 | #include "krfbserver.h" |
13 | 13 | ||
14 | #include "kvncconndlg.h" | 14 | #include "kvncconndlg.h" |
15 | 15 | ||
16 | KVNCConnDlg::KVNCConnDlg( KRFBServer *options, | 16 | KVNCConnDlg::KVNCConnDlg( KRFBServer *options, |
17 | QWidget *parent, char *name, bool modal ) | 17 | QWidget *parent, char *name, bool modal ) |
18 | : KVNCConnDlgBase( parent, name, modal ) | 18 | : KVNCConnDlgBase( parent, name, modal, WStyle_ContextHelp ) |
19 | { | 19 | { |
20 | this->options=options; | 20 | this->options=options; |
21 | tmpOptions=*options; | 21 | tmpOptions=*options; |
22 | 22 | ||
23 | serverHostname->setText(options->hostname); | 23 | serverHostname->setText(options->hostname); |
24 | serverDisplay->setValue(options->display); | 24 | serverDisplay->setValue(options->display); |
25 | serverPassword->setText(options->password); | 25 | serverPassword->setText(options->password); |
26 | serverBookmark->setText(options->name); | 26 | serverBookmark->setText(options->name); |
27 | 27 | ||
28 | hex->setChecked( options->hexTile ); | 28 | hex->setChecked( options->hexTile ); |
29 | corre->setChecked( options->corre ); | 29 | corre->setChecked( options->corre ); |
30 | rre->setChecked( options->rre ); | 30 | rre->setChecked( options->rre ); |
31 | copyRect->setChecked( options->copyrect ); | 31 | copyRect->setChecked( options->copyrect ); |
32 | 32 | ||
33 | for (int i=0; i < scaleFactor->count(); ++i) { | 33 | for (int i=0; i < scaleFactor->count(); ++i) { |
34 | if (scaleFactor->text(i).toInt()==tmpOptions.scaleFactor) { | 34 | if (scaleFactor->text(i).toInt()==tmpOptions.scaleFactor) { |
35 | scaleFactor->setCurrentItem(i); | 35 | scaleFactor->setCurrentItem(i); |
36 | } | 36 | } |
37 | } | 37 | } |
38 | 38 | ||
39 | // TODO | 39 | // TODO |
40 | hex->setEnabled( false ); | 40 | hex->setEnabled( false ); |
41 | corre->setEnabled( false ); | 41 | corre->setEnabled( false ); |
42 | rre->setEnabled( false ); | 42 | rre->setEnabled( false ); |
diff --git a/noncore/comm/keypebble/kvncconndlgbase.ui b/noncore/comm/keypebble/kvncconndlgbase.ui index 42765c1..de3f785 100644 --- a/noncore/comm/keypebble/kvncconndlgbase.ui +++ b/noncore/comm/keypebble/kvncconndlgbase.ui | |||
@@ -1,38 +1,38 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>KVNCConnDlgBase</class> | 2 | <class>KVNCConnDlgBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>KVNCConnDlgBase</cstring> | 7 | <cstring>KVNCConnDlgBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>260</width> | 14 | <width>256</width> |
15 | <height>242</height> | 15 | <height>242</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>VNC Viewer Connection</string> | 20 | <string>VNC Viewer Connection</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <widget> | 25 | <widget> |
26 | <class>QTabWidget</class> | 26 | <class>QTabWidget</class> |
27 | <property stdset="1"> | 27 | <property stdset="1"> |
28 | <name>name</name> | 28 | <name>name</name> |
29 | <cstring>TabWidget3</cstring> | 29 | <cstring>TabWidget3</cstring> |
30 | </property> | 30 | </property> |
31 | <property stdset="1"> | 31 | <property stdset="1"> |
32 | <name>geometry</name> | 32 | <name>geometry</name> |
33 | <rect> | 33 | <rect> |
34 | <x>0</x> | 34 | <x>0</x> |
35 | <y>0</y> | 35 | <y>0</y> |
36 | <width>266</width> | 36 | <width>266</width> |
37 | <height>233</height> | 37 | <height>233</height> |
38 | </rect> | 38 | </rect> |
@@ -49,136 +49,156 @@ | |||
49 | </attribute> | 49 | </attribute> |
50 | <grid> | 50 | <grid> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>margin</name> | 52 | <name>margin</name> |
53 | <number>11</number> | 53 | <number>11</number> |
54 | </property> | 54 | </property> |
55 | <property stdset="1"> | 55 | <property stdset="1"> |
56 | <name>spacing</name> | 56 | <name>spacing</name> |
57 | <number>6</number> | 57 | <number>6</number> |
58 | </property> | 58 | </property> |
59 | <widget row="2" column="1" rowspan="1" colspan="2" > | 59 | <widget row="2" column="1" rowspan="1" colspan="2" > |
60 | <class>QLineEdit</class> | 60 | <class>QLineEdit</class> |
61 | <property stdset="1"> | 61 | <property stdset="1"> |
62 | <name>name</name> | 62 | <name>name</name> |
63 | <cstring>serverPassword</cstring> | 63 | <cstring>serverPassword</cstring> |
64 | </property> | 64 | </property> |
65 | <property stdset="1"> | 65 | <property stdset="1"> |
66 | <name>autoMask</name> | 66 | <name>autoMask</name> |
67 | <bool>true</bool> | 67 | <bool>true</bool> |
68 | </property> | 68 | </property> |
69 | <property stdset="1"> | 69 | <property stdset="1"> |
70 | <name>echoMode</name> | 70 | <name>echoMode</name> |
71 | <enum>Password</enum> | 71 | <enum>Password</enum> |
72 | </property> | 72 | </property> |
73 | <property> | ||
74 | <name>whatsThis</name> | ||
75 | <string>The password of the VNC server</string> | ||
76 | </property> | ||
73 | </widget> | 77 | </widget> |
74 | <widget row="3" column="1" > | 78 | <widget row="3" column="1" > |
75 | <class>QCheckBox</class> | 79 | <class>QCheckBox</class> |
76 | <property stdset="1"> | 80 | <property stdset="1"> |
77 | <name>name</name> | 81 | <name>name</name> |
78 | <cstring>togglePassword</cstring> | 82 | <cstring>togglePassword</cstring> |
79 | </property> | 83 | </property> |
80 | <property stdset="1"> | 84 | <property stdset="1"> |
81 | <name>text</name> | 85 | <name>text</name> |
82 | <string>Show Password</string> | 86 | <string>Show Password</string> |
83 | </property> | 87 | </property> |
88 | <property> | ||
89 | <name>whatsThis</name> | ||
90 | <string>Toggle obscuring the password</string> | ||
91 | </property> | ||
84 | </widget> | 92 | </widget> |
85 | <widget row="2" column="0" > | 93 | <widget row="2" column="0" > |
86 | <class>QLabel</class> | 94 | <class>QLabel</class> |
87 | <property stdset="1"> | 95 | <property stdset="1"> |
88 | <name>name</name> | 96 | <name>name</name> |
89 | <cstring>TextLabel3</cstring> | 97 | <cstring>TextLabel3</cstring> |
90 | </property> | 98 | </property> |
91 | <property stdset="1"> | 99 | <property stdset="1"> |
92 | <name>text</name> | 100 | <name>text</name> |
93 | <string>Password:</string> | 101 | <string>Password:</string> |
94 | </property> | 102 | </property> |
95 | </widget> | 103 | </widget> |
96 | <widget row="4" column="1" rowspan="1" colspan="2" > | 104 | <widget row="4" column="1" rowspan="1" colspan="2" > |
97 | <class>QLineEdit</class> | 105 | <class>QLineEdit</class> |
98 | <property stdset="1"> | 106 | <property stdset="1"> |
99 | <name>name</name> | 107 | <name>name</name> |
100 | <cstring>serverBookmark</cstring> | 108 | <cstring>serverBookmark</cstring> |
101 | </property> | 109 | </property> |
110 | <property> | ||
111 | <name>whatsThis</name> | ||
112 | <string>The name of the VNC server</string> | ||
113 | </property> | ||
102 | </widget> | 114 | </widget> |
103 | <widget row="4" column="0" > | 115 | <widget row="4" column="0" > |
104 | <class>QLabel</class> | 116 | <class>QLabel</class> |
105 | <property stdset="1"> | 117 | <property stdset="1"> |
106 | <name>name</name> | 118 | <name>name</name> |
107 | <cstring>TextLabel1_2</cstring> | 119 | <cstring>TextLabel1_2</cstring> |
108 | </property> | 120 | </property> |
109 | <property stdset="1"> | 121 | <property stdset="1"> |
110 | <name>text</name> | 122 | <name>text</name> |
111 | <string>Bookmark Name:</string> | 123 | <string>Bookmark Name:</string> |
112 | </property> | 124 | </property> |
113 | </widget> | 125 | </widget> |
114 | <widget row="0" column="1" rowspan="1" colspan="2" > | 126 | <widget row="0" column="1" rowspan="1" colspan="2" > |
115 | <class>QLineEdit</class> | 127 | <class>QLineEdit</class> |
116 | <property stdset="1"> | 128 | <property stdset="1"> |
117 | <name>name</name> | 129 | <name>name</name> |
118 | <cstring>serverHostname</cstring> | 130 | <cstring>serverHostname</cstring> |
119 | </property> | 131 | </property> |
132 | <property> | ||
133 | <name>whatsThis</name> | ||
134 | <string>The host name of the VNC server</string> | ||
135 | </property> | ||
120 | </widget> | 136 | </widget> |
121 | <widget row="0" column="0" > | 137 | <widget row="0" column="0" > |
122 | <class>QLabel</class> | 138 | <class>QLabel</class> |
123 | <property stdset="1"> | 139 | <property stdset="1"> |
124 | <name>name</name> | 140 | <name>name</name> |
125 | <cstring>hostname</cstring> | 141 | <cstring>hostname</cstring> |
126 | </property> | 142 | </property> |
127 | <property stdset="1"> | 143 | <property stdset="1"> |
128 | <name>text</name> | 144 | <name>text</name> |
129 | <string>Host Name:</string> | 145 | <string>Host Name:</string> |
130 | </property> | 146 | </property> |
131 | </widget> | 147 | </widget> |
132 | <widget row="1" column="0" > | 148 | <widget row="1" column="0" > |
133 | <class>QLabel</class> | 149 | <class>QLabel</class> |
134 | <property stdset="1"> | 150 | <property stdset="1"> |
135 | <name>name</name> | 151 | <name>name</name> |
136 | <cstring>TextLabel2_2</cstring> | 152 | <cstring>TextLabel2_2</cstring> |
137 | </property> | 153 | </property> |
138 | <property stdset="1"> | 154 | <property stdset="1"> |
139 | <name>text</name> | 155 | <name>text</name> |
140 | <string>Display Number:</string> | 156 | <string>Display Number:</string> |
141 | </property> | 157 | </property> |
142 | </widget> | 158 | </widget> |
143 | <widget row="1" column="1" rowspan="1" colspan="2" > | 159 | <widget row="1" column="1" rowspan="1" colspan="2" > |
144 | <class>QSpinBox</class> | 160 | <class>QSpinBox</class> |
145 | <property stdset="1"> | 161 | <property stdset="1"> |
146 | <name>name</name> | 162 | <name>name</name> |
147 | <cstring>serverDisplay</cstring> | 163 | <cstring>serverDisplay</cstring> |
148 | </property> | 164 | </property> |
149 | <property stdset="1"> | 165 | <property stdset="1"> |
150 | <name>maxValue</name> | 166 | <name>maxValue</name> |
151 | <number>500</number> | 167 | <number>500</number> |
152 | </property> | 168 | </property> |
153 | <property stdset="1"> | 169 | <property stdset="1"> |
154 | <name>minValue</name> | 170 | <name>minValue</name> |
155 | <number>0</number> | 171 | <number>0</number> |
156 | </property> | 172 | </property> |
157 | <property stdset="1"> | 173 | <property stdset="1"> |
158 | <name>value</name> | 174 | <name>value</name> |
159 | <number>0</number> | 175 | <number>0</number> |
160 | </property> | 176 | </property> |
177 | <property> | ||
178 | <name>whatsThis</name> | ||
179 | <string>The display number of the VNC server</string> | ||
180 | </property> | ||
161 | </widget> | 181 | </widget> |
162 | <spacer row="5" column="2" > | 182 | <spacer row="5" column="2" > |
163 | <property> | 183 | <property> |
164 | <name>name</name> | 184 | <name>name</name> |
165 | <cstring>Spacer2</cstring> | 185 | <cstring>Spacer2</cstring> |
166 | </property> | 186 | </property> |
167 | <property stdset="1"> | 187 | <property stdset="1"> |
168 | <name>orientation</name> | 188 | <name>orientation</name> |
169 | <enum>Vertical</enum> | 189 | <enum>Vertical</enum> |
170 | </property> | 190 | </property> |
171 | <property stdset="1"> | 191 | <property stdset="1"> |
172 | <name>sizeType</name> | 192 | <name>sizeType</name> |
173 | <enum>Expanding</enum> | 193 | <enum>Expanding</enum> |
174 | </property> | 194 | </property> |
175 | <property> | 195 | <property> |
176 | <name>sizeHint</name> | 196 | <name>sizeHint</name> |
177 | <size> | 197 | <size> |
178 | <width>20</width> | 198 | <width>20</width> |
179 | <height>20</height> | 199 | <height>20</height> |
180 | </size> | 200 | </size> |
181 | </property> | 201 | </property> |
182 | </spacer> | 202 | </spacer> |
183 | </grid> | 203 | </grid> |
184 | </widget> | 204 | </widget> |
@@ -220,134 +240,150 @@ | |||
220 | </property> | 240 | </property> |
221 | <hbox> | 241 | <hbox> |
222 | <property stdset="1"> | 242 | <property stdset="1"> |
223 | <name>margin</name> | 243 | <name>margin</name> |
224 | <number>0</number> | 244 | <number>0</number> |
225 | </property> | 245 | </property> |
226 | <property stdset="1"> | 246 | <property stdset="1"> |
227 | <name>spacing</name> | 247 | <name>spacing</name> |
228 | <number>6</number> | 248 | <number>6</number> |
229 | </property> | 249 | </property> |
230 | <widget> | 250 | <widget> |
231 | <class>QSpinBox</class> | 251 | <class>QSpinBox</class> |
232 | <property stdset="1"> | 252 | <property stdset="1"> |
233 | <name>name</name> | 253 | <name>name</name> |
234 | <cstring>timeBox</cstring> | 254 | <cstring>timeBox</cstring> |
235 | </property> | 255 | </property> |
236 | <property stdset="1"> | 256 | <property stdset="1"> |
237 | <name>maxValue</name> | 257 | <name>maxValue</name> |
238 | <number>500</number> | 258 | <number>500</number> |
239 | </property> | 259 | </property> |
240 | <property stdset="1"> | 260 | <property stdset="1"> |
241 | <name>minValue</name> | 261 | <name>minValue</name> |
242 | <number>1</number> | 262 | <number>1</number> |
243 | </property> | 263 | </property> |
264 | <property> | ||
265 | <name>whatsThis</name> | ||
266 | <string>Delay between requesting updates from the server</string> | ||
267 | </property> | ||
244 | </widget> | 268 | </widget> |
245 | <widget> | 269 | <widget> |
246 | <class>QLabel</class> | 270 | <class>QLabel</class> |
247 | <property stdset="1"> | 271 | <property stdset="1"> |
248 | <name>name</name> | 272 | <name>name</name> |
249 | <cstring>TextLabel2</cstring> | 273 | <cstring>TextLabel2</cstring> |
250 | </property> | 274 | </property> |
251 | <property stdset="1"> | 275 | <property stdset="1"> |
252 | <name>text</name> | 276 | <name>text</name> |
253 | <string>Milliseconds</string> | 277 | <string>Milliseconds</string> |
254 | </property> | 278 | </property> |
255 | </widget> | 279 | </widget> |
256 | </hbox> | 280 | </hbox> |
257 | </widget> | 281 | </widget> |
258 | <widget> | 282 | <widget> |
259 | <class>QCheckBox</class> | 283 | <class>QCheckBox</class> |
260 | <property stdset="1"> | 284 | <property stdset="1"> |
261 | <name>name</name> | 285 | <name>name</name> |
262 | <cstring>bit</cstring> | 286 | <cstring>bit</cstring> |
263 | </property> | 287 | </property> |
264 | <property stdset="1"> | 288 | <property stdset="1"> |
265 | <name>text</name> | 289 | <name>text</name> |
266 | <string>Request 8-bit session</string> | 290 | <string>Request 8-bit session</string> |
267 | </property> | 291 | </property> |
292 | <property> | ||
293 | <name>whatsThis</name> | ||
294 | <string>Request that the VNC server transfer 8 bit color</string> | ||
295 | </property> | ||
268 | </widget> | 296 | </widget> |
269 | <widget> | 297 | <widget> |
270 | <class>QCheckBox</class> | 298 | <class>QCheckBox</class> |
271 | <property stdset="1"> | 299 | <property stdset="1"> |
272 | <name>name</name> | 300 | <name>name</name> |
273 | <cstring>deIconify</cstring> | 301 | <cstring>deIconify</cstring> |
274 | </property> | 302 | </property> |
275 | <property stdset="1"> | 303 | <property stdset="1"> |
276 | <name>text</name> | 304 | <name>text</name> |
277 | <string>Raise on bell</string> | 305 | <string>Raise on bell</string> |
278 | </property> | 306 | </property> |
279 | </widget> | 307 | </widget> |
280 | <widget> | 308 | <widget> |
281 | <class>QCheckBox</class> | 309 | <class>QCheckBox</class> |
282 | <property stdset="1"> | 310 | <property stdset="1"> |
283 | <name>name</name> | 311 | <name>name</name> |
284 | <cstring>shared</cstring> | 312 | <cstring>shared</cstring> |
285 | </property> | 313 | </property> |
286 | <property stdset="1"> | 314 | <property stdset="1"> |
287 | <name>text</name> | 315 | <name>text</name> |
288 | <string>Request shared session</string> | 316 | <string>Request shared session</string> |
289 | </property> | 317 | </property> |
318 | <property> | ||
319 | <name>whatsThis</name> | ||
320 | <string>Allow other users to connect to the VNC server</string> | ||
321 | </property> | ||
290 | </widget> | 322 | </widget> |
291 | <widget> | 323 | <widget> |
292 | <class>QLayoutWidget</class> | 324 | <class>QLayoutWidget</class> |
293 | <property stdset="1"> | 325 | <property stdset="1"> |
294 | <name>name</name> | 326 | <name>name</name> |
295 | <cstring>Layout3</cstring> | 327 | <cstring>Layout3</cstring> |
296 | </property> | 328 | </property> |
297 | <hbox> | 329 | <hbox> |
298 | <property stdset="1"> | 330 | <property stdset="1"> |
299 | <name>margin</name> | 331 | <name>margin</name> |
300 | <number>0</number> | 332 | <number>0</number> |
301 | </property> | 333 | </property> |
302 | <property stdset="1"> | 334 | <property stdset="1"> |
303 | <name>spacing</name> | 335 | <name>spacing</name> |
304 | <number>6</number> | 336 | <number>6</number> |
305 | </property> | 337 | </property> |
306 | <widget> | 338 | <widget> |
307 | <class>QComboBox</class> | 339 | <class>QComboBox</class> |
308 | <item> | 340 | <item> |
309 | <property> | 341 | <property> |
310 | <name>text</name> | 342 | <name>text</name> |
311 | <string>1</string> | 343 | <string>1</string> |
312 | </property> | 344 | </property> |
313 | </item> | 345 | </item> |
314 | <item> | 346 | <item> |
315 | <property> | 347 | <property> |
316 | <name>text</name> | 348 | <name>text</name> |
317 | <string>2</string> | 349 | <string>2</string> |
318 | </property> | 350 | </property> |
319 | </item> | 351 | </item> |
320 | <item> | 352 | <item> |
321 | <property> | 353 | <property> |
322 | <name>text</name> | 354 | <name>text</name> |
323 | <string>4</string> | 355 | <string>4</string> |
324 | </property> | 356 | </property> |
325 | </item> | 357 | </item> |
326 | <property stdset="1"> | 358 | <property stdset="1"> |
327 | <name>name</name> | 359 | <name>name</name> |
328 | <cstring>scaleFactor</cstring> | 360 | <cstring>scaleFactor</cstring> |
329 | </property> | 361 | </property> |
362 | <property> | ||
363 | <name>whatsThis</name> | ||
364 | <string>Scale the remote display to fit on the PDA (Slow)</string> | ||
365 | </property> | ||
330 | </widget> | 366 | </widget> |
331 | <widget> | 367 | <widget> |
332 | <class>QLabel</class> | 368 | <class>QLabel</class> |
333 | <property stdset="1"> | 369 | <property stdset="1"> |
334 | <name>name</name> | 370 | <name>name</name> |
335 | <cstring>TextLabel2_3</cstring> | 371 | <cstring>TextLabel2_3</cstring> |
336 | </property> | 372 | </property> |
337 | <property stdset="1"> | 373 | <property stdset="1"> |
338 | <name>text</name> | 374 | <name>text</name> |
339 | <string>Scale Factor</string> | 375 | <string>Scale Factor</string> |
340 | </property> | 376 | </property> |
341 | </widget> | 377 | </widget> |
342 | </hbox> | 378 | </hbox> |
343 | </widget> | 379 | </widget> |
344 | <spacer> | 380 | <spacer> |
345 | <property> | 381 | <property> |
346 | <name>name</name> | 382 | <name>name</name> |
347 | <cstring>Spacer2</cstring> | 383 | <cstring>Spacer2</cstring> |
348 | </property> | 384 | </property> |
349 | <property stdset="1"> | 385 | <property stdset="1"> |
350 | <name>orientation</name> | 386 | <name>orientation</name> |
351 | <enum>Vertical</enum> | 387 | <enum>Vertical</enum> |
352 | </property> | 388 | </property> |
353 | <property stdset="1"> | 389 | <property stdset="1"> |
@@ -417,48 +453,52 @@ | |||
417 | <class>QCheckBox</class> | 453 | <class>QCheckBox</class> |
418 | <property stdset="1"> | 454 | <property stdset="1"> |
419 | <name>name</name> | 455 | <name>name</name> |
420 | <cstring>rre</cstring> | 456 | <cstring>rre</cstring> |
421 | </property> | 457 | </property> |
422 | <property stdset="1"> | 458 | <property stdset="1"> |
423 | <name>enabled</name> | 459 | <name>enabled</name> |
424 | <bool>false</bool> | 460 | <bool>false</bool> |
425 | </property> | 461 | </property> |
426 | <property stdset="1"> | 462 | <property stdset="1"> |
427 | <name>text</name> | 463 | <name>text</name> |
428 | <string>RRE encoding</string> | 464 | <string>RRE encoding</string> |
429 | </property> | 465 | </property> |
430 | </widget> | 466 | </widget> |
431 | <widget> | 467 | <widget> |
432 | <class>QCheckBox</class> | 468 | <class>QCheckBox</class> |
433 | <property stdset="1"> | 469 | <property stdset="1"> |
434 | <name>name</name> | 470 | <name>name</name> |
435 | <cstring>copyRect</cstring> | 471 | <cstring>copyRect</cstring> |
436 | </property> | 472 | </property> |
437 | <property stdset="1"> | 473 | <property stdset="1"> |
438 | <name>text</name> | 474 | <name>text</name> |
439 | <string>Copy rectangle encoding</string> | 475 | <string>Copy rectangle encoding</string> |
440 | </property> | 476 | </property> |
477 | <property> | ||
478 | <name>whatsThis</name> | ||
479 | <string>Enable transmiting identical rectangles as references to existing data</string> | ||
480 | </property> | ||
441 | </widget> | 481 | </widget> |
442 | <spacer> | 482 | <spacer> |
443 | <property> | 483 | <property> |
444 | <name>name</name> | 484 | <name>name</name> |
445 | <cstring>Spacer3</cstring> | 485 | <cstring>Spacer3</cstring> |
446 | </property> | 486 | </property> |
447 | <property stdset="1"> | 487 | <property stdset="1"> |
448 | <name>orientation</name> | 488 | <name>orientation</name> |
449 | <enum>Vertical</enum> | 489 | <enum>Vertical</enum> |
450 | </property> | 490 | </property> |
451 | <property stdset="1"> | 491 | <property stdset="1"> |
452 | <name>sizeType</name> | 492 | <name>sizeType</name> |
453 | <enum>Expanding</enum> | 493 | <enum>Expanding</enum> |
454 | </property> | 494 | </property> |
455 | <property> | 495 | <property> |
456 | <name>sizeHint</name> | 496 | <name>sizeHint</name> |
457 | <size> | 497 | <size> |
458 | <width>20</width> | 498 | <width>20</width> |
459 | <height>20</height> | 499 | <height>20</height> |
460 | </size> | 500 | </size> |
461 | </property> | 501 | </property> |
462 | </spacer> | 502 | </spacer> |
463 | </vbox> | 503 | </vbox> |
464 | </widget> | 504 | </widget> |