From 2bf0790dac098fd24a20161f32cd848a87fe56ca Mon Sep 17 00:00:00 2001 From: harlekin Date: Mon, 24 Mar 2003 20:51:18 +0000 Subject: preliminary big busy cursor - maybe an animation later --- (limited to 'core/launcher/wait.cpp') diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp index 059e6f1..e1832dd 100644 --- a/core/launcher/wait.cpp +++ b/core/launcher/wait.cpp @@ -21,6 +21,7 @@ #include "wait.h" #include +#include #include #include @@ -35,6 +36,8 @@ Wait::Wait( QWidget *parent ) : QWidget( parent ), { setFixedSize( pm.size() ); lastWaitObject = this; + centralWait = new WaitPopup( 0L ); + centralWait->hide(); hide(); } @@ -47,11 +50,21 @@ Wait *Wait::getWaitObject() void Wait::setWaiting( bool w ) { + Config cfg ( "Launcher" ); + cfg. setGroup ( "GUI" ); + + waiting = w; - if ( w ) - show(); - else - hide(); + if ( w ) { + if ( cfg. readBoolEntry ( "BigBusy" ) ) { + centralWait->show(); + } else { + show(); + } + } else { + centralWait->hide(); + hide(); + } } -- cgit v0.9.0.2