QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Slots | Public Member Functions | Friends | List of all members
QgsFieldCalculator Class Reference

A dialog class that provides calculation of new fields using existing fields, values and a set of operators. More...

#include <qgsfieldcalculator.h>

Inheritance diagram for QgsFieldCalculator:
Inheritance graph
[legend]

Public Slots

void accept () override
 
void mCreateVirtualFieldCheckbox_stateChanged (int state)
 
void mNewFieldGroupBox_toggled (bool on)
 
void mOutputFieldNameLineEdit_textChanged (const QString &text)
 
void mOutputFieldTypeComboBox_activated (int index)
 
void mUpdateExistingGroupBox_toggled (bool on)
 

Public Member Functions

 QgsFieldCalculator (QgsVectorLayer *vl, QWidget *parent=nullptr)
 
int changedAttributeId () const
 

Friends

class TestQgsFieldCalculator
 

Detailed Description

A dialog class that provides calculation of new fields using existing fields, values and a set of operators.

Definition at line 35 of file qgsfieldcalculator.h.

Constructor & Destructor Documentation

◆ QgsFieldCalculator()

QgsFieldCalculator::QgsFieldCalculator ( QgsVectorLayer vl,
QWidget *  parent = nullptr 
)

Definition at line 46 of file qgsfieldcalculator.cpp.

Member Function Documentation

◆ accept

void QgsFieldCalculator::accept ( )
overrideslot

Definition at line 167 of file qgsfieldcalculator.cpp.

◆ changedAttributeId()

int QgsFieldCalculator::changedAttributeId ( ) const
inline

Definition at line 41 of file qgsfieldcalculator.h.

◆ mCreateVirtualFieldCheckbox_stateChanged

void QgsFieldCalculator::mCreateVirtualFieldCheckbox_stateChanged ( int  state)
slot

Definition at line 446 of file qgsfieldcalculator.cpp.

◆ mNewFieldGroupBox_toggled

void QgsFieldCalculator::mNewFieldGroupBox_toggled ( bool  on)
slot

Definition at line 407 of file qgsfieldcalculator.cpp.

◆ mOutputFieldNameLineEdit_textChanged

void QgsFieldCalculator::mOutputFieldNameLineEdit_textChanged ( const QString &  text)
slot

Definition at line 464 of file qgsfieldcalculator.cpp.

◆ mOutputFieldTypeComboBox_activated

void QgsFieldCalculator::mOutputFieldTypeComboBox_activated ( int  index)
slot

Definition at line 471 of file qgsfieldcalculator.cpp.

◆ mUpdateExistingGroupBox_toggled

void QgsFieldCalculator::mUpdateExistingGroupBox_toggled ( bool  on)
slot

Definition at line 431 of file qgsfieldcalculator.cpp.

Friends And Related Function Documentation

◆ TestQgsFieldCalculator

friend class TestQgsFieldCalculator
friend

Definition at line 77 of file qgsfieldcalculator.h.


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