author | harlekin <harlekin> | 2003-03-24 20:51:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-24 20:51:53 (UTC) |
commit | e0c0eaf4b77f87d27cd56ffae62bb8cc702753c1 (patch) (side-by-side diff) | |
tree | 9e07a20530b8e8777398f00337f9d6d05b74f1fb | |
parent | 2bf0790dac098fd24a20161f32cd848a87fe56ca (diff) | |
download | opie-e0c0eaf4b77f87d27cd56ffae62bb8cc702753c1.zip opie-e0c0eaf4b77f87d27cd56ffae62bb8cc702753c1.tar.gz opie-e0c0eaf4b77f87d27cd56ffae62bb8cc702753c1.tar.bz2 |
configuration for hte big busy cursor
-rw-r--r-- | core/settings/launcher/tabssettings.cpp | 12 | ||||
-rw-r--r-- | core/settings/launcher/tabssettings.h | 2 |
2 files changed, 11 insertions, 3 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; diff --git a/core/settings/launcher/tabssettings.h b/core/settings/launcher/tabssettings.h index 47fcee2..439def6 100644 --- a/core/settings/launcher/tabssettings.h +++ b/core/settings/launcher/tabssettings.h @@ -59,7 +59,7 @@ private: // QString currentTab; QStringList m_ids; QMap <QString, TabConfig> m_tabs; - QCheckBox *m_busyblink; + QCheckBox *m_busyblink, *m_bigbusy; }; |