45 if ( qobject_cast<QgsBrowserTreeView *>( sipCpp ) !=
nullptr )
46 sipType = sipType_QgsBrowserTreeView;
58 void setModel( QAbstractItemModel *model )
override;
63 void showEvent( QShowEvent *e )
override;
64 void hideEvent( QHideEvent *e )
override;
67 bool hasExpandedDescendant(
const QModelIndex &index )
const;
88 void expandPath(
const QString &path );
92 void keyPressEvent( QKeyEvent *event )
override;
95 void rowsInserted(
const QModelIndex &parentIndex,
int start,
int end )
override;
98 QString mSettingsSection;
100 QStringList mExpandPaths;
104 QString expandedPathsKey()
const;
107 QStringList expandedPathsList(
const QModelIndex &index );
110 void expandTree(
const QModelIndex &index );
113 bool treeExpanded(
const QModelIndex &index );