QGIS/python/gui/auto_generated/qgsmenuheader.sip.in
Juergen E. Fischer c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00

72 lines
2.1 KiB
Plaintext

/************************************************************************
* 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(signature="appended")
Custom widget for displaying subheaders within a QMenu in a standard style.
.. seealso:: :py:class:`QgsMenuHeaderWidgetAction`
.. versionadded:: 3.0
%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`
.. versionadded:: 3.0
%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.pl again *
************************************************************************/