Qt designer - how to create a QDialog?

Is it possible to create a QDialog in Qt-creator, e.g. QForm (by clicking)? I found several samples, but QDialog was created programmatically. I want to drag buttons, list and other components into QDialog. Now I can add new components only by changing the code.

thanks

+7
source share
2 answers

Select File/New ... ; then from Files and Classes select Qt and select Qt Designer Form Class from the right pane. Choose ... then takes you to another page where you can select Dialog .

+5
source

The menu item File|New... provides you with a choice of various types of dialog boxes on the templates\forms tab. (Qt version 4.7.0.)

+2
source

All Articles