Font Inheritance
Unsolved
General and Desktop
-
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:
setFont(myFont);
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.