Results 1 to 9 of 9

Thread: Advice on how to implement a rotating and zooming drawing canvas

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Oct 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1

    Default Re: Advice on how to implement a rotating and zooming drawing canvas

    Oh, you mean I can paint(draw) directly in the scene with the mouse or tablet? As far as I know, you could only do that with classes derived from QPaintDevice, you can add items to the scene but not draw directly in it, that is what I readed in the documentation, or am I missing something here?

    Unless Im not explaining myself correctly, I want to actually use the mouse or tablet to scketch there.

    I was going to make a class derived from QWidget (also using QImage for loading images), to make me a drawing canvas Widget, then put that in the scene and rotate it with a view. I saw this canvas approach in the Scribble and Tablet examples that comes with Qt. Both make a canvas that derives from QWidget.

    I want to make something like the little japanese program called Opencanvas.
    Last edited by ruakuu; 2nd October 2009 at 18:25.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.