Hi all :)
I am trying to draw a cross in a label with coordinates.
I've think (surely false ;) ) make a a widget, place it on coodinates and
paint it with my cross Image.
here is this code :
class point(QtGui.QWidget):
def __init__(self, x, y, parent):
print parti
On Saturday 22 December 2007, Phil Thompson wrote:
On Saturday 22 December 2007, Henrik Pauli wrote:
[...]
QtCore.QObject.connect(self.lineEdit,QtCore.SIGNAL(returnPressed()),
self.blabla)
QtCore.QObject.connect(self, QtCore.PYSIGNAL(blabla2),
You have two large culprits here:
tv.resizeColumnsToContents()
and
for row in xrange(nrows):
tv.setRowHeight(row, 18)
Both can take a very long period of time.
resizeColumnsToContents is the worst offender as it has to scan every
piece of data in your column, determine its
2007/12/21, Phil Thompson [EMAIL PROTECTED]:
Works fine for me with current versions.
Phil
Ok, I now compiled by myself PyQt 4.3.3 with sip 4.7.3. I have qt
4.3.2 installed. The memory still leaks.
Is there anything that can be done?
Noam
___
PyQt
On Saturday 22 December 2007, Noam Raphael wrote:
2007/12/21, Phil Thompson [EMAIL PROTECTED]:
Works fine for me with current versions.
Phil
Ok, I now compiled by myself PyQt 4.3.3 with sip 4.7.3. I have qt
4.3.2 installed. The memory still leaks.
Is there anything that can be done?
Hi everyone,
How do I draw e.g. a tool box in a QTreeView? I tried override the
model's delegate's paint() function, but it didn't work. I'd like to
do something like this:
http://doc.trolltech.com/4.3/qstyle.html#drawComplexControl
in PyQt4. Is it the right approach?
Regards,
aatiis
hi all,
I wish to show the output of my sql query in a table.
I am unable to do that.
Can someone point out some resource / example or documentation to help me out.
thanks in advance
nishith
-
Be a better friend, newshound, and know-it-all with