Results 1 to 7 of 7

Thread: Questions about QGraphicsItems

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Questions about QGraphicsItems

    Hey @all,

    i would like to draw a QPixmapItem and under the pixmap i would like to have a QGraphicsTextItem. I can move each item (QPixmapItem and QGraphicsTextItem) and each of them has a border when i select one of these.

    But how can i do that, so when i move a QPixmapItem, that the QGraphicsItem moves also?
    I 've tried to do so with a QGraphicsItemGroup, but here is the problem when i select an item, then all items (QPixmapItem and QGraphicsTextItem) have a selection border but i will have only one border.

    Can anybody help please?

    Kind Regards
    NoRulez
    Last edited by NoRulez; 22nd April 2008 at 10:05. Reason: Better title

Similar Threads

  1. Disable default tab behaviour for a QGraphicsItem
    By nmather in forum Qt Programming
    Replies: 3
    Last Post: 13th December 2017, 10:30
  2. QGraphicsItem doesn't inherit QObject?
    By xyzt in forum Qt Programming
    Replies: 6
    Last Post: 26th September 2011, 14:59
  3. QGraphicsView, QGraphicsItem, QGraphicsScene
    By Shuchi Agrawal in forum Newbie
    Replies: 10
    Last Post: 23rd March 2011, 20:50
  4. destruction of QGraphicsItem
    By killkolor in forum Qt Programming
    Replies: 2
    Last Post: 5th December 2009, 10:31
  5. QGraphicsItem with QSizeGrip
    By elsheikhmh in forum Newbie
    Replies: 7
    Last Post: 19th November 2009, 18:53

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.