QGIS/python/gui/qgsbrowsertreeview.sip

50 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-05-23 14:36:52 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsbrowsertreeview.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsBrowserTreeView : QTreeView
{
2017-05-23 14:36:52 +02:00
%Docstring
The QgsBrowserTreeView class extends QTreeView with save/restore tree state functionality.
.. seealso:: QgsBrowserModel
.. versionadded:: 2.8
%End
2017-05-23 14:36:52 +02:00
%TypeHeaderCode
#include "qgsbrowsertreeview.h"
%End
public:
QgsBrowserTreeView( QWidget *parent /TransferThis/ = 0 );
virtual void setModel( QAbstractItemModel *model );
virtual void showEvent( QShowEvent *e );
virtual void hideEvent( QHideEvent *e );
bool hasExpandedDescendant( const QModelIndex &index ) const;
2017-05-23 14:36:52 +02:00
%Docstring
:rtype: bool
%End
void setSettingsSection( const QString &section );
protected slots:
virtual void rowsInserted( const QModelIndex &parentIndex, int start, int end );
2017-05-23 14:36:52 +02:00
};
2017-05-23 14:36:52 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsbrowsertreeview.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/