Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Font Inheritance
Forum Updated to NodeBB v4.3 + New Features

Font Inheritance

Scheduled Pinned Locked Moved Unsolved General and Desktop
font
1 Posts 1 Posters 849 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • malchM Offline
    malchM Offline
    malch
    wrote on last edited by malch
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved