Results 1 to 4 of 4

Thread: QCanvas Example

  1. #1
    Join Date
    Mar 2006
    Location
    Hyderabad
    Posts
    69
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default QCanvas Example

    hi,
    Do anyone have a simple example on QCanvas. It should have a class other than main method.

    Thanks in advance,
    Sarma.
    Last edited by Sarma; 7th March 2006 at 09:35.

  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: QCanvas Example

    This might be what you are looking for: http://www.digitalfanatics.org/proje...chapter12.html

  3. #3
    Join Date
    Mar 2010
    Posts
    69
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QCanvas Example

    Why my Visual studio 2008 pro version does not support QCanvas?
    Can anyone help me in this case please?

  4. #4
    Join Date
    Apr 2009
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QCanvas Example

    Quote Originally Posted by chandan View Post
    Why my Visual studio 2008 pro version does not support QCanvas?
    Can anyone help me in this case please?
    What version of Qt do you have? QCanvas was phased out in 4.x. If you are really looking for the QCanvas functionality for compatibility with Qt 3.x software, it's still available under the Q3Canvas class. If you're currently working with Qt 4.x and have no need to interact with Qt 3.x software, then you should begin with QGraphicsView.

Similar Threads

  1. QCanvas automatically lose its focus.
    By Cutey in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2007, 12:29
  2. Unable to resize a QCanvas.
    By yellowmat in forum Newbie
    Replies: 2
    Last Post: 21st June 2006, 13:52
  3. QCanvas Files not found
    By Kapil in forum Installation and Deployment
    Replies: 5
    Last Post: 24th March 2006, 08:36
  4. QCanvas Examples
    By Kapil in forum Qt Programming
    Replies: 6
    Last Post: 23rd March 2006, 14:12
  5. Replies: 7
    Last Post: 20th March 2006, 21: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.