Results 1 to 4 of 4

Thread: multiple page linear interface

  1. #1
    Join Date
    Apr 2007
    Posts
    1

    Default multiple page linear interface

    I am trying to build a user interface that has multiple pages, wizard like interface.
    this interface need to have Back and Next Buttons; when user clicks on Back the current page should be hidden and the previous page display.
    Can anyone please tell me what is the best approach? The user does not want Tabs, just buttons.
    Thanks,

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: multiple page linear interface

    Use a QStackedWidget to hold the wizard pages and QWidgets as pages. You could event create the pages in Designer.

    The wizard dialog should only contain the bottom buttons ( next, back, close...) and possibly some image, and the stack widget above the buttons. You could also do this in designer.

    On next you show the next widget in the stack, on back the previous, and so on...

    Regards

  3. #3
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: multiple page linear interface

    If you can afford using Qt 4.3 beta and loose backward compatibility with earlier versions it is highly recommended to use the new QWizard class. It provides everything one needs to create good-looking, user-friendly, platform-aware wizards which can be linear, non-linear or even an insane mess it that's what you want to achieve...

    edit : Argh!!! the [q t c l a s s] tag does not support Qt 4.3 snaphots... Here is the correct link : QWizard.
    Current Qt projects : QCodeEdit, RotiDeCode

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: multiple page linear interface

    Quote Originally Posted by fullmetalcoder View Post
    edit : Argh!!! the [qtclass] tag does not support Qt 4.3 snaphots...
    It's not a stable release, so Trolltech didn't make it an official documentation.

Similar Threads

  1. Interface composition and QObject
    By brcain in forum Qt Programming
    Replies: 9
    Last Post: 20th November 2006, 17:56
  2. QWidget display on 2 stack widget page
    By spawnwj in forum Qt Programming
    Replies: 3
    Last Post: 4th September 2006, 12:07
  3. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23
  4. Multiple inheritance & Qt
    By dublet in forum Qt Programming
    Replies: 11
    Last Post: 8th March 2006, 08:12
  5. Qt interface running extremely slowly...
    By jazztpt in forum Qt Programming
    Replies: 1
    Last Post: 4th February 2006, 11:12

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.