openPilotLog
newsimdialog.h
1
#ifndef NEWSIMDIALOG_H
2
#define NEWSIMDIALOG_H
3
4
#include <QDialog>
5
#include "src/database/row.h"
6
7
namespace
Ui {
8
class
NewSimDialog
;
9
}
10
20
class
NewSimDialog
:
public
QDialog
21
{
22
Q_OBJECT
23
24
public
:
25
explicit
NewSimDialog
(QWidget *parent =
nullptr
);
26
explicit
NewSimDialog
(
int
row_id, QWidget *parent =
nullptr
);
27
~
NewSimDialog
();
28
29
private
slots:
30
void
on_buttonBox_accepted();
31
32
void
on_dateLineEdit_editingFinished();
33
34
void
on_totalTimeLineEdit_editingFinished();
35
36
void
on_helpPushButton_clicked();
37
38
void
on_registrationLineEdit_textChanged(
const
QString &arg1);
39
40
private
:
41
Ui::NewSimDialog *ui;
42
void
init();
43
void
fillEntryData();
44
bool
verifyInput(QString &error_msg);
45
OPL::RowData_T collectInput();
46
47
OPL::SimulatorEntry
entry;
48
};
49
50
#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
src
gui
dialogues
newsimdialog.h
Generated by
1.9.1