44 if ( qobject_cast<QgsBrowserTreeView *>( sipCpp ) !=
nullptr )
45 sipType = sipType_QgsBrowserTreeView;
57 void setModel( QAbstractItemModel *model )
override;
62 void showEvent( QShowEvent *e )
override;
63 void hideEvent( QHideEvent *e )
override;
66 bool hasExpandedDescendant(
const QModelIndex &index )
const;
87 void expandPath(
const QString &path );
91 void keyPressEvent( QKeyEvent *event )
override;
94 void rowsInserted(
const QModelIndex &parentIndex,
int start,
int end )
override;
97 QString mSettingsSection;
99 QStringList mExpandPaths;
103 QString expandedPathsKey()
const;
106 QStringList expandedPathsList(
const QModelIndex &index );
109 void expandTree(
const QModelIndex &index );
112 bool treeExpanded(
const QModelIndex &index );