hi all,
i've a problem with isColumnHidden
def __setupContextMenu(self):
self.treeView_societe.header().setContextMenuPolicy(Qt.CustomContextMenu)
self.__menu = QMenu(self)
for a in range(len(TabSoc)):
act = QAction(TabSoc[a], self)
TypeError: unable to convert a QVariant of type 6 to a QMetaType of type
12738896
I have that error message. I have python-defined class that provides a property
as:
class X (QObject):
xScale = pyqtProperty(double, getScaleX, setScaleX)
then Qt tries to update the property
On Donnerstag, 23. Juli 2009, Mario Daniel Carugno wrote:
I guess Eric is a complex application, and Python is not the best option to
write applications to run fast (Eric is written in Python as you probably
know). I don't like Eric for that reason. Use kate or a better editor, VIM
;-) Good
projetmbc wrote:
I still have a little problem because I only want to have the comments
in bold font in my example. Indeed all is in bold font. I don't
understand why.
the problem is this line:
if style == self.Comment or self.Comment_End:
i think you meant:
if style ==
Hi,
how can I set programmatically the height of the rows of a QTreeView?
I would like also to increase the font, but doing
self.font().pixelSize() returns -1
Any Ideas?
Thanks
--
Luck favors the prepared mind. (Pasteur)
___
Hi. There's an error in the latest snapshot in
examples/designer/plugins/widgets/highlightedtextedit.py
Fix by doing this on line 133:
- index = text.indexOf(expression, start)
+ index = expression.indexIn(text, start)
___
PyQt mailing list
A Dijous, 23 de juliol de 2009, Fabrizio Milo aka misto va escriure:
Hi,
how can I set programmatically the height of the rows of a QTreeView?
Row height depends on the sizeHint() of all the delegates in the row. So it
depends on the font size (or if the text is wrapped, etc).
I would like
Baz Walter a écrit :
projetmbc wrote:
I still have a little problem because I only want to have the
comments in bold font in my example. Indeed all is in bold font. I
don't understand why.
the problem is this line:
if style == self.Comment or self.Comment_End:
i think you meant:
Hi,
I've some layout issues with customized widgets on the Mac, and now, I would
like to _intercept_ a single QStyle method: layoutSpacingImplementation(),
but how? I can create a style with QtGui.QStyleFactory.create(), but how do
I intercept such a method? PyQt forbids me to subclass the