Questions tagged [qwizardpage]

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

QWizardPage is a class in the Qt C++ library. It represents the individual pages of a QWizard and is the base class for wizard pages.

29 questions
3
votes
1 answer

How to load a Qt Designer file (.ui) in a QWizardPage using PySide2

I want to design my QWizardPages in Qt Designer and I want to load them into my Python program with PySide2. Previously I have been using PyQt5 without any problems but making the switch to PySide2 seems harder then expected. The problem I am facing…
Enzo
  • 81
  • 7
2
votes
1 answer

QSpinbox in QWizardPage gets initial focus even if its focus-policy is set to NoFocus

I create a QSpinBox in a QWizardPage. It get focus at the start of the wizardpage even when I set the focusPolicy to Qt.Nofocus. What I set in Qt creator is: But When the wizardpage start, I got: Then, if I press Tab for several times, the focus…
hellohawaii
  • 3,074
  • 6
  • 21
2
votes
1 answer

How can I go to a specific QWizard page number?

Qt 5, QWizard Hello! I have checked some answers on that subject but still can't quite figure that out. Here is the idea that I want to do: I want to create a button group navigate between QWizard pages. For example, at the top of my QWizard I…
user10609288
2
votes
1 answer

How can i disable the next button PyQt5 QWizard if a condition is not respected?

I have to do a GUI for a script running on terminal to modify the login Background on Ubuntu, i decided to use PyQt5 QWizard to do it and in the firs page i have to disable the next button if the distro used is not compatible. I can't find the way…
cedrata
  • 29
  • 7
2
votes
1 answer

How to add QMenuBar to QWizardPage?

I am trying to add a QMenuBar to QWizardPage QMenuBar *menuBar = new QMenuBar; menuBar->setNativeMenuBar(false); QMenu *helpMenu = new QMenu; QAction *helpAction = new…
2
votes
1 answer

How can I customize the title of a QWizard in PyQt5?

I'm designing an assistant for charging csv files in a project with other widgets. I've almost finished the assistant, subclassing QWizard and QWizardPage, but I'm stuck in customizing the aspect of the title and the subtitle, as it have to be…
2
votes
1 answer

Center resized Qwizard page

I have a Qwizard with 2 pages. When the wizard is opened, it is centered in the middle of the screen. The first page is smaller than the second page. When next is clicked and the second page is displayed, it adds the extra items to the bottom of the…
johnashu
  • 2,167
  • 4
  • 19
  • 44
2
votes
1 answer

QWizardPage: how to re-disable "Next" button

I have a QWizardPage where user is supposed to go through certain steps, at the end of which there is a button "Test". If user presses that button, two things happen: "Next" button gets enabled in order to go to the next page of the QWizard. This…
vicrucann
  • 1,703
  • 1
  • 24
  • 34
1
vote
1 answer

How to disable the back button for all pages of QWizard?

I want to disable all back buttons from my application. I found a solution only for the first and last page, but I can't disable it for all the pages. self.setOption(QWizard.NoBackButtonOnStartPage) self.setOption(QWizard.NoBackButtonOnLastPage) …
Alin
  • 25
  • 2
1
vote
1 answer

How to use CustomButton to change QWizard page in Qt?

I have a QWizard with 2 custom buttons (on top of the Back\Next buttons). I wish that a click on my custom button will change to another QWizardPage. How do I do that? Thanks
RanH
  • 740
  • 1
  • 11
  • 31
1
vote
1 answer

How to run a QThread from QWizardPage and access field()

I need some advice to access the field(QString name) variable in QWizardPage from a QThread. I'm building some kind of an installer and I want to do the installing work in a separate Thread. My purpose: When reached the commit/install page, I want…
Tiger69
  • 11
  • 2
1
vote
1 answer

Connect QWizard.NextButton to custom method only on the first page

I have a three pages wizard. First page is BasicSettings(), second page is InstallPackages() and the last page is Summary(). I want the Next button on the first page to first execute a method named execute_venv_create() and then call the next page.…
Joey
  • 1,436
  • 2
  • 19
  • 33
1
vote
1 answer

Disable default focus on a QWizardPage's next button and let a custom QPushButton be triggered by 'enter' instead

I'm working on a QWizardPage where the user can search for packages to install. Therefore I provided a search button (a QPushButton) and a QLineEdit (as the search button's buddy()). My problem is, that the wizard's next button has focus all the…
Joey
  • 1,436
  • 2
  • 19
  • 33
1
vote
1 answer

Arguments passed to venv.create() have no effect when creating a virtual environment

I'm working on a PyQt5 wizard to create Python virtual environments. Creating the environment works. The arguments (for example, with or without pip, ...) are passed from a QCheckBox() to the create() function of the venv module that comes with…
Joey
  • 1,436
  • 2
  • 19
  • 33
1
vote
2 answers

pyqt wizard registerfield as string and not integer

I am trying to create a Wizard using PyQt5 and I'm trying to make it so that the input entered by the user on one page influences what the user will see on the next page. However, when I try and do so, I only see the index value as opposed to the…
kashmoney
  • 412
  • 1
  • 5
  • 17
1
2