Results 1 to 5 of 5

Thread: How to set Font for widgets in the parent from a child widget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to set Font for widgets in the parent from a child widget

    Not tested, but shouldn't do QApplication::setFont() the trick?

    EDIT: No, only changes the default font... sorry.

    EDIT EDIT: Umpf... Yes it works!
    Last edited by Lykurg; 7th January 2013 at 13:35.

  2. The following user says thank you to Lykurg for this useful post:

    ramsailesh (7th January 2013)

Similar Threads

  1. How to resize parent widget when child widget is resized
    By ainne810329 in forum Qt Programming
    Replies: 4
    Last Post: 29th November 2011, 07:47
  2. Replies: 1
    Last Post: 11th March 2011, 19:34
  3. Replies: 7
    Last Post: 12th January 2011, 22:01
  4. Replies: 7
    Last Post: 14th January 2010, 08:47
  5. initialize child widgets within parent?
    By ucomesdag in forum Newbie
    Replies: 6
    Last Post: 6th June 2006, 08:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.