mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-30 00:07:09 -04:00 
			
		
		
		
	reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
		
			
				
	
	
		
			69 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * 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
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| The :py:class:`QgsBrowserTreeView` class extends QTreeView with save/restore tree state functionality.
 | |
| 
 | |
| .. seealso:: :py:class:`QgsBrowserModel`
 | |
| 
 | |
| .. versionadded:: 2.8
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsbrowsertreeview.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsBrowserTreeView( QWidget *parent /TransferThis/ = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsBrowserTreeView
 | |
| %End
 | |
| 
 | |
|     virtual void setModel( QAbstractItemModel *model );
 | |
| 
 | |
|     void setBrowserModel( QgsBrowserGuiModel *model );
 | |
| %Docstring
 | |
| Sets the browser model
 | |
| %End
 | |
|     QgsBrowserGuiModel *browserModel();
 | |
| %Docstring
 | |
| Returns the browser model
 | |
| %End
 | |
|     virtual void showEvent( QShowEvent *e );
 | |
| 
 | |
|     virtual void hideEvent( QHideEvent *e );
 | |
| 
 | |
| 
 | |
|     bool hasExpandedDescendant( const QModelIndex &index ) const;
 | |
| 
 | |
|     void setSettingsSection( const QString §ion );
 | |
| 
 | |
|   protected:
 | |
| 
 | |
|     virtual void keyPressEvent( QKeyEvent *event );
 | |
| 
 | |
| 
 | |
|   protected slots:
 | |
|     virtual void rowsInserted( const QModelIndex &parentIndex, int start, int end );
 | |
| 
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgsbrowsertreeview.h                                         *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |