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_property > Parameter_Properties

Private Member Functions

MainWindow * mainwindow ()

Private Attributes

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

Detailed Description

Definition at line 59 of file genericform.h.

Constructor & Destructor Documentation

◆ GenericForm()

◆ ~GenericForm()

GenericForm::~GenericForm ( )

Definition at line 183 of file genericform.cpp.

References Parameter_Properties, and ui.

Member Function Documentation

◆ mainwindow()

MainWindow * GenericForm::mainwindow ( )
private

Definition at line 204 of file genericform.cpp.

References mainWindow.

Referenced by GenericForm(), and onProceed().

◆ onCancel()

void GenericForm::onCancel ( )

Definition at line 199 of file genericform.cpp.

Referenced by GenericForm().

◆ onProceed()

void GenericForm::onProceed ( )

Definition at line 189 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 209 of file genericform.cpp.

References command.

Referenced by MainWindow::on_tool_executed().

Member Data Documentation

◆ buttonCancel

QPushButton* GenericForm::buttonCancel = nullptr
private

Definition at line 71 of file genericform.h.

Referenced by GenericForm().

◆ buttonOk

QPushButton* GenericForm::buttonOk = nullptr
private

Definition at line 70 of file genericform.h.

Referenced by GenericForm().

◆ command

QString GenericForm::command
private

Definition at line 74 of file genericform.h.

Referenced by onProceed(), and SetCommand().

◆ mainWindow

MainWindow* GenericForm::mainWindow =nullptr
private

Definition at line 75 of file genericform.h.

Referenced by GenericForm(), and mainwindow().

◆ Parameter_Properties

QVector<parameter_property> GenericForm::Parameter_Properties

Definition at line 65 of file genericform.h.

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

◆ ui

Ui::GenericForm* GenericForm::ui
private

Definition at line 72 of file genericform.h.

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


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