malch
8th March 2016, 19:09
I created a QDialog derived class in QtCreator. In Designer, I added various widgets including QPushButton, QLabel and QLineEdit items.
In the 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?
In the 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?