Results 1 to 6 of 6

Thread: QGraphicsItem or QGraphicsProxyWidget?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    47
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default QGraphicsItem or QGraphicsProxyWidget?

    Hi,

    I need to create an image as below
    Attachment 3604
    It contains:
    1) one or more nodes with a text label. The node is not filled when created, but will be filled with progress
    2) there are one or more ports on each node connecting them together

    I first looked at the Diagram Scene example, but I'll need the port(s) to know which node connecting to which port and also need to add text to the node.

    Should I subclass QGraphicsItem or QGraphicsProxyWidget or something else? Thanks in advance.
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 25th March 2011, 09:18
  2. destruction of QGraphicsItem
    By killkolor in forum Qt Programming
    Replies: 2
    Last Post: 5th December 2009, 10:31
  3. Replies: 11
    Last Post: 2nd July 2009, 00:41
  4. Replies: 1
    Last Post: 25th February 2009, 00:34
  5. Multiple Inheritance for QGraphicsItem
    By pankaj.patil in forum Qt Programming
    Replies: 2
    Last Post: 1st July 2008, 14:49

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