Ok. I tried. I create with qt creator ui designer new Qdialog
qtcreator_dVdKqYG5i2.jpg
and add one button (preffered size policy) , add layout horizantal and I called it
when I run it , mainwindow occupied the entire screen, but qdialog remained to the extent given. this is resultvoid MainWindow:n_pushButton_clicked()
{
Dialog myDialog;
myDialog.setModal(false);
myDialog.exec();
}
qemu-system-i386_DfYqbm8sK8.jpg
Bookmarks