From: Maxime Date: Mon, 9 May 2011 08:02:49 +0000 (+0200) Subject: The Qdialog is now shown in front of the mainWindow (it was behind) X-Git-Tag: v1.2.1~34 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=59d44b9e6f5b797329f8bb47711bd53bfcf9d7e4;p=clitk.git The Qdialog is now shown in front of the mainWindow (it was behind) --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 7075b2c..d4c2976 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -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() { diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index e01bcec..22e2b55 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -152,6 +152,7 @@ public slots: } void UpdateRenderWindows(); void UpdateMemoryUsage(); + void show(); protected: