[Qt-interest] put a scale on the view

Sujan Dasmahapatra sdh at lmglasfiber.com
Fri Jun 12 14:46:52 CEST 2009


I am creating a ggraphicsitems polyline and I am displaying that
.......I want to visualize the coordinates region where my graphicsitems
is placed.I want to have a feel of view coordinates where my
graphicitems are placed.

Kind Regards,
Sujan Dasmahapatra
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Jan Ekholm
Sent: Friday, June 12, 2009 6:01 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] put a scale on the view

On Friday 12 June 2009, Sujan Dasmahapatra wrote:
> Dear Friends
>
> Is there anyway to put a scale on the view ? I mean on my
QGraphicsView
> below along the edge I want to see a scale so that I could understand
> the coordinates on the view.....How could I get it....plss tell me
> someone

Make some graphics item that shows a scale. Some QGraphicsLineItem:s
should do 
it just fine. 

-- 
Jan Ekholm
jan.ekholm at smultron.net
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list