summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/configuredlg.cpp
Unidiff
Diffstat (limited to 'noncore/apps/dagger/configuredlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/configuredlg.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/noncore/apps/dagger/configuredlg.cpp b/noncore/apps/dagger/configuredlg.cpp
index e4dd60f..0a9317c 100644
--- a/noncore/apps/dagger/configuredlg.cpp
+++ b/noncore/apps/dagger/configuredlg.cpp
@@ -19,5 +19,6 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
19 19
20#include <qvbuttongroup.h>
21#include <qlabel.h> 20#include <qlabel.h>
22#include <qlayout.h> 21#include <qlayout.h>
22#include <qvbuttongroup.h>
23#include <qwhatsthis.h>
23 24
@@ -25,3 +26,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
25 bool disableBlanking, int copyFormat, const QFont *font ) 26 bool disableBlanking, int copyFormat, const QFont *font )
26 : QDialog( parent, QString::null, true ) 27 : QDialog( parent, QString::null, true, WStyle_ContextHelp )
27 , m_tabs( this ) 28 , m_tabs( this )
@@ -40,6 +41,8 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
40 41
41 QLabel *label = new QLabel( tr( "Path where Sword modules are located:" ), widget ); 42 QLabel *label = new QLabel( tr( "Path where Sword texts are located:" ), widget );
42 label->setAlignment( Qt::AlignLeft | Qt::AlignTop | Qt::WordBreak ); 43 label->setAlignment( Qt::AlignLeft | Qt::AlignTop | Qt::WordBreak );
44 QWhatsThis::add( label, tr( "Enter the path where the Sword modules (Bible texts, commentaries, etc.) can be found. This path should contain either the 'mods.conf' file or 'mods.d' sub-directory." ) );
43 grid->addMultiCellWidget( label, 0, 0, 0, 1 ); 45 grid->addMultiCellWidget( label, 0, 0, 0, 1 );
44 m_swordPath = new QLineEdit( swordPath, widget ); 46 m_swordPath = new QLineEdit( swordPath, widget );
47 QWhatsThis::add( m_swordPath, tr( "Enter the path where the Sword texts (Bibles, commentaries, etc.) can be found. This path should contain either the 'mods.conf' file or 'mods.d' sub-directory." ) );
45 grid->addMultiCellWidget( m_swordPath, 1, 1, 0, 1 ); 48 grid->addMultiCellWidget( m_swordPath, 1, 1, 0, 1 );
@@ -47,2 +50,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
47 label->setAlignment( Qt::AlignHCenter | Qt::AlignTop | Qt::WordBreak ); 50 label->setAlignment( Qt::AlignHCenter | Qt::AlignTop | Qt::WordBreak );
51 QWhatsThis::add( label, tr( "Enter the path where the Sword modules (Bible texts, commentaries, etc.) can be found. This path should contain either the 'mods.conf' file or 'mods.d' sub-directory." ) );
48 grid->addMultiCellWidget( label, 2, 2, 0, 1 ); 52 grid->addMultiCellWidget( label, 2, 2, 0, 1 );
@@ -53,2 +57,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
53 m_alwaysOpenNew->setChecked( alwaysOpenNew ); 57 m_alwaysOpenNew->setChecked( alwaysOpenNew );
58 QWhatsThis::add( m_alwaysOpenNew, tr( "Tap here to always open texts in a new window. If this option is not selected, only one copy of a Sword text will be opened." ) );
54 grid->addMultiCellWidget( m_alwaysOpenNew, 4, 4, 0, 1 ); 59 grid->addMultiCellWidget( m_alwaysOpenNew, 4, 4, 0, 1 );
@@ -59,2 +64,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
59 label->setAlignment( Qt::AlignLeft | Qt::AlignTop | Qt::WordBreak ); 64 label->setAlignment( Qt::AlignLeft | Qt::AlignTop | Qt::WordBreak );
65 QWhatsThis::add( label, tr( "Enter the number of verses to display at a time. This also affects how far the scroll to previous/next page buttons on the Navigation bar scroll." ) );
60 grid->addWidget( label, 6, 0 ); 66 grid->addWidget( label, 6, 0 );
@@ -62,2 +68,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
62 m_numVerses->setValue( numVerses ); 68 m_numVerses->setValue( numVerses );
69 QWhatsThis::add( m_numVerses, tr( "Enter the number of verses to display at a time. This also affects how far the scroll to previous/next page buttons on the Navigation bar scroll." ) );
63 grid->addWidget( m_numVerses, 6, 1 ); 70 grid->addWidget( m_numVerses, 6, 1 );
@@ -68,2 +75,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
68 m_disableScreenBlank->setChecked( disableBlanking ); 75 m_disableScreenBlank->setChecked( disableBlanking );
76 QWhatsThis::add( m_disableScreenBlank, tr( "Tap here to disable Opie's automatic power management feature which will dim and turn off the screen after a specified time. This will only be effective while Dagger is running." ) );
69 grid->addMultiCellWidget( m_disableScreenBlank, 8, 8, 0, 1 ); 77 grid->addMultiCellWidget( m_disableScreenBlank, 8, 8, 0, 1 );
@@ -74,2 +82,3 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
74 widget = new QWidget( this ); 82 widget = new QWidget( this );
83 QWhatsThis::add( widget, tr( "Select the format used when copying the current verse to the clipboard." ) );
75 layout = new QVBoxLayout( widget ); 84 layout = new QVBoxLayout( widget );
@@ -117,2 +126,4 @@ ConfigureDlg::ConfigureDlg( QWidget *parent, const QString &swordPath, bool alwa
117 m_font->setSelectedFont( *font ); 126 m_font->setSelectedFont( *font );
127 QWhatsThis::add( m_font, tr( "Select the font, style and size used for displaying texts." ) );
128
118 m_tabs.addTab( m_font, "font", tr( "Font" ) ); 129 m_tabs.addTab( m_font, "font", tr( "Font" ) );