QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsAttributesFormInitCode Class Reference

A dialog for configuring the Python init code handling for attribute forms. More...

#include <qgsattributesforminitcode.h>

Inheritance diagram for QgsAttributesFormInitCode:
Inheritance graph
[legend]

Public Member Functions

 QgsAttributesFormInitCode ()
 
Qgis::AttributeFormPythonInitCodeSource codeSource () const
 Returns the Python init code source. More...
 
QString initCode () const
 Returns the init code contents. More...
 
QString initFilePath () const
 Returns the file path for the file containing the init code. More...
 
QString initFunction () const
 Returns the name of the init function. More...
 
void setCodeSource (Qgis::AttributeFormPythonInitCodeSource source)
 Sets the Python init code source. More...
 
void setInitCode (const QString &initCode)
 Sets the init code contents. More...
 
void setInitFilePath (const QString &initFilePath)
 Sets the file path for the file containing the init code. More...
 
void setInitFunction (const QString &initFunction)
 Sets the name of the init function. More...
 

Detailed Description

A dialog for configuring the Python init code handling for attribute forms.

Definition at line 34 of file qgsattributesforminitcode.h.

Constructor & Destructor Documentation

◆ QgsAttributesFormInitCode()

QgsAttributesFormInitCode::QgsAttributesFormInitCode ( )
explicit

Definition at line 24 of file qgsattributesforminitcode.cpp.

Member Function Documentation

◆ codeSource()

Qgis::AttributeFormPythonInitCodeSource QgsAttributesFormInitCode::codeSource ( ) const

Returns the Python init code source.

See also
setCodeSource()

Definition at line 63 of file qgsattributesforminitcode.cpp.

◆ initCode()

QString QgsAttributesFormInitCode::initCode ( ) const

Returns the init code contents.

See also
setInitCode()

Definition at line 76 of file qgsattributesforminitcode.cpp.

◆ initFilePath()

QString QgsAttributesFormInitCode::initFilePath ( ) const

Returns the file path for the file containing the init code.

See also
setInitFilePath()

Definition at line 72 of file qgsattributesforminitcode.cpp.

◆ initFunction()

QString QgsAttributesFormInitCode::initFunction ( ) const

Returns the name of the init function.

See also
setInitFunction()

Definition at line 68 of file qgsattributesforminitcode.cpp.

◆ setCodeSource()

void QgsAttributesFormInitCode::setCodeSource ( Qgis::AttributeFormPythonInitCodeSource  source)

Sets the Python init code source.

See also
codeSource()

Definition at line 44 of file qgsattributesforminitcode.cpp.

◆ setInitCode()

void QgsAttributesFormInitCode::setInitCode ( const QString &  initCode)

Sets the init code contents.

See also
initCode()

Definition at line 58 of file qgsattributesforminitcode.cpp.

◆ setInitFilePath()

void QgsAttributesFormInitCode::setInitFilePath ( const QString &  initFilePath)

Sets the file path for the file containing the init code.

See also
initFilePath()

Definition at line 54 of file qgsattributesforminitcode.cpp.

◆ setInitFunction()

void QgsAttributesFormInitCode::setInitFunction ( const QString &  initFunction)

Sets the name of the init function.

See also
initFunction()

Definition at line 50 of file qgsattributesforminitcode.cpp.


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