Results 1 to 3 of 3

Thread: QStackedWidget - paintevent of widget not getting called

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: QStackedWidget - paintevent of widget not getting called

    Try giving the stacked widget a large enough size explicitly.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

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

    el33t (16th February 2011)

Similar Threads

  1. paintEvent not getting called with QMainWindow
    By DiamonDogX in forum Qt Programming
    Replies: 12
    Last Post: 15th June 2011, 22:23
  2. No paintEvent is called
    By HeReSY in forum Qt Programming
    Replies: 2
    Last Post: 26th January 2011, 16:11
  3. Replies: 0
    Last Post: 29th April 2010, 05:44
  4. Shared widget by pages in a QStackedWidget
    By ouekah in forum Newbie
    Replies: 2
    Last Post: 7th March 2010, 10:45
  5. Replies: 4
    Last Post: 13th August 2007, 15:28

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.