sender() returns None using PySide6
I found an example of using QAbstractItemModel with QTreeView that was written using PyQt4. I have adjusted the code for my need and used the PySide6. Majority of functionality is working apart of one – when I click the button with the name of the project it gives me an error:
How to acces object in QTreeView
I have a script that contains 4 classes: class Node, class TreeViewModel, class Prj_Collection and class Prj.
How to show QMessageBox inside a function
I need to show a MessageBox to let the user deicide if He wants to overwrite a file.
How to disable a QPushButton until function is completed?
I need to disable the button until the function is completed.
How to disable a button until function is completed?
I need to disable the button until the function is completed.
pyside6 Is it possible to connect QSlider.valueChanged with QLabel.setText in one line?
I have a GUI and I want to connect a slider and a label showing the current slider value.
The QSlider.valueChanged
event returns an integer, while QLabel.setText
needs a string. Is there a possibility, to connect these both elements in one line instead of writing an extra function?