Font Inheritance

  • I have created a QDialog derived class in QtCreator.

    In Designer, I added various widgets including QPushButton, QLabel and QLineEdit items.

    In my class constructor, I added:


    The selected font is correctly inherited by the QBushButtons. But it is NOT inherited by the QLabel or QLineEdit items. Why and how do I fix it?

    I did check myClass.ui and there are zero font references in that file.

Log in to reply

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