PDA

View Full Version : What is the name of the widget used for filling text in gnome planner?



TheIndependentAquarius
18th November 2011, 05:06
The screen shot has been attached.

There is a kind of tree shaped widget in which you can fill in details, I wish to know its name.
Do we have such a widget in Qt?

Please help.

b1
18th November 2011, 06:00
Anisha,

The main part looks like a QTreeWidget (http://doc.qt.nokia.com/latest/qtreewidget.html) to me or maybe a QTreeView (http://doc.qt.nokia.com/latest/qtreeview.html).

B1.

TheIndependentAquarius
18th November 2011, 06:06
Thanks, but can text be entered in those tree styles?

b1
18th November 2011, 06:56
I believe it can. Reading the links I gave you and a look at this example (http://doc.qt.nokia.com/latest/itemviews-editabletreemodel.html) should answer your questions.

TheIndependentAquarius
18th November 2011, 07:35
Thanks, the example looks promising for sure, I'll look into that.

Added after 33 minutes:

What do you think about this? Is this relevant too?
http://doc.qt.nokia.com/latest/qabstractitemdelegate.html

b1
18th November 2011, 07:57
What do you think about this? Is this relevant too?
http://doc.qt.nokia.com/latest/qabstractitemdelegate.html

Yes it is relevant. I have just started to use view/models myself and am still learning them as well.

B1.