author | drw <drw> | 2004-05-27 14:35:16 (UTC) |
---|---|---|
committer | drw <drw> | 2004-05-27 14:35:16 (UTC) |
commit | 26d09a968a56e0d779e12e0f281c1a0f2b8b541f (patch) (side-by-side diff) | |
tree | 1452bf6217d85da369e1e7bdfb0d0aeedd47129c /noncore/apps/dagger/navbar.cpp | |
parent | d643ab62b5d08afba2e5d0c1440cf21666e75286 (diff) | |
download | opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.zip opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.tar.gz opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.tar.bz2 |
Added QWhatsThis help text
Diffstat (limited to 'noncore/apps/dagger/navbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/navbar.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/dagger/navbar.cpp b/noncore/apps/dagger/navbar.cpp index 212dc36..97761f7 100644 --- a/noncore/apps/dagger/navbar.cpp +++ b/noncore/apps/dagger/navbar.cpp @@ -24,2 +24,3 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include <qlineedit.h> +#include <qwhatsthis.h> @@ -31,2 +32,3 @@ NavBar::NavBar( QMainWindow *parent ) QString::null, 0, this, 0 ); + m_actionPrevPage->setWhatsThis( tr( "Tap here to scroll backward one page." ) ); m_actionPrevPage->addTo( this ); @@ -36,2 +38,3 @@ NavBar::NavBar( QMainWindow *parent ) QString::null, 0, this, 0 ); + m_actionPrevVerse->setWhatsThis( tr( "Tap here to scroll backward one verse." ) ); m_actionPrevVerse->addTo( this ); @@ -41,2 +44,3 @@ NavBar::NavBar( QMainWindow *parent ) setStretchableWidget( m_key ); + QWhatsThis::add( m_key, tr( "Enter location to display here." ) ); connect(m_key, SIGNAL(textChanged(const QString &)), this, SIGNAL(keyChanged(const QString &)) ); @@ -45,2 +49,3 @@ NavBar::NavBar( QMainWindow *parent ) QString::null, 0, this, 0 ); + m_actionNextVerse->setWhatsThis( tr( "Tap here to scroll forward one verse." ) ); m_actionNextVerse->addTo( this ); @@ -50,2 +55,3 @@ NavBar::NavBar( QMainWindow *parent ) QString::null, 0, this, 0 ); + m_actionNextPage->setWhatsThis( tr( "Tap here to scroll forward one page." ) ); m_actionNextPage->addTo( this ); @@ -57,2 +63,3 @@ NavBar::NavBar( QMainWindow *parent ) m_scrollRate->setMinimumWidth( 35 ); + QWhatsThis::add( m_scrollRate, tr( "Adjust auto-scroll rate here. A larger value represents a slower scrolling rate." ) ); connect( m_scrollRate, SIGNAL(valueChanged(int)), this, SIGNAL(scrollRateChanged(int)) ); @@ -62,2 +69,3 @@ NavBar::NavBar( QMainWindow *parent ) m_actionScroll->setToggleAction( true ); + m_actionScroll->setWhatsThis( tr( "Tap here to start or stop auto-scrolling." ) ); connect( m_actionScroll, SIGNAL(toggled(bool)), this, SIGNAL(autoScroll(bool)) ); |