QGIS/python/gui/qgsmenuheader.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

72 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.pl again *
************************************************************************/
class QgsMenuHeader : QWidget
{
%Docstring
Custom widget for displaying subheaders within a QMenu in a standard style.
.. versionadded:: 3.0
.. seealso:: 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
Custom QWidgetAction for displaying subheaders within a QMenu in a standard style.
.. versionadded:: 3.0
.. seealso:: 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.pl again *
************************************************************************/