[Qt-interest] Tree Item High Lighter

Sajjad dosto.walla at gmail.com
Mon Dec 27 00:54:53 CET 2010


Hello forum,

I have subclassed the QAbstractItemModel to generate a customized tree model
and since the tree model represent a large database, it is hard for the user
to browse down all  the items in the  tree and find a  particular item. For
a better usability, i would like to have a textfield where the user type a
item name and the item with the name matched will be highlighted in the
tree.

Any hint on implementing this feature. I think i need to work with regular
expression here and i am not sure how to search down the tree and highlight
it.

If there is already any example implementing this feature, please forward me
to this.


Any suggestion on implementing this feature would be very helpful.


Happy New Year

Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101227/bba3325b/attachment.html 


More information about the Qt-interest-old mailing list