Questions tagged [qwizard]

This tag should be used for questions about the QWizard class of the Qt library. This class is also present in the PyQt bindings for Qt.

QWizard is a class in the Qt C++ library to provide a simple framework for creating GUI wizards.

48 questions
0
votes
0 answers

QWizard initializePage is not called

As It's described in the docs initializePage should be called when the Wizard is started. However in my code initializePage is not being called. I notice that validatePage() is also not called, so I must be making a mistake. Someone spots the…
a34life
  • 1
  • 3
0
votes
1 answer

Unable to access wizard() of wizardpage

I'm trying to create a very simple QWizard (actually as part of the process to create a min reproducible example for a different error). What I want to be able to do is to access the QWizardPage's parent, i.e. using the .wizard() call. Here is the…
peetysmith
  • 157
  • 1
  • 10
0
votes
1 answer

Update information on QWizardPage based on information from other pages when IndependentPages option is used

I want to build a QWizard that takes information in some initial pages, then summarizes this info on the final page. The user should be able to navigate back and update values on initial pages, without losing information. Thus I am using the…
0
votes
1 answer

How to make widget that would be displayed on all QWizardPages without dublicate it in every Page?

Qt5. I have the main class class StartupWizard : public QWizard and QWizardPages like these: class IntroPage : public QWizardPage It begins with set pages: setPage(Page_Intro, m_introPage); setPage(Page_UserData, m_fcsPage); for (int i =…
user10609288
0
votes
1 answer

How to properly initialize a QWizard page?

I am having problems with sending data from one QWizard page to the next. I'm using a variable my_name of QWizard object as a container. My approach is: whenever I change text of QLineEdit on Page1, the variable my_name of my QWizard object changes.…
0
votes
1 answer

How to call different functions based on next buttons pressed on specific pages

I am trying to implement a Qwizard application using PyQt5 and I cannot figure out how to call different functions based on which next button is clicked. Apparently, next buttons belong to the Qwizard class and I cannot define specific behavior…
0
votes
1 answer

How to connect PYQT Qwizard next button to a method

Im trying to build an app and to have a wizard with it. i have created the GUI with pyqt5 and used the Qwizard libary for the wizard. im trying to connect a method from a qwizard page to the Next button but cant seem to find a way. I wish to connect…
Udi
  • 67
  • 8
0
votes
0 answers

Button press create/replace new window

Goal: I have an initial window, with 4 choices represented by buttons. When the user clicks on the button, the window content should be cleared (eg. all the buttons should dissapear), and replaced by new content (could be another button, a text…
aze45sq6d
  • 876
  • 3
  • 11
  • 26
0
votes
1 answer

Set button width for QWizard pages

How can I adjust the button width (back, next buttons) of a QWizard. Is there any style sheet (qss) option I can use, or do I have to identify the buttons and set the widget width? The stylesheet approach would be best.
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
0
votes
1 answer

QWizard - back button missing

I have a QWizard, which branches in a following way: ----- Page1 ----- / \ StartPage - Page2 - Page3 - EndPage \ / ----- Page4 ----- The problem is, the the end page only…
eko
  • 369
  • 4
  • 15
0
votes
1 answer

PyQT trouble passing filenames across QWizardPage

I am trying to have the user upload a file to the application on one QWizardPage, and then be able to re-use that same file path on another QWizardPage. However, from my code class ExecutePage(QtWidgets.QWizardPage): def…
kashmoney
  • 412
  • 1
  • 5
  • 17
0
votes
1 answer

How to pass variables from one QWizardPage to main QWizard

I am trying to figure out how to pass variables from (e.g.: an openFile function) inside a QWizardPage class to the main QWizard class. I have also read about signals and slots but can't understand how and if this is the ideal way to do it when…
Craftrac
  • 753
  • 1
  • 7
  • 13
0
votes
1 answer

Show messagebox after page load pyqt5

I have a PyQt5 Wizard and on the second page I want the behavior to change based on previous content. I have implemented initializePage def initializePage(self): if self.altThing: self.onloadbtn.show() # .. do Something …
johnashu
  • 2,167
  • 4
  • 19
  • 44
0
votes
1 answer

Qt QWizard validateCurrentPage isn't called on last page

I have a QWizard, and I override validateCurrentPage() in order to perform actions before passing to the next page. This function is working well on all pages, except for the last page - where Finish is pressed. the accept() function is called, but…
RanH
  • 740
  • 1
  • 11
  • 31
0
votes
4 answers

Open a new window after Finish Button has been clicked on Qwizard : Pyqt5

I want to have the finish button on my QWizard do something else besides exit the page. I need to connect it to a function that calls another window. In other words, I need to view and add functionality to the Finish Button of the Qwizard page. Does…