NewPilotDialog.3 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .TH "NewPilotDialog" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. NewPilotDialog \- The \fBNewPilotDialog\fP enables adding new entries to the pilot table in the database\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <newpilotdialog\&.h>\fP
  11. .PP
  12. Inherits QDialog\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBNewPilotDialog\fP (QWidget *parent=nullptr)"
  17. .br
  18. .RI "\fBNewPilotDialog::NewPilotDialog\fP - creates a new pilot dialog which can be used to add a new entry to the database\&. "
  19. .ti -1c
  20. .RI "\fBNewPilotDialog\fP (int rowId, QWidget *parent=nullptr)"
  21. .br
  22. .RI "\fBNewPilotDialog::NewPilotDialog\fP - creates a new pilot dialog which can be used to edit an existing entry in the database\&. "
  23. .in -1c
  24. .SH "Detailed Description"
  25. .PP
  26. The \fBNewPilotDialog\fP enables adding new entries to the pilot table in the database\&.
  27. The \fBNewPilotDialog\fP offers two constructors, one is used to create a new Pilot 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 company field\&.
  30. .PP
  31. No verification is done on the user input\&. Sqlite has full unicode support and names come in all different forms and shapes around the world\&. In order to maintain a maximum amount of flexibility, any unicode input is allowed\&.
  32. .SH "Constructor & Destructor Documentation"
  33. .PP
  34. .SS "NewPilotDialog::NewPilotDialog (int rowId, QWidget * parent = \fCnullptr\fP)\fC [explicit]\fP"
  35. .PP
  36. \fBNewPilotDialog::NewPilotDialog\fP - creates a new pilot dialog which can be used to edit an existing entry in the database\&.
  37. .PP
  38. \fBParameters\fP
  39. .RS 4
  40. \fIrowId\fP - the rowid of the entry to be edited in the database
  41. .RE
  42. .PP
  43. .SH "Author"
  44. .PP
  45. Generated automatically by Doxygen for openPilotLog from the source code\&.