QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsExpressionAddFunctionFileDialog Class Reference

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

#include <qgsexpressionaddfunctionfiledialog.h>

Inheritance diagram for QgsExpressionAddFunctionFileDialog:
Inheritance graph
[legend]

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

Member Function Documentation

◆ createProjectFunctions()

bool QgsExpressionAddFunctionFileDialog::createProjectFunctions ( ) const

Returns whether user has selected to create project functions.

Definition at line 61 of file qgsexpressionaddfunctionfiledialog.cpp.

◆ fileName()

QString QgsExpressionAddFunctionFileDialog::fileName ( )

Returns the new file name.

Definition at line 66 of file qgsexpressionaddfunctionfiledialog.cpp.


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