View Full Version : QWizard with progress bar
jimwalks
13th August 2011, 18:10
Hello everyone,
I have made a wizard application. However, I now want to add a side-bar on the left to show the current progress through the wizard.
For example, Like this:
http://labs.qt.nokia.com/wp-content/uplo…l5AppWizard.png
or
http://www.michaelboeni.net/wp-content/u…din_wizard2.png
Can anyone guide me in the right direction to achieving such a layout?
Many thanks,
Jim
jimwalks
14th August 2011, 11:05
Sorry the links I gave were invalid. Here are the correct ones:
http://www.michaelboeni.net/wp-content/uploads/qt_msvs_addin_wizard2.png
http://labs.qt.nokia.com/wp-content/uploads/2011/02/Html5AppWizard.png
Thanks!
d_stranz
14th August 2011, 18:07
If you look at the Qt docs for QWizard (here (http://doc.qt.nokia.com/4.7/qwizard.html)), you will see that only your "HTML5AppWizard" example looks like a standard version of the QWizard page styles.
In QWizard, the watermark is a pixmap, but it is only used in two of the 4 styles. In your examples, this isn't a pixmap, it is an interactive set of widgets with radio button behavior. So, I think you must make a widget panel that shows the buttons you want, and include it on the left side of each wizard page.
Alternatively, you can derive from QWizard and include this widget on the main QWizard dialog, but this might be more work than it is worth.
Dexel
25th September 2018, 18:30
Links are broken
Ginsengelf
27th September 2018, 07:54
Well, they are seven years old. That's a reason why it's better to attach images to the post instead of linking to external sources.
Ginsengelf
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.