How to disable the original mainwindow widget??
-
Hi
You mean to hide it ?im not sure what you mean with
- This original widget appear with my newly created widget
-
Hi, I am trying to disable the original mainwindow widget when I execute the code . This original widget appear with my newly created widget . I don't want this original widget to be shown .
@Kinesis QApplication a(argc, argv);
MainWindow w;
// w.show();I Think you may try this in the main.cpp
-
@Kinesis QApplication a(argc, argv);
MainWindow w;
// w.show();I Think you may try this in the main.cpp
@sankarapandiyan
Thanks . :) -
Hi, I am trying to disable the original mainwindow widget when I execute the code . This original widget appear with my newly created widget . I don't want this original widget to be shown .
@Kinesis said in How to disable the original mainwindow widget??:
I don't want this original widget to be shown .
If you do not need
QMainWindow
to be shown why do you create it??More Info:
https://stackoverflow.com/questions/7145585/does-it-matter-if-i-start-a-qt-base-as-qmainwindow-or-as-a-qdialog?rq=1
https://stackoverflow.com/questions/14384660/can-i-have-a-qt-project-without-mainwindow -
@Kinesis said in How to disable the original mainwindow widget??:
I don't want this original widget to be shown .
If you do not need
QMainWindow
to be shown why do you create it??More Info:
https://stackoverflow.com/questions/7145585/does-it-matter-if-i-start-a-qt-base-as-qmainwindow-or-as-a-qdialog?rq=1
https://stackoverflow.com/questions/14384660/can-i-have-a-qt-project-without-mainwindow