QtCreator, where are old class template?



  • After HDisk failure i reinstall all Qt, Now i am using Creator 3.3.1.
    In the previous version when do ""Add New" "C++" it create
    the cpp and the header file with:
    #include <QDialog>,
    Q_OBJECT, private, public,signals and slot.

    and prebuild the contructor with:

    dlgNew::dlgNew(QWidget *parent) : QDialog(parent)

    Why this new version of QtCreator don´t do that. i have to do it by hand writing.
    Also in the combo box you can choice many classes to inherit, but QDialog is not present.
    There is any way to use te old template or build a custom template.

    Greetings


  • Lifetime Qt Champion

    Hi,

    Pretty good question, you should ask it on the Qt Creator mailing list You'll find there Qt Creator's developers/maintainers (this forum is more user oriented)


  • Moderators

    Hi,

    @marceloarguello700 said:

    In the previous version when do ""Add New" "C++" it create
    the cpp and the header file
    ...
    Why this new version of QtCreator don´t do that. i have to do it by hand writing.
    Also in the combo box you can choice many classes to inherit, but QDialog is not present.

    Try "File" -> "New File or Project..." -> "Files and Classes" -> "Qt" -> "Qt Designer Form Class"


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.