Add description text to the tabbox KCM to help let the user know that

both tabs are actually different.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050021
This commit is contained in:
Lucas Murray 2009-11-16 12:21:06 +00:00
parent 7fe224e579
commit 988b3d4ccd
2 changed files with 16 additions and 2 deletions

View file

@ -60,6 +60,8 @@ KWinTabBoxConfig::KWinTabBoxConfig( QWidget* parent, const QVariantList& args )
KTabWidget* tabWidget = new KTabWidget( this );
m_primaryTabBoxUi = new KWinTabBoxConfigForm( tabWidget );
m_alternativeTabBoxUi = new KWinTabBoxConfigForm( tabWidget );
m_alternativeTabBoxUi->description->setText(
i18n( "These settings are used by the \"Walk Through Windows Alternative\" actions." ));
tabWidget->addTab( m_primaryTabBoxUi, i18n("Main") );
tabWidget->addTab( m_alternativeTabBoxUi, i18n("Alternative") );
QVBoxLayout* layout = new QVBoxLayout( this );

View file

@ -6,11 +6,18 @@
<rect>
<x>0</x>
<y>0</y>
<width>415</width>
<height>279</height>
<width>445</width>
<height>288</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="KTitleWidget" name="description">
<property name="text">
<string>These settings are used by the &quot;Walk Through Windows&quot; actions.</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
@ -198,6 +205,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KTitleWidget</class>
<extends>QWidget</extends>
<header>ktitlewidget.h</header>
</customwidget>
<customwidget>
<class>KPushButton</class>
<extends>QPushButton</extends>