[Qt-interest] Inserting items in QTreeView
Jaco Naude
naude.jaco at gmail.com
Wed Dec 2 07:45:31 CET 2009
If I'm not missing something it is not necessary to reset your model
after you insert something, just when you remove something.
Cheers
Jaco
On Mon, Nov 30, 2009 at 10:58 AM, Damian Hischier <himbow at gmail.com> wrote:
> Hello list
>
> How can I insert items in an exisiting QTreeView that the inserted
> item will be shown in the tree view. The QTreeView is build on a
> QAbstractItemModel. If I call reset on the tree view the tree always
> collapses. What do I have to do that the item will be inserted and
> displays in the tree without collapsing the tree.
>
> Thank you very much for your help
>
> Damian
> _______________________________________________
> 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