[Qt-interest] What classes will i need?
Usman Ajmal
uzmanajmal at gmail.com
Mon Jul 6 10:43:07 CEST 2009
Hi,
I want to develop an application having following requirements. I just want
to know your suggestions especially about classes of QT that i will need for
my req.
1. I want to have two panes in my app. One in which textual info will appear
and the other (relatively wider than the earlier pane) in which
clickable-rectangles will appear.
2. The number of rectanges is read from a file i.e. they are not already
drawn but will be shaped dynamically when the application executes.
3. Whenever any of the rectangles is clicked, textual info related to that
rectangle (read from a file) is to appear in the textual pan.
4. Text to appear on rectangles too like e.g. their names.
What i think:
a. I think i will need QPainter for drawing rectangles but don't know if i
can make them clickable.
b. From Qt designer i have selected 'List View' for my textual pane...and
'Graphics View' for my rectangles-pane. Am i right?
c. Don't know whether the Graphics View options is correct or should i go
for making a new widget and then use QPainter to draw clickable-rectangles
in that widget.
Thanks for guidance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090706/af4be4db/attachment.html
More information about the Qt-interest-old
mailing list