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

PyQT: how to open new window

First of all, similar questions have been answered before, yet I need some help with this one. I have a …

python pyqt pyqt4
How to find Version of Qt?

How do I know which version of Qt I am using? When I open Qt Creator it shows "Welcome to …

qt4 pyqt qt-creator qtcore qtcpsocket
PyQt5 failing import of QtGui

I've just moved from PyQt4 to 5 and I'm having an issue with QtGui. I installed using the 32bit windows installer, …

python python-3.x pyqt pyqt5
Calling a function upon button press

I am trying to call function funcion when I click btn_brow_3. How could I accomplish this? When running the …

python function button pyqt
Python: PyQt Popup Window

So I've been creating my GUI with Qt for my Python application. I've now come to a situation where after …

python pyqt
PyQt proper use of emit() and pyqtSignal()

I am reading through some documentation on PyQt5 to come up with a simple signal-slot mechanism. I have come to …

python pyqt signals signals-slots pyqt5
Clear all widgets in a layout in pyqt

Is there a way to clear (delete) all the widgets in a layout? self.plot_layout = QtGui.QGridLayout() self.plot_…

python qt pyqt pyqt4
How to change QPushButton text and background color

I am using following code to connect QMenu to QPushButton. When button is clicked a pull-down menu with multiple sub-menu's …

python qt pyqt qtstylesheets
PyQt - how to add separate UI widget to QMainWindow

I've only recently started programming and Python (PyQt) in particular. I have my main QMainWindow class. But I wanted to …

python layout pyqt qmainwindow
How to set QWidget background color?

The line w.setBackgroundRole(QPalette.Base) in the code below has no effect. Why? How do I fix that? import …

python pyqt pyside