QGIS/python/gui/auto_generated/editorwidgets/qgsdatetimesearchwidgetwrapper.sip.in

81 lines
2.3 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsdatetimesearchwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsDateTimeSearchWidgetWrapper : QgsSearchWidgetWrapper
{
%Docstring
Wraps a date/time edit widget for searching.
.. versionadded:: 2.16
%End
%TypeHeaderCode
#include "qgsdatetimesearchwidgetwrapper.h"
%End
public:
explicit QgsDateTimeSearchWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsDateTimeSearchWidgetWrapper.
:param vl: associated vector layer
:param fieldIdx: index of associated field
:param parent: parent widget
%End
QVariant value() const;
%Docstring
Returns a variant representing the current state of the widget, respecting
the editor widget's configured field format for date/time values.
%End
virtual bool applyDirectly();
virtual QString expression() const;
virtual bool valid() const;
virtual QgsSearchWidgetWrapper::FilterFlags supportedFlags() const;
virtual QgsSearchWidgetWrapper::FilterFlags defaultFlags() const;
virtual QString createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const;
public slots:
virtual void clearWidget();
virtual void setEnabled( bool enabled );
protected:
virtual QWidget *createWidget( QWidget *parent );
virtual void initWidget( QWidget *editor );
protected slots:
virtual void setExpression( const QString &exp );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsdatetimesearchwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/