Reading this thread i experimented this code:
#include <QApplication>
#include <QLineEdit>
#include "Dialog.h"
int main(int argc, char *argv[]){
x.showFullScreen();
Dialog *dialog = new Dialog;
dialog->showFullScreen();
return app.exec();
}
#include <QApplication>
#include <QLineEdit>
#include "Dialog.h"
int main(int argc, char *argv[]){
QApplication app(argc, argv);
QLineEdit x("zxc");
x.showFullScreen();
Dialog *dialog = new Dialog;
dialog->showFullScreen();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
The x widget is maximized but the Dialog no.
I supose this is because the Dialog was created with QtDesigner and i must change it there?
Bookmarks