File tree Expand file tree Collapse file tree 3 files changed +53
-7
lines changed
python/gui/auto_generated Expand file tree Collapse file tree 3 files changed +53
-7
lines changed Original file line number Diff line number Diff line change 1+ /************************************************************************
2+ * This file has been generated automatically from *
3+ * *
4+ * src/gui/qgscodeeditorexpression.h *
5+ * *
6+ * Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+ ************************************************************************/
8+
9+
10+
11+
12+
13+ class QgsCodeEditorExpression : QgsCodeEditor
14+ {
15+ %Docstring
16+
17+ A QGIS expression editor based on QScintilla2. Adds syntax highlighting and
18+ code autocompletion.
19+
20+ .. versionadded:: 3.4
21+ %End
22+
23+ %TypeHeaderCode
24+ #include "qgscodeeditorexpression.h"
25+ %End
26+ public:
27+ QgsCodeEditorExpression( QWidget *parent /TransferThis/ = 0 );
28+ %Docstring
29+ Constructor for QgsCodeEditorExpression
30+ %End
31+
32+ void setExpressionContext( const QgsExpressionContext &context );
33+ %Docstring
34+ Variables and functions from this expression context will be added to
35+ the API.
36+ Will also reload all globally registered functions.
37+ %End
38+
39+ void setFields( const QgsFields &fields );
40+ %Docstring
41+ Field names will be added to the API.
42+ %End
43+
44+ };
45+
46+
47+ /************************************************************************
48+ * This file has been generated automatically from *
49+ * *
50+ * src/gui/qgscodeeditorexpression.h *
51+ * *
52+ * Do not edit manually ! Edit header and run scripts/sipify.pl again *
53+ ************************************************************************/
Original file line number Diff line number Diff line change @@ -158,8 +158,3 @@ const char *QgsCaseInsensitiveLexerExpression::wordCharacters() const
158158{
159159 return " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_@" ;
160160}
161-
162- const char *QgsCaseInsensitiveLexerExpression::autoCompletionFillups () const
163- {
164- return " (" ;
165- }
Original file line number Diff line number Diff line change @@ -88,8 +88,6 @@ class QgsCaseInsensitiveLexerExpression : public QsciLexerSQL
8888 bool caseSensitive () const override ;
8989
9090 const char *wordCharacters () const override ;
91-
92- const char *autoCompletionFillups () const override ;
9391};
9492// /@endcond
9593#endif
You can’t perform that action at this time.
0 commit comments