ATranslator.3 1.5 KB

12345678910111213141516171819202122232425262728
  1. .TH "ATranslator" 3 "Tue May 4 2021" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ATranslator \- The \fBATranslator\fP class is responsible for managing the QTranslator used for providing localisations\&. Translations are planned, but are not currently being worked on\&. The way QT language tools are working with CMAKE, there are some considerations for when works on translation actually start\&. See \fChere\fP and \fChere\fP\&. Long story short, make sure to use a version of CMake that is 3\&.16 or earlier, or 3\&.19\&.2 or later\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <atranslator\&.h>\fP
  11. .PP
  12. Inherits QObject\&.
  13. .SS "Static Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "static void \fBinstallTranslator\fP (Opl::Translations language=Opl::Translations::English)"
  17. .br
  18. .RI "Installs a QTranslator with the selected language\&. Defaults to English\&. Call this function before constructing the Main Window\&. "
  19. .in -1c
  20. .SH "Detailed Description"
  21. .PP
  22. The \fBATranslator\fP class is responsible for managing the QTranslator used for providing localisations\&. Translations are planned, but are not currently being worked on\&. The way QT language tools are working with CMAKE, there are some considerations for when works on translation actually start\&. See \fChere\fP and \fChere\fP\&. Long story short, make sure to use a version of CMake that is 3\&.16 or earlier, or 3\&.19\&.2 or later\&.
  23. .SH "Author"
  24. .PP
  25. Generated automatically by Doxygen for openPilotLog from the source code\&.