Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Templates in Qt Layout Manager?
HMai last edited by
Is there a way to implement a template mechanism in Qt Layout Manager? We have a number of screens with the same theme (background and dialogue boxes are same size), however some of dialog content is different. We'd like to apply a template to the screens so that they all look the same, however if there is a change to the screen in the future, you only have to change one template and all the screens using that template get updated.
Hi and welcome to devnet,
That's something usually done by creating a base QWidget that you will re-use to build your other widgets.