1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/codeeditors/qgscodeeditorexpression.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsCodeEditorExpression : QgsCodeEditor
{
%Docstring(signature="appended")
A QGIS expression editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgscodeeditorexpression.h"
%End
public:
QgsCodeEditorExpression( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsCodeEditorExpression
%End
void setExpressionContext( const QgsExpressionContext &context );
%Docstring
Variables and functions from this expression context will be added to
the API.
Will also reload all globally registered functions.
%End
void setFields( const QgsFields &fields );
%Docstring
Field names will be added to the API.
%End
protected:
virtual void initializeLexer();
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/codeeditors/qgscodeeditorexpression.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
|