File tree 2 files changed +17
-6
lines changed
python/core/auto_generated/locator
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,14 @@ Constructor for QgsLocatorResult.
55
55
%Docstring
56
56
Constructor for ResultAction
57
57
%End
58
+
58
59
ResultAction( int id, QString text, QString iconPath = QString() );
60
+ %Docstring
61
+ Constructor for ResultAction
62
+ The ``id`` used to recognized the action when the result is triggered.
63
+ It should be 0 or greater as otherwise, the result will be triggered
64
+ normally.
65
+ %End
59
66
int id;
60
67
QString text;
61
68
QString iconPath;
Original file line number Diff line number Diff line change @@ -94,19 +94,23 @@ class CORE_EXPORT QgsLocatorResult
94
94
QString group = QString();
95
95
96
96
/* *
97
- * The ResultActions stores basic informations for additional
98
- * actions to be used in a locator widget, in a context menu
99
- * for instance.
100
- * The \a id used to recognized the action when the result is triggered.
101
- * It should be 0 or greater as otherwise, the result will be triggered
102
- * normally.
97
+ * The ResultAction stores basic information for additional
98
+ * actions to be used in a locator widget for the result.
99
+ * They could be used in a context menu for instance.
103
100
* \since QGIS 3.6
104
101
*/
105
102
struct CORE_EXPORT ResultAction
106
103
{
107
104
public:
108
105
// ! Constructor for ResultAction
109
106
ResultAction () = default ;
107
+
108
+ /* *
109
+ * Constructor for ResultAction
110
+ * The \a id used to recognized the action when the result is triggered.
111
+ * It should be 0 or greater as otherwise, the result will be triggered
112
+ * normally.
113
+ */
110
114
ResultAction ( int id, QString text, QString iconPath = QString() )
111
115
: id( id )
112
116
, text( text )
You can’t perform that action at this time.
0 commit comments