Results 1 to 6 of 6

Thread: Howto get font of widget set by stylesheet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    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: Howto get font of widget set by stylesheet

    Just a guess, maybe the font is not set before the edit shows up. So just for checking. Move the qDebug in a custom slot and call it after the window has shown up. (E.g. use QTimer::singleShot() for that)

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

    swaczin (8th July 2013)

Similar Threads

  1. Problem with setting font via stylesheet
    By jamadagni in forum Qt Programming
    Replies: 1
    Last Post: 17th August 2012, 10:19
  2. Replies: 2
    Last Post: 2nd November 2010, 01:43
  3. Replies: 0
    Last Post: 12th August 2010, 16:05
  4. Replies: 4
    Last Post: 14th June 2010, 15:01
  5. Animated graphical widget in systray. howto?
    By Tetractys in forum Newbie
    Replies: 2
    Last Post: 6th October 2009, 23:51

Tags for this Thread

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.