QGIS/python/PyQt6/gui/auto_generated/editorwidgets/qgsactionwidgetwrapper.sip.in
Julien Cabieces bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00

63 lines
1.9 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsactionwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsActionWidgetWrapper : QgsWidgetWrapper
{
%Docstring(signature="appended")
Wraps a button widget to launch a layer action.
.. versionadded:: 3.22
%End
%TypeHeaderCode
#include "qgsactionwidgetwrapper.h"
%End
public:
QgsActionWidgetWrapper( QgsVectorLayer *layer, QWidget *editor, QWidget *parent );
%Docstring
Create an action widget wrapper
:param layer: The layer on which the feature is.
:param editor: An editor widget. Can be ``None`` if one should be autogenerated.
:param parent: A parent widget
%End
public:
void setAction( const QgsAction &action );
%Docstring
Sets the ``action``.
%End
virtual bool valid() const;
virtual QWidget *createWidget( QWidget *parent );
virtual void initWidget( QWidget *editor );
public slots:
virtual void setFeature( const QgsFeature &feature );
virtual void setEnabled( bool enabled );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsactionwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/