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 | 28 |
1 files changed, 15 insertions, 13 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 @@ -11,4 +11,5 @@ #include <qpushbutton.h> #include <qvbox.h> +#include <qwhatsthis.h> @@ -23,7 +24,7 @@ using namespace MediumMountSetting; MediumMountWidget::MediumMountWidget(const QString &path, - const QPixmap &pix, - QWidget *parent, - const char *name ) + const QPixmap &pix, + QWidget *parent, + const char *name ) : QWidget( parent, name ) { @@ -55,8 +56,9 @@ void MediumMountWidget::initGUI() m_desc = new QLabel(m_infoBox ); m_desc->setTextFormat( Qt::RichText ); - m_desc->setText("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." ); + 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.")); + m_desc->setText("" ); m_box->addWidget( m_infoBox ); // add the widget to the layout @@ -70,6 +72,6 @@ void MediumMountWidget::initGUI() QSpacerItem *item2 = new QSpacerItem(5, 8, - QSizePolicy::Fixed, - QSizePolicy::Fixed); + QSizePolicy::Fixed, + QSizePolicy::Fixed); m_box->addItem( item2 ); @@ -81,5 +83,5 @@ void MediumMountWidget::initGUI() QSpacerItem *iti1b = new QSpacerItem(2, 10, QSizePolicy::Fixed, - QSizePolicy::Fixed ); + QSizePolicy::Fixed ); m_checks->addItem( iti1b, 0, 0 ); @@ -96,5 +98,5 @@ void MediumMountWidget::initGUI() connect(m_all, SIGNAL(stateChanged(int) ), - this, SLOT(slotStateChanged() ) ); + this, SLOT(slotStateChanged() ) ); m_box->addWidget( m_group ); @@ -118,6 +120,6 @@ void MediumMountWidget::initGUI() QSpacerItem *item = new QSpacerItem(5, 50, - QSizePolicy::Fixed, - QSizePolicy::Expanding ); + QSizePolicy::Fixed, + QSizePolicy::Expanding ); m_box->addItem(item ); } |