Top "Pyqt5" questions

Qt5 bindings for Python programming.

Clear QLineEdit on click event

I am using the given code, I want the user to enter text in the QLineEdit widget, press the Copy! …

python python-3.x pyqt pyqt5 qt-designer
Python PyQt5 QTreeWidget sub item

How to create sub item in the QTreeWidget? I was able to create top level items (listing below), but still …

python pyqt pyqt5 qtreewidget qtreewidgetitem
qt gridlayout spanning multiple columns

I am trying to create this geometery: _ ___ | | | |1| 3 | |_|___| |_2_| Where the 1 box is tall and skinny, the 2 box is short and wide. …

qt pyqt pyqt4 pyqt5
pyQt5 change MainWindow Flags

I use python 3.4 , pyQt5 and Qt designer (Winpython distribution). I like the idea of making guis by designer and importing …

python pyqt5 qt-designer flags qmainwindow
How to draw a rectangle and adjust its shape by drag and drop in PyQt5

I'm trying to draw a rectangle on GUI created by PyQt5 by drag and drop. I managed to do that, …

python pyqt pyqt5 qpainter qmouseevent
File dialog not working with PyQt5?

This is my first time attempting to create a GUI. I have created a simple program with a button that …

python pyqt pyqt5 qt-designer qfiledialog
PyQt5: Keyboard shortcuts w/ QAction

How do I implement keyboard shortcuts (to run a function) in PyQt5? I see I'm supposed QAction in one way …

python pyqt keyboard-shortcuts python-3.4 pyqt5
No name 'QApplication' in module 'PyQt5.QtWidgets' error in Pylint

Running into this issue in VS Code while trying to learn PyQt5, "No name 'QApplication' in module 'PyQt5.QtWidgets'", "No …

python python-3.x visual-studio-code pyqt5 pylint
PyQt5 QTimer count until specific seconds

I am creating a program in python and i am using pyqt. I am currently working with the QTimer and …

python pyqt pyqt5 qtimer
pyuic5 - ModuleNotFoundError: No module named PyQt5.sip

I have just installed Anaconda 5.2 with Python 3.6 on my windows system. Also installed pyqt5 and pyqt5-tools via pip with …

python anaconda pyqt5