Results 1 to 2 of 2

Thread: Should I use QCanvas+QCanvasView+QCanvasItems instead of QWidget ?

  1. #1
    Join Date
    Jan 2006
    Posts
    162
    Thanks
    9
    Qt products
    Qt3
    Platforms
    Windows

    Default Should I use QCanvas+QCanvasView+QCanvasItems instead of QWidget ?

    Hi everybody !

    I need to developp (using Qt3) a graphic application which will manage several custom graphic objects I must developp.

    It will be 2D graphics and custom widgets are quite simples (transparent texts, pixmaps, no animations). I also need to control the Z order to be sure to keep some graphic objects at the right z order.

    I looked the Qt documentation and read that for 2D graphics QCanvas can be used, but also QWidget ... but I don't know which one to choose.

    Could anyone help me to make the right choice ?

    Thanks in advance.
    Last edited by yellowmat; 21st June 2006 at 09:01. Reason: To tell which version of Qt I am using

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Should I use QCanvas+QCanvasView+QCanvasItems instead of QWidget ?

    It sounds as if you're after a canvas, yes. Check out http://www.digitalfanatics.org/proje...chapter12.html for examples of what the Qt 3 canvas can be used for.

Similar Threads

  1. Replies: 7
    Last Post: 20th March 2006, 20:03

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.