author | llornkcor <llornkcor> | 2002-10-26 15:29:10 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-26 15:29:10 (UTC) |
commit | ec58c37763a97306543a3f18052d37291b1cdf83 (patch) (unidiff) | |
tree | b510f605a4a1e924b794c107c37a0393699363c7 | |
parent | 705007194478a84399d36b0919df20f23ae1b546 (diff) | |
download | opie-ec58c37763a97306543a3f18052d37291b1cdf83.zip opie-ec58c37763a97306543a3f18052d37291b1cdf83.tar.gz opie-ec58c37763a97306543a3f18052d37291b1cdf83.tar.bz2 |
changed text label to whats this, and added tr
-rw-r--r-- | noncore/settings/mediummount/mediumwidget.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc index f9cac8b..9fc608b 100644 --- a/noncore/settings/mediummount/mediumwidget.cc +++ b/noncore/settings/mediummount/mediumwidget.cc | |||
@@ -7,12 +7,13 @@ | |||
7 | #include <qabstractlayout.h> | 7 | #include <qabstractlayout.h> |
8 | #include <qlayout.h> | 8 | #include <qlayout.h> |
9 | #include <qlineedit.h> | 9 | #include <qlineedit.h> |
10 | #include <qpixmap.h> | 10 | #include <qpixmap.h> |
11 | #include <qpushbutton.h> | 11 | #include <qpushbutton.h> |
12 | #include <qvbox.h> | 12 | #include <qvbox.h> |
13 | #include <qwhatsthis.h> | ||
13 | 14 | ||
14 | 15 | ||
15 | #include <qpe/config.h> | 16 | #include <qpe/config.h> |
16 | #include <qpe/qpeapplication.h> | 17 | #include <qpe/qpeapplication.h> |
17 | 18 | ||
18 | #include "mediumwidget.h" | 19 | #include "mediumwidget.h" |
@@ -51,16 +52,17 @@ void MediumMountWidget::initGUI() | |||
51 | // picture + text | 52 | // picture + text |
52 | m_infoBox = new QHBox(this, "infobox" ); | 53 | m_infoBox = new QHBox(this, "infobox" ); |
53 | m_infoBox->setSpacing( 4 ); | 54 | m_infoBox->setSpacing( 4 ); |
54 | m_label = new QLabel(m_infoBox ); | 55 | m_label = new QLabel(m_infoBox ); |
55 | m_desc = new QLabel(m_infoBox ); | 56 | m_desc = new QLabel(m_infoBox ); |
56 | m_desc->setTextFormat( Qt::RichText ); | 57 | m_desc->setTextFormat( Qt::RichText ); |
57 | m_desc->setText("Configure this medium. The changes will" | 58 | QWhatsThis::add( this, tr("Configure this medium. The changes will" |
58 | " go into effect when the application get's" | 59 | " go into effect when the application get's" |
59 | " closed. To update the Document Tab you need" | 60 | " closed. To update the Document Tab you need" |
60 | " to removeand insert this medium." ); | 61 | " to removeand insert this medium.")); |
62 | m_desc->setText("" ); | ||
61 | m_box->addWidget( m_infoBox ); // add the widget to the layout | 63 | m_box->addWidget( m_infoBox ); // add the widget to the layout |
62 | 64 | ||
63 | 65 | ||
64 | // groupbox | 66 | // groupbox |
65 | m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); | 67 | m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); |
66 | m_checks = new QGridLayout( m_group, 4, 3 ); | 68 | m_checks = new QGridLayout( m_group, 4, 3 ); |