openPilotLog
|
The NewSimDialog class enables adding a new Simulator Session to the database or editing an existing one. More...
#include <newsimdialog.h>
Public Member Functions | |
NewSimDialog (QWidget *parent=nullptr) | |
create a NewSimDialog to add a new Simulator Entry to the database | |
NewSimDialog (int row_id, QWidget *parent=nullptr) | |
create a NewSimDialog to edit an existing Simulator Entry More... | |
The NewSimDialog class enables adding a new Simulator Session to the database or editing an existing one.
The NewSimDialog offers two constructors, one is used to create a new Simulator Entry from scratch, while the other one is used to edit an existing entry. The existing entry is identified by its ROW ID in the database and is then retreived, its data being used to pre-fill the UI to enable editing the existing data.
A QCompleter provides in-line completion for the aircraft type field.
|
explicit |
create a NewSimDialog to edit an existing Simulator Entry
row_id | of the entry to be edited |