QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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 22 of file qgsexpressionaddfunctionfiledialog.cpp.
bool QgsExpressionAddFunctionFileDialog::createProjectFunctions | ( | ) | const |
Returns whether user has selected to create project functions.
Definition at line 61 of file qgsexpressionaddfunctionfiledialog.cpp.
QString QgsExpressionAddFunctionFileDialog::fileName | ( | ) |
Returns the new file name.
Definition at line 66 of file qgsexpressionaddfunctionfiledialog.cpp.