43 if ( qobject_cast<QgsBrowserTreeView *>( sipCpp ) !=
nullptr )
44 sipType = sipType_QgsBrowserTreeView;
55 void setModel( QAbstractItemModel *model )
override;
60 void showEvent( QShowEvent *e )
override;
61 void hideEvent( QHideEvent *e )
override;
64 bool hasExpandedDescendant(
const QModelIndex &index )
const;
87 void expandPath(
const QString &path,
bool selectPath =
false );
90 void keyPressEvent( QKeyEvent *event )
override;
93 void rowsInserted(
const QModelIndex &parentIndex,
int start,
int end )
override;
96 QString mSettingsSection;
98 QStringList mExpandPaths;
102 QString expandedPathsKey()
const;
105 QStringList expandedPathsList(
const QModelIndex &index );
108 void expandTree(
const QModelIndex &index );
111 bool treeExpanded(
const QModelIndex &index );