summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabssettings.cpp
Side-by-side diff
Diffstat (limited to 'core/settings/launcher/tabssettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/settings/launcher/tabssettings.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp
index 9d6e8c1..7cd00bd 100644
--- a/core/settings/launcher/tabssettings.cpp
+++ b/core/settings/launcher/tabssettings.cpp
@@ -78,8 +78,11 @@ TabsSettings::TabsSettings ( QWidget *parent, const char *name )
lay-> setRowStretch ( 4, 10 );
+ m_bigbusy = new QCheckBox( tr( "Enable big busy indicator" ), this );
+ lay-> addMultiCellWidget ( m_bigbusy, 5, 5, 0, 1 );
+
m_busyblink = new QCheckBox ( tr( "Enable blinking busy indicator" ), this );
- lay-> addMultiCellWidget ( m_busyblink, 5, 5, 0, 1 );
+ lay-> addMultiCellWidget ( m_busyblink, 6, 6, 0, 1 );
p1-> setEnabled ( false );
p3-> setEnabled ( false );
@@ -90,6 +93,7 @@ TabsSettings::TabsSettings ( QWidget *parent, const char *name )
QWhatsThis::add ( p1, tr( "Adds a new Tab to the Launcher." ) + QString ( "<center><br><i>not yet implemented</i><br>Please use the tabmanager</center>." ));
QWhatsThis::add ( p2, tr( "Opens a new dialog to customize the select Tab." ));
QWhatsThis::add ( p3, tr( "Deletes a Tab from the Launcher." ) + QString ( "<center><br><i>not yet implemented</i><br>Please use the tabmanager</center>." ));
+ QWhatsThis::add ( m_bigbusy, tr( "Activate this, if you want a big busy indicator in the middle of the screen instead of the one in taskbar." ));
QWhatsThis::add ( m_busyblink, tr( "Activate this, if you want a blinking busy indicator for starting applications in the Launcher." ));
}
@@ -117,8 +121,10 @@ void TabsSettings::init ( )
cfg. setGroup ( "GUI" );
m_busyblink-> setChecked ( cfg. readEntry ( "BusyType" ). lower ( ) == "blink" );
+ m_bigbusy->setChecked( cfg. readBoolEntry ( "BigBusy" ) );
}
+
void TabsSettings::readTabSettings ( Config &cfg )
{
QString grp ( "Tab %1" ); // No tr
@@ -259,8 +265,10 @@ void TabsSettings::accept ( )
}
cfg. setGroup ( "GUI" );
QString busytype = QString ( m_busyblink-> isChecked ( ) ? "blink" : "" );
-
cfg. writeEntry ( "BusyType", busytype );
+
+ cfg. writeEntry ( "BigBusy", m_bigbusy->isChecked( ) );
+
{
QCopEnvelope e ( "QPE/Launcher", "setBusyIndicatorType(QString)" );
e << busytype;