[Qt-interest] QTreeView alternative

Josh jnfo-c at grauman.com
Sun May 30 23:15:15 CEST 2010


Sorry for my lack of specificity. At this point I'm just trying to 
brainstorm what would be the best way to view my data. The data is 
morphology information.

A *small* example would be (but there is a *lot* more levels both in 
breadth and depth):

1 Noun
   1.1 Proper
   1.2 Common
2 Verb
   2.1 Finite
     2.1.1 Present Tense
       2.1.1.1 1st Person
       2.1.1.2 2nd Person
       2.1.1.3 3rd Person
     2.1.2 Past Tense
       2.1.2.1 1st Person
       2.1.2.2 2nd Person
       2.1.2.3 3rd Person
   2.2 Infinitive
   2.3 Participle
3 Adjective
4 Particle

The treeview of course works for this. It just didn't seem like a perfect 
fit (columnview might be better). So I was just trying to see what other 
widgets are out there to display hierarchical data in Qt. I though maybe 
just looking at different examples, maybe one would fit better than the 
treeview. Thanks for the input.

Josh


> Op 30-5-2010 11:51, Andre Somers schreef:
>> Op 30-5-2010 2:27, Josh schreef:
>>
>>> Hello all,
>>>
>>> I'm using a QTreeView to display some data that is hierarchical (ie.
>>> parent and child nodes). Using the QTreeView works, but it seems to me
>>> that there might be a better way of displaying the data graphically. I'm
>>> not exactly sure what would be the best way to do so, but I thought I'd
>>> ask if anyone knew of any QTreeView alternatives (preferably Qt and LGPL),
>>> but any ideas would be helpful. Has anyone developed a non-traditional
>>> tree view of sorts? Thanks!
>>>
>>> Josh
>>>
>>>
>> There are plenty of alternatives, but you are not very specific on your
>> requirements to say the least. Does QColumnView fit the bill for you? Or
>> perhaps a QListView with a kind of "trail view" above it like you get in
>> file managers nowadays?
>>
> I could not think of the right term to use before. They call it "bread
> crumb" view I think.
>
> André
>
> _______________________________________________
> 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