emit( selectionChanged() );
}
+void QtxTreeView::drawRow( QPainter* painter, const QStyleOptionViewItem& option,
+ const QModelIndex& index ) const
+{
+ QTreeView::drawRow( painter, option, index );
+
+ QtxTreeView* aThis = (QtxTreeView*)this;
+ aThis->drawRow( index );
+}
+
+void QtxTreeView::drawRow( const QModelIndex& index )
+{
+ emit drawedRow( index );
+}
+
/*!
\brief Expand/collapse the specified item (recursively).
\param index model index
protected:
void setOpened( const QModelIndex&, const int, bool );
+ virtual void drawRow( QPainter*, const QStyleOptionViewItem&,
+ const QModelIndex& ) const;
+ void drawRow( const QModelIndex& );
signals:
void sortingEnabled( bool );
void selectionChanged();
+ void drawedRow( const QModelIndex& );
private:
void emitSortingEnabled( bool );