Results 1 to 2 of 2

Thread: Inheriting from QGraphicsSvgItem and QGraphicsLayoutItem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2009
    Location
    Czech Republic
    Posts
    26
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Inheriting from QGraphicsSvgItem and QGraphicsLayoutItem

    So...
    1. setRotation(..) - I'm still not able to resolve this one
    2. setPos(..) - can by solved with something like setPosAdjustment(..)
    3. setTranformOriginPoint(..) - works


    You probably need to see the source code - here is version with some testcases, do not worry, it's rather short
    I would appreciate any help concerning setRotation(..) and even other things like tips how to improve the current code.
    QGraphicsSvgLayoutItem_.zip
    Last edited by Palmik; 23rd February 2010 at 16:03.

Similar Threads

  1. heightForWidth QGraphicsLayoutItem
    By bunjee in forum Qt Programming
    Replies: 0
    Last Post: 20th October 2009, 09:14
  2. A Object inheriting from QGraphicsLineItem
    By jano_alex_es in forum Newbie
    Replies: 15
    Last Post: 15th July 2009, 09:25
  3. Subclassing QGraphicsTextItem and QGraphicsLayoutItem
    By psih128 in forum Qt Programming
    Replies: 2
    Last Post: 15th October 2008, 20:12
  4. Is it possible to create a QThread without inheriting ?
    By probine in forum Qt Programming
    Replies: 6
    Last Post: 23rd March 2006, 22:51
  5. Inheriting QListViewItem
    By ct in forum Newbie
    Replies: 1
    Last Post: 17th March 2006, 05:52

Tags for this Thread

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.