Results 1 to 11 of 11

Thread: QGraphicsview size is 30 x 100

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Location
    Budapest, Hungary
    Posts
    125
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 2 Times in 2 Posts

    Default QGraphicsview size is 30 x 100

    Hi,

    I have the very same problem described here:
    http://stackoverflow.com/questions/5...-qgraphicsview

    I would like to get the size of the QGraphicsView placen on the ui. Its size is not constant az it is in a layout. You can see in the attechment what I have now. Unfortunatelly I constantly get 30 as height and 100 as width. Where can I have a correct value? If I break teh layout the very same code works fine but it is not stretchable then.
    Attached Images Attached Images
    Szilvi

Similar Threads

  1. [QGraphicsView] Size stretch
    By bspitz in forum Qt Programming
    Replies: 4
    Last Post: 10th May 2011, 09:23
  2. QGraphicsView and QWebView size question
    By MarkoSan in forum Qt Programming
    Replies: 0
    Last Post: 24th April 2009, 01:25
  3. How to increase size of QGraphicsView Dynamically
    By Kingofhearts_sri in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 08:54
  4. Setting the scene size in QGraphicsView
    By Valheru in forum Newbie
    Replies: 5
    Last Post: 11th November 2007, 15:03
  5. Size of QGraphicsView
    By IsleWitch in forum Newbie
    Replies: 10
    Last Post: 10th October 2007, 12:09

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.