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;
89 void expandPath(
const QString &path,
bool selectPath =
false );
93 void keyPressEvent( QKeyEvent *event )
override;
96 void rowsInserted(
const QModelIndex &parentIndex,
int start,
int end )
override;
99 QString mSettingsSection;
101 QStringList mExpandPaths;
105 QString expandedPathsKey()
const;
108 QStringList expandedPathsList(
const QModelIndex &index );
111 void expandTree(
const QModelIndex &index );
114 bool treeExpanded(
const QModelIndex &index );