2
0

BackupWidget.3 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .TH "BackupWidget" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. BackupWidget \- The \fBBackupWidget\fP is the interface for the user to create and restore backups of the database\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <backupwidget\&.h>\fP
  11. .PP
  12. Inherits QWidget\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBBackupWidget\fP (QWidget *parent=nullptr)"
  17. .br
  18. .in -1c
  19. .SS "Static Public Member Functions"
  20. .in +1c
  21. .ti -1c
  22. .RI "static const QString \fBbackupName\fP ()"
  23. .br
  24. .RI "Generates a filename for creating a backup\&. "
  25. .ti -1c
  26. .RI "static const QString \fBabsoluteBackupPath\fP ()"
  27. .br
  28. .RI "Generates the absolute path for a new local backup file\&. "
  29. .in -1c
  30. .SS "Protected Member Functions"
  31. .in +1c
  32. .ti -1c
  33. .RI "void \fBchangeEvent\fP (QEvent *event) override"
  34. .br
  35. .RI "Handles change events, like updating the UI to new localisation\&. "
  36. .in -1c
  37. .SH "Detailed Description"
  38. .PP
  39. The \fBBackupWidget\fP is the interface for the user to create and restore backups of the database\&.
  40. OpenPilotLog offers two kinds of backups: Local and External Backups\&.
  41. .br
  42. .br
  43. Local backups are automatically stored in a folder determined by \fBOPL::Paths\fP and automatically presented to the user in a List\&. \fBCreate Local backup\fP and \fBRestore Local Backup\fP\&. are convenient shortcuts\&.
  44. .br
  45. When using \fBCreate External Backup\fP, the user will be asked where to save the backup file\&. This can be a pen drive, a cloud location or any other location of his choice\&. This functionality can also be used to sync the database across devices\&. External backup files con be restored with \fBRestore external backup\fP\&.
  46. .SH "Author"
  47. .PP
  48. Generated automatically by Doxygen for openPilotLog from the source code\&.