SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
GenericForm Class Reference

#include </home/runner/work/SedSat3/SedSat3/genericform.h>

Inheritance diagram for GenericForm:
Inheritance graph
Collaboration diagram for GenericForm:
Collaboration graph

Public Member Functions

 GenericForm (QJsonObject *formdata, QWidget *parent, MainWindow *mainwindow)
 
 ~GenericForm ()
 
bool SetCommand (const QString &cmd)
 
void onProceed ()
 
void onCancel ()
 

Public Attributes

QVector< parameter_propertyParameter_Properties
 

Private Member Functions

MainWindowmainwindow ()
 

Private Attributes

QPushButton * buttonOk = nullptr
 
QPushButton * buttonCancel = nullptr
 
Ui::GenericForm * ui
 
QString command
 
MainWindowmainWindow =nullptr
 

Detailed Description

Definition at line 56 of file genericform.h.

Constructor & Destructor Documentation

◆ GenericForm()

◆ ~GenericForm()

GenericForm::~GenericForm ( )

Definition at line 184 of file genericform.cpp.

References Parameter_Properties, and ui.

Member Function Documentation

◆ mainwindow()

MainWindow * GenericForm::mainwindow ( )
private

Definition at line 205 of file genericform.cpp.

References mainWindow.

Referenced by GenericForm(), and onProceed().

◆ onCancel()

void GenericForm::onCancel ( )

Definition at line 200 of file genericform.cpp.

Referenced by GenericForm().

◆ onProceed()

void GenericForm::onProceed ( )

Definition at line 190 of file genericform.cpp.

References command, MainWindow::Execute(), mainwindow(), and Parameter_Properties.

Referenced by GenericForm().

◆ SetCommand()

bool GenericForm::SetCommand ( const QString &  cmd)

Definition at line 211 of file genericform.cpp.

References command.

Member Data Documentation

◆ buttonCancel

QPushButton* GenericForm::buttonCancel = nullptr
private

Definition at line 68 of file genericform.h.

Referenced by GenericForm().

◆ buttonOk

QPushButton* GenericForm::buttonOk = nullptr
private

Definition at line 67 of file genericform.h.

Referenced by GenericForm().

◆ command

QString GenericForm::command
private

Definition at line 71 of file genericform.h.

Referenced by onProceed(), and SetCommand().

◆ mainWindow

MainWindow* GenericForm::mainWindow =nullptr
private

Definition at line 72 of file genericform.h.

Referenced by GenericForm(), and mainwindow().

◆ Parameter_Properties

QVector<parameter_property> GenericForm::Parameter_Properties

Definition at line 62 of file genericform.h.

Referenced by GenericForm(), ~GenericForm(), and onProceed().

◆ ui

Ui::GenericForm* GenericForm::ui
private

Definition at line 69 of file genericform.h.

Referenced by GenericForm(), and ~GenericForm().


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