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

69 lines
5.6 KiB
TeX

\hypertarget{SubkeyGenerateDialog_8h_source}{}\doxysection{Subkey\+Generate\+Dialog.\+h}
\label{SubkeyGenerateDialog_8h_source}\index{src/ui/key\_generate/SubkeyGenerateDialog.h@{src/ui/key\_generate/SubkeyGenerateDialog.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{27 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_SUBKEYGENERATEDIALOG\_H}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define GPGFRONTEND\_SUBKEYGENERATEDIALOG\_H}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
\DoxyCodeLine{31 \textcolor{preprocessor}{\#include "{}core/GpgGenKeyInfo.h"{}}}
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
\DoxyCodeLine{33 }
\DoxyCodeLine{34 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{39 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog}{SubkeyGenerateDialog}} : \textcolor{keyword}{public} QDialog \{}
\DoxyCodeLine{40 Q\_OBJECT}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{keyword}{public}:}
\DoxyCodeLine{49 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a8f9d8baa7b576a4aa857818b87c26bcd}{SubkeyGenerateDialog}}(\textcolor{keyword}{const} KeyId\& key\_id, QWidget* parent);}
\DoxyCodeLine{50 }
\DoxyCodeLine{51 signals:}
\DoxyCodeLine{56 \textcolor{keywordtype}{void} SignalSubKeyGenerated();}
\DoxyCodeLine{57 }
\DoxyCodeLine{58 \textcolor{keyword}{private}:}
\DoxyCodeLine{59 \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}} key\_; }
\DoxyCodeLine{60 }
\DoxyCodeLine{61 std::unique\_ptr<GenKeyInfo> gen\_key\_info\_ =}
\DoxyCodeLine{62 std::make\_unique<GenKeyInfo>(\textcolor{keyword}{true}); }
\DoxyCodeLine{63 }
\DoxyCodeLine{64 QGroupBox* key\_usage\_group\_box\_\{\};}
\DoxyCodeLine{65 QDialogButtonBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_ab06b11f407fbb407139235fc84325de2}{button\_box\_}}; }
\DoxyCodeLine{66 QLabel* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a75f325b4a5aa8bcfcc411bdaf9279683}{error\_label\_}}\{\}; }
\DoxyCodeLine{67 QSpinBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_aa91db742b41d352ba9f88620d649afb3}{key\_size\_spin\_box\_}}\{\}; }
\DoxyCodeLine{68 QComboBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_ac515dabcf6c094c5eeb2bf88aa3aa9d3}{key\_type\_combo\_box\_}}\{\}; }
\DoxyCodeLine{69 QDateTimeEdit* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_aa8bf228ba2a773c0d38f9e5c2f20539d}{date\_edit\_}}\{\}; }
\DoxyCodeLine{70 QCheckBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_afa21ac4d45a6474afc1bc594486ed8e2}{expire\_check\_box\_}}\{\}; }
\DoxyCodeLine{71 }
\DoxyCodeLine{72 std::vector<QCheckBox*> \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a5d67b8ed68062ef127ad92986a98e95a}{key\_usage\_check\_boxes\_}}; }
\DoxyCodeLine{73 QDateTime max\_date\_time\_; }
\DoxyCodeLine{74 }
\DoxyCodeLine{80 QGroupBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_aa24064a5f585b23d71e1036958f31d7d}{create\_key\_usage\_group\_box}}();}
\DoxyCodeLine{81 }
\DoxyCodeLine{87 QGroupBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a029017ad2e025a43d21144f1b7427593}{create\_basic\_info\_group\_box}}();}
\DoxyCodeLine{92 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a90900b67eceb2d16af5de27f9f038f7f}{set\_signal\_slot}}();}
\DoxyCodeLine{93 }
\DoxyCodeLine{97 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a4a5b77fb909e9a6a0e4da780c75f7535}{refresh\_widgets\_state}}();}
\DoxyCodeLine{98 }
\DoxyCodeLine{99 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{100 }
\DoxyCodeLine{105 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a49d9f3bb2cfb17eb39dcd4dc0385234e}{slot\_expire\_box\_changed}}();}
\DoxyCodeLine{106 }
\DoxyCodeLine{111 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_aab426dec4b4655b215b09b490e05ad05}{slot\_key\_gen\_accept}}();}
\DoxyCodeLine{112 }
\DoxyCodeLine{118 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a1f4dda7500b3de7476e5d1e7bd5b550b}{slot\_encryption\_box\_changed}}(\textcolor{keywordtype}{int} state);}
\DoxyCodeLine{119 }
\DoxyCodeLine{125 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_aedef4e8784c8a3edb06b0f2821500552}{slot\_signing\_box\_changed}}(\textcolor{keywordtype}{int} state);}
\DoxyCodeLine{126 }
\DoxyCodeLine{132 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a8ab50d8f47489c57e382b3fe231ba9a7}{slot\_certification\_box\_changed}}(\textcolor{keywordtype}{int} state);}
\DoxyCodeLine{133 }
\DoxyCodeLine{139 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a13229f07ef0ed594357df1918af50d3d}{slot\_authentication\_box\_changed}}(\textcolor{keywordtype}{int} state);}
\DoxyCodeLine{140 }
\DoxyCodeLine{146 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog_a52a0aadc9b1e80bdcaaf1ad9d8997957}{slot\_activated\_key\_type}}(\textcolor{keywordtype}{int} index);}
\DoxyCodeLine{147 \};}
\DoxyCodeLine{148 }
\DoxyCodeLine{149 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{150 }
\DoxyCodeLine{151 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_SUBKEYGENERATEDIALOG\_H}}
\end{DoxyCode}