|
QGIS API Documentation 3.99.0-Master (26c88405ac0)
|
A dialog for configuring the Python init code handling for attribute forms. More...
#include <qgsattributesforminitcode.h>

Public Member Functions | |
| QgsAttributesFormInitCode () | |
| Qgis::AttributeFormPythonInitCodeSource | codeSource () const |
| Returns the Python init code source. | |
| QString | initCode () const |
| Returns the init code contents. | |
| QString | initFilePath () const |
| Returns the file path for the file containing the init code. | |
| QString | initFunction () const |
| Returns the name of the init function. | |
| void | setCodeSource (Qgis::AttributeFormPythonInitCodeSource source) |
| Sets the Python init code source. | |
| void | setInitCode (const QString &initCode) |
| Sets the init code contents. | |
| void | setInitFilePath (const QString &initFilePath) |
| Sets the file path for the file containing the init code. | |
| void | setInitFunction (const QString &initFunction) |
| Sets the name of the init function. | |
A dialog for configuring the Python init code handling for attribute forms.
Definition at line 35 of file qgsattributesforminitcode.h.
|
explicit |
Definition at line 27 of file qgsattributesforminitcode.cpp.
| Qgis::AttributeFormPythonInitCodeSource QgsAttributesFormInitCode::codeSource | ( | ) | const |
Returns the Python init code source.
Definition at line 65 of file qgsattributesforminitcode.cpp.
| QString QgsAttributesFormInitCode::initCode | ( | ) | const |
Returns the init code contents.
Definition at line 78 of file qgsattributesforminitcode.cpp.
| QString QgsAttributesFormInitCode::initFilePath | ( | ) | const |
Returns the file path for the file containing the init code.
Definition at line 74 of file qgsattributesforminitcode.cpp.
| QString QgsAttributesFormInitCode::initFunction | ( | ) | const |
Returns the name of the init function.
Definition at line 70 of file qgsattributesforminitcode.cpp.
| void QgsAttributesFormInitCode::setCodeSource | ( | Qgis::AttributeFormPythonInitCodeSource | source | ) |
Sets the Python init code source.
Definition at line 47 of file qgsattributesforminitcode.cpp.
| void QgsAttributesFormInitCode::setInitCode | ( | const QString & | initCode | ) |
Sets the init code contents.
Definition at line 60 of file qgsattributesforminitcode.cpp.
| void QgsAttributesFormInitCode::setInitFilePath | ( | const QString & | initFilePath | ) |
Sets the file path for the file containing the init code.
Definition at line 56 of file qgsattributesforminitcode.cpp.
| void QgsAttributesFormInitCode::setInitFunction | ( | const QString & | initFunction | ) |
Sets the name of the init function.
Definition at line 52 of file qgsattributesforminitcode.cpp.