main window behaving as overlay
This commit is contained in:
parent
90286b6853
commit
9d79757a49
3 changed files with 47 additions and 39 deletions
|
|
@ -1,9 +1,3 @@
|
|||
//#include <stdio.h>
|
||||
//#include <stdlib.h>
|
||||
|
||||
//#include <qapplicationstatic.h>
|
||||
|
||||
//#define QTBLESSED
|
||||
#include <QApplication>
|
||||
#include <QMainWindow>
|
||||
|
||||
|
|
@ -66,10 +60,12 @@ int main (int argc, char* argv[]) {
|
|||
*/
|
||||
|
||||
//app->setStyleSheet(styleSheet);
|
||||
window.calculateChildWidgetsSize();
|
||||
#ifdef DEBUG
|
||||
window.show();
|
||||
#endif
|
||||
/*
|
||||
* #ifdef DEBUG
|
||||
* window.calculateChildWidgetsSize();
|
||||
* window.show();
|
||||
* #endif
|
||||
*/
|
||||
return app->exec();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue