you can then overload the paint()
class BasePage(QGraphicsObject):
def __init__(self, parent):
super(BasePage, self).__init__(parent)
self.pic = QGraphicsPixmapItem(QPixmap(path_to_your_pic), self)
def paint(self, painter, option, widget=None):
painter.drawPixmap(
Jeremy Sanders wrote:
> #0 0x7fffef1ded48 in QExplicitlySharedDataPointer::data
> (this=0x3e)
> at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:138
> #1 0x7fffef1d943c in QFont::QFont (this=0x1d58ac0, font=...) at
> text/qfont.cpp:822
> #2 0x7fffef0ce241 in
I want the setPixmap functionality though.
Philippe Crave wrote:
>
> you should inherit qgraphicsobject
> http://doc.qt.nokia.com/4.6/qgraphicsobject.html
>
>
>
--
View this message in context:
http://old.nabble.com/Signals-with-QGraphicsPixmapItem-tp28859505p28865807.html
Sent from the
Hi,
I just uploaded eric 4.4.5. It is a maintenance release fixing some bugs. It
is available via the eric web site.
http://eric-ide.python-projects.org/index.html
Regards,
Detlev
--
Detlev Offenbach
det...@die-offenbachs.de
___
PyQt mailing list
Hi,
I just uploaded eric 5.0.0-RC1. It is the first (and hopefully only) release
candidate. It is available via the eric web site.
http://eric-ide.python-projects.org/index.html
Regards,
Detlev
--
Detlev Offenbach
det...@die-offenbachs.de
___
PyQt ma