Results 1 to 5 of 5

Thread: Reuse a Qwidget with a QStackWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    USA
    Posts
    142
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Reuse a Qwidget with a QStackWidget

    That or you could make that widget contain static variables (so they all have the same data) and create a new instance for each page of your stacked widget. That should also free you up to make some parts of your widget different on each page.
    Life without passion is death in disguise

  2. #2
    ucomesdag Guest

    Default Re: Reuse a Qwidget with a QStackWidget

    Is there else a way to duplicate the widget?

    Found the answer myself: No...
    Last edited by ucomesdag; 25th April 2007 at 03:18.

Similar Threads

  1. Replies: 4
    Last Post: 24th April 2007, 13:18
  2. Replies: 3
    Last Post: 8th March 2007, 14:54
  3. Showing QMainWindow without showing a child QWidget
    By discostu in forum Qt Programming
    Replies: 3
    Last Post: 4th March 2007, 09:03
  4. Replies: 1
    Last Post: 2nd May 2006, 21:11
  5. QScrollArea problem positioning a QWidget inside
    By Spectator in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2006, 22:59

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.