> > I am doing this. I think I need to extend QLIneEdit to display "search > > ..." at first, and clear the text when searchLE gets focus. > > no, you could connect to the textEdited(const QString &) signal and > subset the items and update the treewidget
But how to clear the 'search ...' text when the lineedit gets focus? I think we need some initial text in this lineedit, like what firefox does to its search box. > better is use qt's model/view framework ... Frankly, I have no idea what you (and Andre) are talking about... my qt IQ is barely above 0. :-) Bo