Results 1 to 4 of 4

Thread: Centralizing various GraphicsItem in QGraphicsView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    17
    Qt products
    Qt4
    Platforms
    Windows

    Default Centralizing various GraphicsItem in QGraphicsView

    Hi,

    I am trying to draw a QPolygon of QVectors in a QGraphicsScene.

    Depends on some conditions, n numbher of polygon is added in the graphicsview and it has been drawn in different places of the view... like first polygon is placed in left bottom of the QGV, second is at right bottom, etc in a random manner...

    I would like to place all the polygons in a central axis like in the After_Centralization.jpg image... (Rfer Before_Centralization)...

    Please help me on acheiving this?

    Regards
    Ranna
    Attached Images Attached Images

Similar Threads

  1. Replies: 21
    Last Post: 3rd April 2009, 12:22
  2. Replies: 0
    Last Post: 5th March 2009, 06:54
  3. Replies: 2
    Last Post: 26th February 2009, 10:12
  4. QGraphicsView and embeded widgets
    By bunjee in forum Qt Programming
    Replies: 10
    Last Post: 12th October 2008, 07:43
  5. Problem determining size of QGraphicsView
    By Bocki in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2008, 14:54

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.