]> 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 7075b2c63544bd92760eaa4de2a5a57eb490d22a..d4c2976dc801beef46843fbf3f1217af8a7c01fa 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 e01bcec1d55763f0786a7e622408e69522f2abc7..22e2b55dccc3f77fca48f77b6f434c2207735f61 100644 (file)
@@ -152,6 +152,7 @@ public slots:
   }
   void UpdateRenderWindows();
   void UpdateMemoryUsage();
+  void show();
   
 protected: