Results 1 to 4 of 4

Thread: Adding layouts to QStackedLayout

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Adding layouts to QStackedLayout

    Can anyone tell me how to add a Layout manager as a child of a QStackedLayout?

  2. #2
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Adding layouts to QStackedLayout

    addChildLayout ( QLayout * )

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Adding layouts to QStackedLayout

    Only problem with that member function is that it is protected. Are there any ways of adding the layouts using public functions?

  4. #4
    Join Date
    Nov 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Adding layouts to QStackedLayout

    np. seems I have to wrap the layout in a QWidget, calling setLayout(layout)

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.