Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt designer - how to create QDialog?

It is possibility to create QDialog in Qt-creator like for example QForm (by clicking)? I've found several samples, but QDialog is created programmatically. I want to drag and drop buttons, listview and others components on QDialog. Now I can add new components only by modifying code.

Thanks

like image 833
Albert Avatar asked Jan 31 '11 12:01

Albert


People also ask

Can I use Qt Designer with PySide2?

PySide2 is a Python API for the Qt framework. This API is made with Shiboken2, the Python binding generator. It means that you can write your code in Python and use the Qt framework as you'd do with C++.


2 Answers

Select File/New ...; then from Files and Classes, pick Qt, and select Qt Designer Form Class from the right-hand-side panel. Choose ... then takes you to another page where you can select a Dialog.

like image 96
Jan Hettich Avatar answered Oct 21 '22 05:10

Jan Hettich


The menu item File|New... gives you a choice of various dialog box types, in the templates\forms tab. (Qt version 4.7.0.)

like image 24
TonyK Avatar answered Oct 21 '22 04:10

TonyK