Top "Pyqt" questions

PyQt is a set of Python v2 and v3 bindings for The Qt Company's Qt application framework and runs on all platforms supported by Qt including Windows, macOS, Linux, iOS and Android

How to implement a simple button in PyQt

I want to implement a simple button in PyQt which prints "Hello world" when clicked. How can I do that? …

python button pyqt pyqt4 signals-slots
How to add a row in a tableWidget PyQT?

I am currently working on a widget that was designed in Qt Designer. I am having trouble with the syntax / …

python pyqt pyqt4 qtablewidget
Change QLabel text dynamically in PyQt4

My question is: how can I change the text in a label? The label is inside a layout, but setText() …

python text pyqt qlabel pyuic
Detecting enter on a QLineEdit or QPushButton

I've built an app for a game, simple to start. It's a game in which the system randomly chooses a …

qt python-3.x pyqt keypress qlineedit
How to use QFileDialog options and retrieve saveFileName?

I'm trying to use a QFileDialog to prompt a user to provide a filename and location to save a text …

python pyqt pyqt4 exec qfiledialog
PyQt4.QtCore.pyqtSignal object has no attribute 'connect'

I'm having issues with a custom signal in a class I made. Relevant code: self.parse_triggered = QtCore.pyqtSignal() def …

python pyqt signals pyqt4
What is the correct way to make my PyQt application quit when killed from the console (Ctrl-C)?

What is the correct way to make my PyQt application quit when killed from the console (Ctrl-C)? Currently (I have …

python linux qt pyqt signals
Python PyQt on macOS Sierra

How can I get to work PyQt 4 or 5 on a Mac with OS X Sierra? It seems that I have …

python macos pyqt
PYQT4 - How do I compile and import a qrc file into my program?

I'm having trouble importing a resource file. I'm using pyqt4 with monkey studio and I am trying to import a …

python pyqt pyqt4 resource-files
PyQt - QFileDialog - directly browse to a folder?

Is there any way to directly browse to a folder using QFileDialog? Meaning, instead of double clicking on each folder …

python qt pyqt qfiledialog