Author: kmachalkova Date: Fri Jun 19 10:52:33 2009 New Revision: 57647 URL: http://svn.opensuse.org/viewcvs/yast?rev=57647&view=rev Log: Status bar++ Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp?rev=57647&r1=57646&r2=57647&view=diff ============================================================================== --- branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp (original) +++ branches/tmp/tgoettlicher/yast2cc_rewrite/src/main_window.cpp Fri Jun 19 10:52:33 2009 @@ -22,6 +22,7 @@ #include <QDebug> #include <QQueue> #include <QSettings> +#include <QStatusBar> #include "kcategorizedsortfilterproxymodel.h" #include "kcategorizedview.h" @@ -119,11 +120,14 @@ addDockWidget(Qt::LeftDockWidgetArea, groupdock); + readSettings(); initActions(); d->modview->addAction( addToF ); d->modview->setContextMenuPolicy( Qt::ActionsContextMenu ); + + statusBar()->showMessage( _("Ready") ); connect( d->groupview, SIGNAL( pressed( const QModelIndex & ) ), SLOT( slotGroupPressed( const QModelIndex & ) ) ); @@ -198,6 +202,8 @@ } qDebug() << "Run command: " << cmd.toAscii(); + QString msg = _("Starting module %1...").arg( client ); + statusBar()->showMessage( msg, 2000 ); system( cmd.toAscii() ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org