GpgFrontend-Doxygen/docs/latex/AboutDialog_8h_source.tex
2022-05-09 03:59:26 +08:00

69 lines
4.4 KiB
TeX

\hypertarget{AboutDialog_8h_source}{}\doxysection{About\+Dialog.\+h}
\label{AboutDialog_8h_source}\index{src/ui/help/AboutDialog.h@{src/ui/help/AboutDialog.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_\_ABOUTDIALOG\_H\_\_}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_\_ABOUTDIALOG\_H\_\_}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}ui/struct/SoftwareVersion.h"{}}}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{37 }
\DoxyCodeLine{42 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1InfoTab}{InfoTab}} : \textcolor{keyword}{public} QWidget \{}
\DoxyCodeLine{43 Q\_OBJECT}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{keyword}{public}:}
\DoxyCodeLine{51 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1InfoTab_a99d8b059ee28ea257981892e0b35d4cc}{InfoTab}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{52 \};}
\DoxyCodeLine{53 }
\DoxyCodeLine{58 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TranslatorsTab}{TranslatorsTab}} : \textcolor{keyword}{public} QWidget \{}
\DoxyCodeLine{59 Q\_OBJECT}
\DoxyCodeLine{60 }
\DoxyCodeLine{61 \textcolor{keyword}{public}:}
\DoxyCodeLine{67 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TranslatorsTab_a89e5c7b9c17fb41b7c7bf461fb8ad99e}{TranslatorsTab}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{68 \};}
\DoxyCodeLine{69 }
\DoxyCodeLine{74 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab}{UpdateTab}} : \textcolor{keyword}{public} QWidget \{}
\DoxyCodeLine{75 Q\_OBJECT}
\DoxyCodeLine{76 }
\DoxyCodeLine{77 QLabel* current\_version\_label\_; }
\DoxyCodeLine{78 QLabel* latest\_version\_label\_; }
\DoxyCodeLine{79 QLabel* upgrade\_label\_; }
\DoxyCodeLine{80 QProgressBar* pb\_; }
\DoxyCodeLine{81 QString current\_version\_; }
\DoxyCodeLine{82 QPushButton* download\_button\_; }
\DoxyCodeLine{83 }
\DoxyCodeLine{84 \textcolor{keyword}{public}:}
\DoxyCodeLine{90 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab_a833c5f709607032bac530aacf389a117}{UpdateTab}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{91 }
\DoxyCodeLine{96 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab_a7329657135624fc42ad80d821e11befe}{getLatestVersion}}();}
\DoxyCodeLine{97 }
\DoxyCodeLine{98 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{104 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab_a1003bd969ecbc5deba940e39436968f4}{slot\_show\_version\_status}}(\textcolor{keyword}{const} \mbox{\hyperlink{structGpgFrontend_1_1UI_1_1SoftwareVersion}{SoftwareVersion}}\& version);}
\DoxyCodeLine{105 }
\DoxyCodeLine{106 signals:}
\DoxyCodeLine{112 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab_a5e752e01539ccfdc6bbe41a404ddaa95}{SignalReplyFromUpdateServer}}(QByteArray data);}
\DoxyCodeLine{113 \};}
\DoxyCodeLine{114 }
\DoxyCodeLine{119 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1AboutDialog}{AboutDialog}} : \textcolor{keyword}{public} QDialog \{}
\DoxyCodeLine{120 Q\_OBJECT}
\DoxyCodeLine{121 }
\DoxyCodeLine{122 \textcolor{keyword}{public}:}
\DoxyCodeLine{129 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1AboutDialog_ab04683ab4c4d682af1e259705c60d85a}{AboutDialog}}(\textcolor{keywordtype}{int} defaultIndex, QWidget* parent);}
\DoxyCodeLine{130 }
\DoxyCodeLine{131 \textcolor{keyword}{protected}:}
\DoxyCodeLine{137 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1AboutDialog_ab799cd5e07b06a8e953d72105c0a1083}{showEvent}}(QShowEvent* ev) \textcolor{keyword}{override};}
\DoxyCodeLine{138 }
\DoxyCodeLine{139 \textcolor{keyword}{private}:}
\DoxyCodeLine{140 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1UpdateTab}{UpdateTab}}* update\_tab\_; }
\DoxyCodeLine{141 \};}
\DoxyCodeLine{142 }
\DoxyCodeLine{143 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{144 }
\DoxyCodeLine{145 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_\_ABOUTDIALOG\_H\_\_}}
\end{DoxyCode}