]> Creatis software - clitk.git/commitdiff
The Qdialog is now shown in front of the mainWindow (it was behind)
authorMaxime <mpech@russule.clb.loc>
Mon, 9 May 2011 08:02:49 +0000 (10:02 +0200)
committerMaxime <mpech@russule.clb.loc>
Mon, 9 May 2011 08:02:49 +0000 (10:02 +0200)
vv/vvMainWindow.cxx
vv/vvMainWindow.h

index 7075b2c..d4c2976 100644 (file)
@@ -325,18 +325,17 @@ vvMainWindow::vvMainWindow():vvMainWindowBase()
   //timerMemory->setInterval(5);
   connect(timerMemory, SIGNAL(timeout()), this, SLOT(UpdateMemoryUsage()));
   timerMemory->start(2000);
-  
-  
+}
+//------------------------------------------------------------------------------
+
+void vvMainWindow::show(){
+ vvMainWindowBase::show();
   vvRegisterForm* registerForm = new vvRegisterForm(QUrl("http://localhost/vvregister/write.php"));
   if(registerForm->canPush()){
       registerForm->show();
       registerForm->acquitPushed();//too bad if there is not internet connection anymore.
   }
-  
 }
-//------------------------------------------------------------------------------
-
-
 //------------------------------------------------------------------------------
 void vvMainWindow::UpdateMemoryUsage()
 {
index e01bcec..22e2b55 100644 (file)
@@ -152,6 +152,7 @@ public slots:
   }
   void UpdateRenderWindows();
   void UpdateMemoryUsage();
+  void show();
   
 protected: