summaryrefslogtreecommitdiff
authortreke <treke>2002-10-25 03:11:05 (UTC)
committer treke <treke>2002-10-25 03:11:05 (UTC)
commitff9b13c8c312d0a385770d7742530e526e19117e (patch) (side-by-side diff)
tree786fa405daf0a6693ab91c3b91850de328da66c2
parenta8b95086dd331c67c728a346f56416c355142758 (diff)
downloadopie-ff9b13c8c312d0a385770d7742530e526e19117e.zip
opie-ff9b13c8c312d0a385770d7742530e526e19117e.tar.gz
opie-ff9b13c8c312d0a385770d7742530e526e19117e.tar.bz2
Added QWhatsThis's
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/comm/keypebble/kvnc.cpp4
-rw-r--r--noncore/comm/keypebble/kvncbookmarkdlgbase.ui6
-rw-r--r--noncore/comm/keypebble/kvncconndlg.cpp2
-rw-r--r--noncore/comm/keypebble/kvncconndlgbase.ui42
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
@@ -51,17 +51,17 @@ static char * menu_xpm[] = {
" .+@#. ",
" .+#. ",
" .+. ",
" .. ",
" "};
const int StatusTextId = 0;
-KVNC::KVNC( const char *name ) : QMainWindow( 0, name )
+KVNC::KVNC( const char *name ) : QMainWindow( 0, name ,WStyle_ContextHelp)
{
setCaption( tr("VNC Viewer") );
fullscreen = false;
stack = new QWidgetStack( this );
setCentralWidget( stack );
bookmarkSelector=new KVNCBookmarkDlg();
@@ -99,17 +99,17 @@ KVNC::KVNC( const char *name ) : QMainWindow( 0, name )
QAction *n = new QAction( tr( "New Connection" ), Resource::loadPixmap( "new" ),
QString::null, 0, this, 0 );
connect( n, SIGNAL( activated() ),
this, SLOT( newConnection() ) );
n->addTo( bar );
- QAction *o = new QAction( tr( "Open Bookmark" ), Resource::loadPixmap( "edit" ),
+ QAction *o = new QAction( tr( "Open Bookmark" ), Resource::loadPixmap( "fileopen" ),
QString::null, 0, this, 0 );
connect( o, SIGNAL( activated() ),
this, SLOT( openConnection() ) );
o->addTo( bar );
QAction *d = new QAction( tr( "Delete Bookmark" ), Resource::loadPixmap( "trash" ),
QString::null, 0, this, 0 );
connect( d, SIGNAL( activated() ),
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
@@ -6,17 +6,17 @@
<name>name</name>
<cstring>KVNCBookmarkDlgBase</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
- <width>584</width>
+ <width>580</width>
<height>480</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Bookmarks</string>
</property>
<vbox>
@@ -29,16 +29,20 @@
<number>6</number>
</property>
<widget>
<class>QListBox</class>
<property stdset="1">
<name>name</name>
<cstring>bookmarkList</cstring>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Choose a bookmark that you would like to open</string>
+ </property>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout1</cstring>
</property>
<hbox>
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
@@ -10,17 +10,17 @@
#include <qlineedit.h>
#include <qpushbutton.h>
#include "krfbserver.h"
#include "kvncconndlg.h"
KVNCConnDlg::KVNCConnDlg( KRFBServer *options,
QWidget *parent, char *name, bool modal )
-: KVNCConnDlgBase( parent, name, modal )
+: KVNCConnDlgBase( parent, name, modal, WStyle_ContextHelp )
{
this->options=options;
tmpOptions=*options;
serverHostname->setText(options->hostname);
serverDisplay->setValue(options->display);
serverPassword->setText(options->password);
serverBookmark->setText(options->name);
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
@@ -6,17 +6,17 @@
<name>name</name>
<cstring>KVNCConnDlgBase</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
- <width>260</width>
+ <width>256</width>
<height>242</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>VNC Viewer Connection</string>
</property>
<property>
@@ -65,27 +65,35 @@
<property stdset="1">
<name>autoMask</name>
<bool>true</bool>
</property>
<property stdset="1">
<name>echoMode</name>
<enum>Password</enum>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>The password of the VNC server</string>
+ </property>
</widget>
<widget row="3" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>togglePassword</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Show Password</string>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Toggle obscuring the password</string>
+ </property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel3</cstring>
</property>
<property stdset="1">
@@ -94,16 +102,20 @@
</property>
</widget>
<widget row="4" column="1" rowspan="1" colspan="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>serverBookmark</cstring>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>The name of the VNC server</string>
+ </property>
</widget>
<widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel1_2</cstring>
</property>
<property stdset="1">
@@ -112,16 +124,20 @@
</property>
</widget>
<widget row="0" column="1" rowspan="1" colspan="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>serverHostname</cstring>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>The host name of the VNC server</string>
+ </property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>hostname</cstring>
</property>
<property stdset="1">
@@ -153,16 +169,20 @@
<property stdset="1">
<name>minValue</name>
<number>0</number>
</property>
<property stdset="1">
<name>value</name>
<number>0</number>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>The display number of the VNC server</string>
+ </property>
</widget>
<spacer row="5" column="2" >
<property>
<name>name</name>
<cstring>Spacer2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
@@ -236,16 +256,20 @@
<property stdset="1">
<name>maxValue</name>
<number>500</number>
</property>
<property stdset="1">
<name>minValue</name>
<number>1</number>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Delay between requesting updates from the server</string>
+ </property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel2</cstring>
</property>
<property stdset="1">
@@ -260,16 +284,20 @@
<property stdset="1">
<name>name</name>
<cstring>bit</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Request 8-bit session</string>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Request that the VNC server transfer 8 bit color</string>
+ </property>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>deIconify</cstring>
</property>
<property stdset="1">
@@ -282,16 +310,20 @@
<property stdset="1">
<name>name</name>
<cstring>shared</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Request shared session</string>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Allow other users to connect to the VNC server</string>
+ </property>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<hbox>
@@ -322,16 +354,20 @@
<name>text</name>
<string>4</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>scaleFactor</cstring>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Scale the remote display to fit on the PDA (Slow)</string>
+ </property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel2_3</cstring>
</property>
<property stdset="1">
@@ -433,16 +469,20 @@
<property stdset="1">
<name>name</name>
<cstring>copyRect</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Copy rectangle encoding</string>
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Enable transmiting identical rectangles as references to existing data</string>
+ </property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer3</cstring>
</property>
<property stdset="1">
<name>orientation</name>