Results 1 to 6 of 6

Thread: QGraphicsItem: pure virtual method call problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QGraphicsItem: pure virtual method call problem

    What is QgsMapCanvasItem::QgsMapCanvasItem() and setFlag() doing?
    Last edited by ChrisW67; 17th January 2012 at 08:12.
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

  2. #2
    Join Date
    Jan 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGraphicsItem: pure virtual method call problem

    Quote Originally Posted by ChrisW67 View Post
    What is QgsMapCanvasItem::QgsMapCanvasItem() and setFlag() doing?
    Hi ChrisW67,

    The QgsMapCanvasItem is a class of QGis library. you can see the constructor of QgsMapcanvasItem here:http://qgis.org/api/qgsmapcanvasitem_8cpp-source.html. The setFlag is a member function of QGraphicsItem class: http://developer.qt.nokia.com/doc/qt...m.html#setFlag

Similar Threads

  1. Replies: 2
    Last Post: 26th November 2011, 05:52
  2. the pure virtual method "abort" in QNetworkReply
    By mavenlin in forum Qt Programming
    Replies: 2
    Last Post: 9th July 2011, 11:01
  3. Replies: 16
    Last Post: 13th March 2008, 18:46
  4. Cost of pure virtual
    By ShaChris23 in forum General Programming
    Replies: 4
    Last Post: 4th November 2007, 19:20
  5. inheritance, pure virtual
    By TheKedge in forum General Programming
    Replies: 2
    Last Post: 18th January 2007, 12:20

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.