Albert
Albert

Reputation: 161

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

Upvotes: 8

Views: 6342

Answers (2)

Jan Hettich
Jan Hettich

Reputation: 9886

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.

Upvotes: 5

TonyK
TonyK

Reputation: 17124

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

Upvotes: 2

Related Questions