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 do I catch a pyqt closeEvent and minimize the dialog instead of exiting?

I have a QDialog object. When the user clicks on the X button or presses Ctrl+Q, I want the …

python pyqt pyqt4 qdialog
How to create filters for QTableView in PyQt

I am using QTableView to display data retrieved from QtSql.QSqlQuery I want to know how can i create filters …

python qt pyqt pyqt4 qtableview
PyQt5 ListWidget add list items

while learning PyQt5 i found a little problem( maybe a bug) in the ListWidget Widget (and all other widgets) the …

python pyqt pyqt5 qlistwidget
Where is the connect() method in PyQt5?

I'm following Mark Summerfield's Rapid GUI Programming with Python and Qt which is using PyQt4. I'd prefer to be working …

python qt pyqt pyqt5
python qt : automatically resizing main window to fit content

I have a main window which contains a main widget, to which a vertical layout is set. To the layout …

qt pyqt resize qtablewidget
How to install PyQt5 on a new virtualenv and work on an IDLE

I installed PyQt5 globally on my win7 system (python 3.3), using the installer provided from the official riverbank website. Then i …

python pyqt virtualenv pip pyqt5
how to make getOpenFileName remember last opening path?

According to getOpenFileName instructions: QString fileName = QFileDialog.getOpenFileName(this, tr("Open File"), "/home", tr("Images (*.png *.xpm *.jpg)")); How can …

python pyqt qfiledialog
Python - PyQt - QTable Widget - adding rows

i am new to PyQt and still bit confused anyhow. I have a text file structure like this: Name Surname …

python pyqt qtablewidget
pyqt - populating QTableWidget with csv data

I have a QTableWidget, i export the data from this table to a csv file. But now, i want to …

python csv pyqt qtablewidget
PyQt QListWidget custom items

how can i create a QListWidgetItem that has 1 image and 2 labels/strings underneath, that have support for css? this is …

python pyqt qlistwidgetitem