QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
A dialog to select whether to create a function file or project functions. More...
#include <qgsexpressionaddfunctionfiledialog.h>
Public Member Functions | |
QgsExpressionAddFunctionFileDialog (bool enableProjectFunctions, QWidget *parent) | |
Creates a QgsExpressionAddFunctionFileDialog to create function files or to set the current project as a function container. | |
bool | createProjectFunctions () const |
Returns whether user has selected to create project functions. | |
QString | fileName () |
Returns the new file name. | |
A dialog to select whether to create a function file or project functions.
Definition at line 29 of file qgsexpressionaddfunctionfiledialog.h.
QgsExpressionAddFunctionFileDialog::QgsExpressionAddFunctionFileDialog | ( | bool | enableProjectFunctions, |
QWidget * | parent | ||
) |
Creates a QgsExpressionAddFunctionFileDialog to create function files or to set the current project as a function container.
enableProjectFunctions defines whether the dialog will enable the 'Project function' option or not, which is useful to avoid the creation of multiple 'Project Functions' items in the Function Editor file list. parent is the parent widget.
Definition at line 21 of file qgsexpressionaddfunctionfiledialog.cpp.
bool QgsExpressionAddFunctionFileDialog::createProjectFunctions | ( | ) | const |
Returns whether user has selected to create project functions.
Definition at line 60 of file qgsexpressionaddfunctionfiledialog.cpp.
QString QgsExpressionAddFunctionFileDialog::fileName | ( | ) |
Returns the new file name.
Definition at line 65 of file qgsexpressionaddfunctionfiledialog.cpp.