Skip to content Skip to sidebar Skip to footer
Showing posts with the label Qt4

Qtextedit.find() Doesn't Work In Python

Simple code demonstrating the problem: #!/usr/bin/env python import sys from PyQt4.QtCore import Q… Read more Qtextedit.find() Doesn't Work In Python

Issue With Scrollarea In Pyqt?

This is the file I generated using qt-designer. from PyQt4 import QtCore, QtGui try: _fromUtf8… Read more Issue With Scrollarea In Pyqt?

Qt4/pyqt4 - Can Not Set The Default Font For Qtextdocument

My code is like this: from PyQt4 import QtGui doc = QtGui.QTextDocument() d_font = QtGui.QFont(… Read more Qt4/pyqt4 - Can Not Set The Default Font For Qtextdocument

Pyqt4: Less Round-about Way Of Removing Item From QListWidget?

I want to remove an item whose name I know. I came up with: item = lw.findItems(name, QtCore.Qt.Mat… Read more Pyqt4: Less Round-about Way Of Removing Item From QListWidget?