author | llornkcor <llornkcor> | 2002-10-26 15:29:10 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-26 15:29:10 (UTC) |
commit | ec58c37763a97306543a3f18052d37291b1cdf83 (patch) (side-by-side diff) | |
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 @@ -1,28 +1,29 @@ #include <qcheckbox.h> #include <qgroupbox.h> #include <qhbox.h> #include <qlabel.h> #include <qabstractlayout.h> #include <qlayout.h> #include <qlineedit.h> #include <qpixmap.h> #include <qpushbutton.h> #include <qvbox.h> +#include <qwhatsthis.h> #include <qpe/config.h> #include <qpe/qpeapplication.h> #include "mediumwidget.h" using namespace MediumMountSetting; MediumMountWidget::MediumMountWidget(const QString &path, const QPixmap &pix, QWidget *parent, const char *name ) : QWidget( parent, name ) @@ -41,36 +42,37 @@ MediumMountWidget::MediumMountWidget(const QString &path, } // now we fire up the GUI // if I would know what I'm doing ;) void MediumMountWidget::initGUI() { //main layout m_box = new QVBoxLayout( this , 5, 5 ); m_box->setSpacing( 5 ); //m_box->addStretch( -1 ); // picture + text m_infoBox = new QHBox(this, "infobox" ); m_infoBox->setSpacing( 4 ); m_label = new QLabel(m_infoBox ); m_desc = new QLabel(m_infoBox ); m_desc->setTextFormat( Qt::RichText ); - m_desc->setText("Configure this medium. The changes will" + QWhatsThis::add( this, tr("Configure this medium. The changes will" " go into effect when the application get's" " closed. To update the Document Tab you need" - " to removeand insert this medium." ); + " to removeand insert this medium.")); + m_desc->setText("" ); m_box->addWidget( m_infoBox ); // add the widget to the layout // groupbox m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); m_checks = new QGridLayout( m_group, 4, 3 ); m_checks->setMargin( 12 ); QSpacerItem *item2 = new QSpacerItem(5, 8, QSizePolicy::Fixed, QSizePolicy::Fixed); m_box->addItem( item2 ); m_audio = new QCheckBox( tr("Audio"), m_group ); |