2
0

NewSimDialog.3 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .TH "NewSimDialog" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. NewSimDialog \- The \fBNewSimDialog\fP class enables adding a new Simulator Session to the database or editing an existing one\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <newsimdialog\&.h>\fP
  11. .PP
  12. Inherits QDialog\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBNewSimDialog\fP (QWidget *parent=nullptr)"
  17. .br
  18. .RI "create a \fBNewSimDialog\fP to add a new Simulator Entry to the database "
  19. .ti -1c
  20. .RI "\fBNewSimDialog\fP (int row_id, QWidget *parent=nullptr)"
  21. .br
  22. .RI "create a \fBNewSimDialog\fP to edit an existing Simulator Entry "
  23. .in -1c
  24. .SH "Detailed Description"
  25. .PP
  26. The \fBNewSimDialog\fP class enables adding a new Simulator Session to the database or editing an existing one\&.
  27. The \fBNewSimDialog\fP 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\&.
  28. .PP
  29. A QCompleter provides in-line completion for the aircraft type field\&.
  30. .SH "Constructor & Destructor Documentation"
  31. .PP
  32. .SS "NewSimDialog::NewSimDialog (int row_id, QWidget * parent = \fCnullptr\fP)\fC [explicit]\fP"
  33. .PP
  34. create a \fBNewSimDialog\fP to edit an existing Simulator Entry
  35. .PP
  36. \fBParameters\fP
  37. .RS 4
  38. \fIrow_id\fP of the entry to be edited
  39. .RE
  40. .PP
  41. .SH "Author"
  42. .PP
  43. Generated automatically by Doxygen for openPilotLog from the source code\&.