QTreeWidget::clear problem
General and Desktop
4
Posts
4
Posters
3.7k
Views
1
Watching
-
Is this right, after calling slot "QtreeWidget::clear()":http://developer.qt.nokia.com/doc/qt-4.8/qtreewidget.html#clear method "QTreeView::rowsAboutToBeRemoved":http://developer.qt.nokia.com/doc/qt-4.8/qtreeview.html#rowsAboutToBeRemoved must be called? I redefine rowsAboutToBeRemoved in my subclass to remove independent information, but it does not work after calling clear. Why so, after calling "QTreeWidgetItem::takeChild":http://developer.qt.nokia.com/doc/qt-4.8/qtreewidgetitem.html#takeChild and "QTreeWidgetItem::removeChild":http://developer.qt.nokia.com/doc/qt-4.8/qtreewidgetitem.html#removeChild it's work fine.