Details
-
Type:
Suggestion
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Fixed
-
Affects Version/s: 6.3.0 Feature Freeze
-
Fix Version/s: 6.4.0 Beta1
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
-
Platform/s:
-
Commits:2140edaaab (qt/qtbase/dev) 2140edaaab (qt/tqtc-qtbase/dev)
Description
Hello!
I want to create a button group navigation between QWizard pages.
The current solution is to analyze pageid, get the current page number, and called
QWizard::back()
or
QWizard::next
methods to go to my page, but it would be better to have some method like these, which do it automatically
void StartupWizard::OnPageNumMove(int pageIdToMove) { if(currentId()==pageIdToMove) return; else { if(currentId()<pageIdToMove) while (pageIdToMove!=currentId()) this->next(); else while (pageIdToMove!=currentId()) this->back(); } }
Attachments
For Gerrit Dashboard: QTBUG-99488 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
393804,16 | Add setCurrentId in QWizard | dev | qt/qtbase | Status: MERGED | +2 | 0 |