newsimdialog.h
#ifndef NEWSIMDIALOG_H
#define NEWSIMDIALOG_H
#include <QDialog>
#include "src/database/row.h"
namespace Ui {
class NewSimDialog;
}
class NewSimDialog : public QDialog
{
Q_OBJECT
public:
explicit NewSimDialog(QWidget *parent = nullptr);
explicit NewSimDialog(int row_id, QWidget *parent = nullptr);
~NewSimDialog();
private slots:
void on_buttonBox_accepted();
void on_dateLineEdit_editingFinished();
void on_totalTimeLineEdit_editingFinished();
void on_helpPushButton_clicked();
void on_registrationLineEdit_textChanged(const QString &arg1);
private:
Ui::NewSimDialog *ui;
void init();
void fillEntryData();
bool verifyInput(QString &error_msg);
OPL::RowData_T collectInput();
OPL::SimulatorEntry entry;
};
#endif // NEWSIMDIALOG_H
NewSimDialog
The NewSimDialog class enables adding a new Simulator Session to the database or editing an existing ...
Definition: newsimdialog.h:21
NewSimDialog::NewSimDialog
NewSimDialog(QWidget *parent=nullptr)
create a NewSimDialog to add a new Simulator Entry to the database
Definition: newsimdialog.cpp:12
OPL::SimulatorEntry
A Row representing a Simulator entry. See Row class for details.
Definition: row.h:122