QGIS API Documentation 3.39.0-Master (d85f3c2a281)
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 21 of file qgsexpressionaddfunctionfiledialog.cpp.

Member Function Documentation

◆ createProjectFunctions()

bool QgsExpressionAddFunctionFileDialog::createProjectFunctions ( ) const

Returns whether user has selected to create project functions.

Definition at line 60 of file qgsexpressionaddfunctionfiledialog.cpp.

◆ fileName()

QString QgsExpressionAddFunctionFileDialog::fileName ( )

Returns the new file name.

Definition at line 65 of file qgsexpressionaddfunctionfiledialog.cpp.


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