GpgFrontend-Doxygen/docs/latex/Wizard_8h_source.tex

90 lines
5.7 KiB
TeX
Raw Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{Wizard_8h_source}{}\doxysection{Wizard.\+h}
\label{Wizard_8h_source}\index{src/ui/dialog/Wizard.h@{src/ui/dialog/Wizard.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef WIZARD\_H}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define WIZARD\_H}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgConstants.h"{}}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}ui/KeyMgmt.h"{}}}
\DoxyCodeLine{35 \textcolor{preprocessor}{\#include "{}ui/key\_generate/KeygenDialog.h"{}}}
\DoxyCodeLine{36 \textcolor{preprocessor}{\#include "{}ui/settings/SettingsDialog.h"{}}}
\DoxyCodeLine{37 }
\DoxyCodeLine{38 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{39 }
\DoxyCodeLine{44 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1Wizard}{Wizard}} : \textcolor{keyword}{public} QWizard \{}
\DoxyCodeLine{45 Q\_OBJECT}
\DoxyCodeLine{46 Q\_ENUMS(WizardPages)}
\DoxyCodeLine{47 }
\DoxyCodeLine{48 \textcolor{keyword}{public}:}
\DoxyCodeLine{49 \textcolor{keyword}{enum} WizardPages \{ Page\_Intro, Page\_Choose, Page\_GenKey, Page\_Conclusion \};}
\DoxyCodeLine{50 }
\DoxyCodeLine{56 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1Wizard_a448db8fe5ace96418ffd1f23b0142b10}{Wizard}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{57 }
\DoxyCodeLine{58 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{63 \textcolor{keywordtype}{void} slot\_wizard\_accepted();}
\DoxyCodeLine{64 }
\DoxyCodeLine{65 signals:}
\DoxyCodeLine{71 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1Wizard_a8b5f5ddb1e6470cbf6c87cc6400031fb}{SignalOpenHelp}}(QString page);}
\DoxyCodeLine{72 \};}
\DoxyCodeLine{73 }
\DoxyCodeLine{78 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1IntroPage}{IntroPage}} : \textcolor{keyword}{public} QWizardPage \{}
\DoxyCodeLine{79 Q\_OBJECT}
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{keyword}{public}:}
\DoxyCodeLine{87 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1IntroPage_aed4220a7372b192ee4e8bc5024db922d}{IntroPage}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{88 }
\DoxyCodeLine{89 \textcolor{keyword}{protected}:}
\DoxyCodeLine{95 [[nodiscard]] \textcolor{keywordtype}{int} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1IntroPage_a812fd63d87955f9131a98ad8b679f8a4}{nextId}}() \textcolor{keyword}{const override};}
\DoxyCodeLine{96 \};}
\DoxyCodeLine{97 }
\DoxyCodeLine{98 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ChoosePage}{ChoosePage}} : \textcolor{keyword}{public} QWizardPage \{}
\DoxyCodeLine{99 Q\_OBJECT}
\DoxyCodeLine{100 }
\DoxyCodeLine{101 \textcolor{keyword}{public}:}
\DoxyCodeLine{107 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ChoosePage_ae370e789009be3926410cb749c86907b}{ChoosePage}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{108 }
\DoxyCodeLine{109 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{110 }
\DoxyCodeLine{116 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ChoosePage_af0d7890fe65385b7785719b9cff0718b}{slot\_jump\_page}}(\textcolor{keyword}{const} QString\& page);}
\DoxyCodeLine{117 }
\DoxyCodeLine{118 \textcolor{keyword}{protected}:}
\DoxyCodeLine{124 [[nodiscard]] \textcolor{keywordtype}{int} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ChoosePage_a243a82d13267b7252844fd7691c703f0}{nextId}}() \textcolor{keyword}{const override};}
\DoxyCodeLine{125 }
\DoxyCodeLine{126 \textcolor{keywordtype}{int} next\_page\_; }
\DoxyCodeLine{127 \};}
\DoxyCodeLine{128 }
\DoxyCodeLine{133 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyGenPage}{KeyGenPage}} : \textcolor{keyword}{public} QWizardPage \{}
\DoxyCodeLine{134 Q\_OBJECT}
\DoxyCodeLine{135 }
\DoxyCodeLine{136 \textcolor{keyword}{public}:}
\DoxyCodeLine{142 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyGenPage_a0eb5dad522c597dcd101c02f496e7e70}{KeyGenPage}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{143 }
\DoxyCodeLine{149 [[nodiscard]] \textcolor{keywordtype}{int} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyGenPage_a28958f6627f01db7c6f75fc0dec3eead}{nextId}}() \textcolor{keyword}{const override};}
\DoxyCodeLine{150 }
\DoxyCodeLine{151 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{152 }
\DoxyCodeLine{157 \textcolor{keywordtype}{void} slot\_generate\_key\_dialog();}
\DoxyCodeLine{158 \};}
\DoxyCodeLine{159 }
\DoxyCodeLine{164 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ConclusionPage}{ConclusionPage}} : \textcolor{keyword}{public} QWizardPage \{}
\DoxyCodeLine{165 Q\_OBJECT}
\DoxyCodeLine{166 }
\DoxyCodeLine{167 \textcolor{keyword}{public}:}
\DoxyCodeLine{173 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ConclusionPage_afcd98b4735047807d384e6b3d3aea3a7}{ConclusionPage}}(QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{174 }
\DoxyCodeLine{180 [[nodiscard]] \textcolor{keywordtype}{int} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ConclusionPage_a0f3f3118456ccce7c2a6965cf68d2cf7}{nextId}}() \textcolor{keyword}{const override};}
\DoxyCodeLine{181 }
\DoxyCodeLine{182 \textcolor{keyword}{private}:}
\DoxyCodeLine{183 QCheckBox* dont\_show\_wizard\_checkbox\_; }
\DoxyCodeLine{184 QCheckBox* open\_help\_check\_box\_; }
\DoxyCodeLine{185 \};}
\DoxyCodeLine{186 }
\DoxyCodeLine{187 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{188 }
\DoxyCodeLine{189 \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}