Results 1 to 5 of 5

Thread: QGraphicsRectItem with list of QStrings

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsRectItem with list of QStrings

    Hi Carlos,

    Thanks for reply
    Quote Originally Posted by qlands View Post
    I can post an example if you need.
    I would be grateful if you did.

  2. #2
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsRectItem with list of QStrings

    Hi,

    You can download the example from here:

    http://www.qlands.com/other_files/scenexample.tar.gz

    I documented the example. You will see that I used a container to embed the proxy widget. I use a container because then you can easily use free transformations in the container (size/rotate) and the proxy will react accordingly. See example on free mouse transformations here:

    http://qt-apps.org/content/show.php/...content=133531

    Carlos.

  3. #3
    Join Date
    Apr 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsRectItem with list of QStrings

    Thanks for your example. I was rather thinking of simple graphics objects to be entities not complex ones but it really helped me.
    I even figured out how to make an application using a designer
    Thank you again.

Similar Threads

  1. Can't see container contents, QStrings when debugging
    By MattPhillips in forum Installation and Deployment
    Replies: 3
    Last Post: 31st December 2011, 21:35
  2. Can't declare more than 7 QStrings ?!?!?!
    By ruben.rodrigues in forum Newbie
    Replies: 8
    Last Post: 21st July 2010, 14:42
  3. concatenating path QStrings
    By rbp in forum Qt Programming
    Replies: 2
    Last Post: 19th December 2008, 04:46
  4. QSettings on QStrings
    By OriginalCopy in forum Qt Programming
    Replies: 4
    Last Post: 4th November 2007, 10:57
  5. dynamic matrix of QStrings
    By QiT in forum Newbie
    Replies: 19
    Last Post: 4th April 2007, 09:26

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.