AStyle.3 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .TH "AStyle" 3 "Mon Jul 11 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. AStyle \- The \fBAStyle\fP class encapsulates style and stylesheet logic\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <astyle\&.h>\fP
  11. .SS "Static Public Member Functions"
  12. .in +1c
  13. .ti -1c
  14. .RI "static void \fBsetup\fP ()"
  15. .br
  16. .RI "Setup Application style by reading from openPilotLog\&.ini\&. "
  17. .ti -1c
  18. .RI "static void \fBsetStyle\fP (const QString &style_key)"
  19. .br
  20. .ti -1c
  21. .RI "static void \fBsetStyle\fP (const \fBStyleSheet\fP &style_sheet)"
  22. .br
  23. .ti -1c
  24. .RI "static void \fBsetStyle\fP (const QPalette &palette)"
  25. .br
  26. .ti -1c
  27. .RI "static QString \fBgetCurrentStyle\fP ()"
  28. .br
  29. .ti -1c
  30. .RI "static StyleType \fBgetStyleType\fP ()"
  31. .br
  32. .ti -1c
  33. .RI "static QPalette \fBdarkPalette\fP ()"
  34. .br
  35. .ti -1c
  36. .RI "static const QString & \fBstyle\fP ()"
  37. .br
  38. .ti -1c
  39. .RI "static void \fBloadStylesComboBox\fP (QComboBox *combo_box)"
  40. .br
  41. .in -1c
  42. .SS "Static Public Attributes"
  43. .in +1c
  44. .ti -1c
  45. .RI "static const QStringList \fBstyles\fP = QStyleFactory::keys()"
  46. .br
  47. .ti -1c
  48. .RI "static const QString \fBdefaultStyle\fP = QLatin1String('Fusion')"
  49. .br
  50. .ti -1c
  51. .RI "static const QList< \fBStyleSheet\fP > \fBstyleSheets\fP"
  52. .br
  53. .in -1c
  54. .SH "Detailed Description"
  55. .PP
  56. The \fBAStyle\fP class encapsulates style and stylesheet logic\&.
  57. .SH "Member Data Documentation"
  58. .PP
  59. .SS "const QList< \fBStyleSheet\fP > AStyle::styleSheets\fC [static]\fP"
  60. \fBInitial value:\fP
  61. .PP
  62. .nf
  63. = {
  64. {QLatin1String("Breeze"), QLatin1String(":breeze_light\&.qss")},
  65. {QLatin1String("Breeze-Dark"), QLatin1String(":breeze_dark\&.qss")},
  66. {QLatin1String("QDarkStyle"), QLatin1String(":qdarkstyle/qdarkstyle\&.qss")},
  67. }
  68. .fi
  69. .SH "Author"
  70. .PP
  71. Generated automatically by Doxygen for openPilotLog from the source code\&.