Integrate my own CMainWindow in Qt Creator
-
wrote on 23 Oct 2019, 07:41 last edited by
Hi,
i would like to derive my own CMainWindow - class from QMainWindow.
I would like to adapt this new class to my wishes. (e.g. Menu-Bar, Buttons, ...)Now i would like to proceed as follows:
For class information I can choose the base class. Can I set QtCreator to select my CMainWindow - class?
Or is there another way to create it using the QtCreator? (Plugin,....) -
Hi,
i would like to derive my own CMainWindow - class from QMainWindow.
I would like to adapt this new class to my wishes. (e.g. Menu-Bar, Buttons, ...)Now i would like to proceed as follows:
For class information I can choose the base class. Can I set QtCreator to select my CMainWindow - class?
Or is there another way to create it using the QtCreator? (Plugin,....)Hi @Linex,
you can add your own wizard or maybe modify one of the existing wizards. The technology is explained here:
https://doc.qt.io/qtcreator/creator-project-wizards-json.html
Regards
-
But the question is - why? Do you really create that much new projects so it would save you that much time?
-
But the question is - why? Do you really create that much new projects so it would save you that much time?
wrote on 23 Oct 2019, 08:24 last edited by@Christian-Ehrlicher Yes,
we develop many apps with the same base-functions but different details. e.g. as stackedwidgets
1/4