Top "Pyqt4" questions

PyQt is a set of Python bindings for Qt application framework and runs on all platforms supported by Qt including Windows, MacOS/X and Linux.

How do you set the column width on a QTreeView?

Bear with me, I'm still new to QT and am having trouble wrapping my brain around how it does things. …

python pyqt pyqt4 qtreeview
How to dynamically update QTextEdit

so I have a QTextEdit within a Main Window in my GUI. I want to live update the text in …

python pyqt pyqt4 qtextedit
Qt - How to get the pixel length of a string in a QLabel?

I have a QLabel of a fixed width. I need to check (periodically) that the entire string fits inside the …

python pyqt width pyqt4 qlabel
PyQt4: Difference between QWidget and QMainWindow

When reading through a PyQt4 tutorial, sometimes the examples uses QtGui.QMainWindow, sometimes it uses QtGui.QWidget. Question: How do …

python python-2.7 pyqt pyqt4
How to delete row/rows from a qtableview in pyqt?

I am using QStandardItemModel for my qtableview. import ui_my_viewlogs import os from PyQt4 import QtCore, QtGui class my_…

python qt pyqt pyqt4 qtableview
PyQt - simplest working example of a combobox inside QTableView

Background: I cannot find a full working example of a combobox inside a QTableView. So I wrote this code based …

python qt pyqt pyqt4
Changing the color of a QProgressbar()

I was wondering whether it's possible to change the color of a PyQt Progressbar? I have the following code: from …

python pyqt progress-bar pyqt4 qprogressbar
PyQt4 MouseMove event without MousePress

I need to catch when a User moves the mouse over the GUI, but not when they're holding down the …

python pyqt mouseevent pyqt4 mouseover
Drag and drop rows within QTableWidget

Goal My goal is to have a QTableWidget in which the user can drag/drop rows internally. That is, the …

qt pyqt pyqt4 pyside
Hiding console window of Python GUI app with py2exe

I have a Python program uses Qt (PyQt4 in fact) and when I launch it from its main.py, I …

python pyqt pyqt4 py2exe