Templates in Qt Layout Manager?



  • Hi All,
    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.


  • Lifetime Qt Champion

    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.


Log in to reply
 

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