mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-26 00:04:03 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgsmenuheader.h                                              *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsMenuHeader : QWidget
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| Custom widget for displaying subheaders within a QMenu in a standard style.
 | |
| 
 | |
| .. seealso:: :py:class:`QgsMenuHeaderWidgetAction`
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsmenuheader.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     explicit QgsMenuHeader( const QString &text, QWidget *parent /TransferThis/ = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsMenuHeader, showing the specified ``text``.
 | |
| %End
 | |
| 
 | |
|     virtual QSize minimumSizeHint() const;
 | |
| 
 | |
|     virtual QSize sizeHint() const;
 | |
| 
 | |
| 
 | |
|   protected:
 | |
| 
 | |
|     virtual void paintEvent( QPaintEvent *event );
 | |
| 
 | |
| 
 | |
| };
 | |
| 
 | |
| class QgsMenuHeaderWidgetAction: QWidgetAction
 | |
| {
 | |
| %Docstring(signature="appended")
 | |
| Custom QWidgetAction for displaying subheaders within a QMenu in a standard style.
 | |
| 
 | |
| .. seealso:: :py:class:`QgsMenuHeader`
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsmenuheader.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsMenuHeaderWidgetAction( const QString &text, QObject *parent = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsMenuHeaderWidgetAction, showing the specified ``text``.
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/gui/qgsmenuheader.h                                              *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 |