QGIS/python/gui/auto_generated/qgsmenuheader.sip.in

72 lines
2.0 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmenuheader.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsMenuHeader : QWidget
{
%Docstring
2017-12-15 10:36:55 -04:00
Custom widget for displaying subheaders within a QMenu in a standard style.
.. seealso:: :py:class:`QgsMenuHeaderWidgetAction`
2018-05-28 11:31:08 -04:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsmenuheader.h"
%End
public:
explicit QgsMenuHeader( const QString &text, QWidget *parent /TransferThis/ = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
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
2017-12-15 10:36:55 -04:00
Custom QWidgetAction for displaying subheaders within a QMenu in a standard style.
.. seealso:: :py:class:`QgsMenuHeader`
2018-05-28 11:31:08 -04:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsmenuheader.h"
%End
public:
QgsMenuHeaderWidgetAction( const QString &text, QObject *parent = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
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.pl again *
************************************************************************/