[Qt-interest] QGraphicsView coordinates
Phil
phillor at telstra.com
Wed Dec 17 09:31:13 CET 2008
On Wednesday 17 December 2008 17:13:11 Rohan McGovern wrote:
>
> If you want to paint on mapFrame, which is a widget, do it from
> within mapFrame's paintEvent function.
Thanks for the almost instant reply Rohan.
No doubt that is the correct solution, however, I have already created a Frame
class but it didn't work and I expect that was due to it's constructor.
The frame that I'm trying to draw on is created by designer and sits on top of
the main window. I'm struggling to understand what class my frame class has to
inherit or even if it has to inherit any class.
--
Regards,
Phil.
More information about the Qt-interest-old
mailing list