[Kst] branches/work/kst/portto4/kst/src/libkstapp

George Staikos staikos at kde.org
Thu May 31 04:12:58 CEST 2007


SVN commit 670008 by staikos:

hook in the debug notifier (needs a signal connection and pixmaps)


 M  +1 -0      CMakeLists.txt  
 A             debugnotifier.cpp   branches/work/kst/portto4/kst/src/old_libkstapp/kstdebugnotifier.cpp#668577 [License: GPL (v2+)]
 A             debugnotifier.h   branches/work/kst/portto4/kst/src/old_libkstapp/kstdebugnotifier.h#668577 [License: GPL (v2+)]
 M  +5 -2      mainwindow.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/CMakeLists.txt #670007:670008
@@ -4,6 +4,7 @@
    applicationsettings.cpp
    boxitem.cpp
    datamanager.cpp
+   debugnotifier.cpp
    document.cpp
    ellipseitem.cpp
    exportgraphicsdialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #670007:670008
@@ -12,6 +12,7 @@
 #include "mainwindow.h"
 #include "boxitem.h"
 #include "datamanager.h"
+#include "debugnotifier.h"
 #include "document.h"
 #include "ellipseitem.h"
 #include "exportgraphicsdialog.h"
@@ -404,11 +405,13 @@
 
 
 void MainWindow::createStatusBar() {
-  MemoryWidget *mw = new MemoryWidget(statusBar());
-  statusBar()->addPermanentWidget(mw);
   _progressBar = new QProgressBar(statusBar());
   _progressBar->hide();
   statusBar()->addPermanentWidget(_progressBar);
+  MemoryWidget *mw = new MemoryWidget(statusBar());
+  statusBar()->addPermanentWidget(mw);
+  DebugNotifier *dn = new DebugNotifier(statusBar());
+  statusBar()->addPermanentWidget(dn);
   statusBar()->showMessage(tr("Ready"));
 }
 


More information about the Kst mailing list