I've got such a project set up in CMakeLists.txt: (It's a window that opens in the maximized size. There is one button in it. When the button will be ...
I've got such a project set up in CMakeLists.txt: (It's a window that opens in the maximized size. There is one button in it. When the button will be ...
Can you display a QDialog as the central widget of a QMainWindow in Python? If so, how would you do it? I am trying to find the easiest way to add a m ...
I've been trying to close a QDialog that uses a separate ui file. The dialog is used in a slot of a different class (TaskManager). Sorry for the quest ...
So, I have two QDialogs in 2 different classes, in one Qdialog I have a QTableWidget with some data from a MYSQL db, I want to close and re-open it wh ...
I have a program that is "divided" in 6 classes, the first class is the Main Window where I can choose where I'd like to go (I have 4 choices, a page ...
How can I make the QDialog to resize according to the content, and, if the content is larger than the screen size, resize the dialog to the screen siz ...
In PyQt5, I'm wondering why hiding a QMainWindow affects the behaviour of child dialogs? For example, in the code below, if I click "Show dialog" -&g ...
Before I close my main window, I want to do some last operations. I think the closeEvent is the right thing to do that, but the standard QMessageBox d ...
I have a modal with two buttons, one Accept and one Cancel. I set the cancel button to be the default with .setDefault() and .setAutoDefault() Pressi ...
I am struggling to retrieve results from a QDialog window and pass them back to the previous window. I want the user to be able to select a value/valu ...
I use this code to open Dialog box but I do not know how to close it without default button code : I try but did not work ...
I am trying to create a dynamic custom dialog class. That takes the central widget as a parameter and that centralwidget will be the main widget of ...
i am following this tutorial from Qt to create my first porject. I have renamed some Widgets, but I am then consistently using my own names. But when ...
Is there any way by which I can resize a QDialog after removing a QWidget from its layout? I'm still a beginner so bear with me if the code looks a bi ...
I have a q-dialog component that has 2 buttons - CANCEL and OK. Cancel button uses v-close-popup but OK can't use that as it is doing some async data ...
I went throught suggested "questions" about my problem. However neither does not solve it. I program two windows. The second window is opening from f ...
I've been trying to make an application using Pyside6 and can't seem to understand why we can't create a QDialog having QTabWidget with just functions ...
NB OS is W10. The context here is pytest-qt. I found this answer and tried to use it (see later). I get this error when a test method calls an appli ...
I called the resize-method of the modal QDialog. I expected this to not affect its always-on-top behaviour, but instead it is now possible to bring th ...
i'm stuck with this for 2 days.. My code was building without any problems but since i made some changes that are not related with this (i think) it' ...