16 #ifndef QGSBROWSERTREEVIEW_H
17 #define QGSBROWSERTREEVIEW_H
36 virtual void setModel( QAbstractItemModel* model )
override;
37 virtual void showEvent( QShowEvent * e )
override;
38 virtual void hideEvent( QHideEvent * e )
override;
41 bool hasExpandedDescendant(
const QModelIndex&
index )
const;
47 virtual void rowsInserted(
const QModelIndex & parentIndex,
int start,
int end )
override;
50 QString mSettingsSection;
52 QStringList mExpandPaths;
56 QString expandedPathsKey()
const;
59 QStringList expandedPathsList(
const QModelIndex & index );
62 void expandTree(
const QModelIndex & index );
65 bool treeExpanded(
const QModelIndex & index );
68 #endif // QGSBROWSERTREEVIEW_H