HomeWidget.3 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .TH "HomeWidget" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. HomeWidget \- The \fBHomeWidget\fP is the welcome screen of the application\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <homewidget\&.h>\fP
  11. .PP
  12. Inherits QWidget\&.
  13. .SS "Public Slots"
  14. .in +1c
  15. .ti -1c
  16. .RI "void \fBrefresh\fP ()"
  17. .br
  18. .ti -1c
  19. .RI "void \fBonPilotsDatabaseChanged\fP (const \fBOPL::DbTable\fP table)"
  20. .br
  21. .in -1c
  22. .SS "Public Member Functions"
  23. .in +1c
  24. .ti -1c
  25. .RI "\fBHomeWidget\fP (QWidget *parent=nullptr)"
  26. .br
  27. .in -1c
  28. .SS "Protected Member Functions"
  29. .in +1c
  30. .ti -1c
  31. .RI "void \fBchangeEvent\fP (QEvent *event) override"
  32. .br
  33. .RI "Handles change events, like updating the UI to new localisation\&. "
  34. .in -1c
  35. .SH "Detailed Description"
  36. .PP
  37. The \fBHomeWidget\fP is the welcome screen of the application\&.
  38. The \fBHomeWidget\fP shows total flight times and a user-configurable set of currencies (expiry dates for licenses, ratings, medicals,\&.\&.\&.)\&. Most data is provided by the AStat class and the ACurrencyEntry class\&. Notifications are provided by means of pop-up warnings on application start via QMessageBox and the INFO/WARN interfaces, as well as by colouring the labels according to the warning level (orange/red)\&.
  39. .SH "Author"
  40. .PP
  41. Generated automatically by Doxygen for openPilotLog from the source code\&.