QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsExpressionAddFunctionFileDialog Class Reference

A dialog to select whether to create a function file or project functions. More...

#include <qgsexpressionaddfunctionfiledialog.h>

Inheritance diagram for QgsExpressionAddFunctionFileDialog:

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.

Detailed Description

A dialog to select whether to create a function file or project functions.

Since
QGIS 3.40

Definition at line 31 of file qgsexpressionaddfunctionfiledialog.h.

Constructor & Destructor Documentation

◆ QgsExpressionAddFunctionFileDialog()

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 25 of file qgsexpressionaddfunctionfiledialog.cpp.

Member Function Documentation

◆ createProjectFunctions()

bool QgsExpressionAddFunctionFileDialog::createProjectFunctions ( ) const

Returns whether user has selected to create project functions.

Definition at line 67 of file qgsexpressionaddfunctionfiledialog.cpp.

◆ fileName()

QString QgsExpressionAddFunctionFileDialog::fileName ( )

Returns the new file name.

Definition at line 72 of file qgsexpressionaddfunctionfiledialog.cpp.


The documentation for this class was generated from the following files: