\hypertarget{KeyNewUIDDialog_8h_source}{}\doxysection{Key\+New\+UIDDialog.\+h}
\label{KeyNewUIDDialog_8h_source}\index{src/ui/keypair\_details/KeyNewUIDDialog.h@{src/ui/keypair\_details/KeyNewUIDDialog.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{27 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_KEYNEWUIDDIALOG\_H}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define GPGFRONTEND\_KEYNEWUIDDIALOG\_H}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
\DoxyCodeLine{31 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
\DoxyCodeLine{32 }
\DoxyCodeLine{33 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{34 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyNewUIDDialog}{KeyNewUIDDialog}} : \textcolor{keyword}{public} QDialog \{}
\DoxyCodeLine{35   Q\_OBJECT}
\DoxyCodeLine{36 }
\DoxyCodeLine{37  \textcolor{keyword}{public}:}
\DoxyCodeLine{44   \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyNewUIDDialog_a7226b139dc7a491e8ba780135654be27}{KeyNewUIDDialog}}(\textcolor{keyword}{const} KeyId\& key, QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{45 }
\DoxyCodeLine{46  signals:}
\DoxyCodeLine{51   \textcolor{keywordtype}{void} SignalUIDCreated();}
\DoxyCodeLine{52 }
\DoxyCodeLine{53  \textcolor{keyword}{private} slots:}
\DoxyCodeLine{54 }
\DoxyCodeLine{59   \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyNewUIDDialog_a4e115ce46a85c2f9e4e0e2427839fc7c}{slot\_create\_new\_uid}}();}
\DoxyCodeLine{60 }
\DoxyCodeLine{61  \textcolor{keyword}{private}:}
\DoxyCodeLine{62   \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}} m\_key\_;  }
\DoxyCodeLine{63 }
\DoxyCodeLine{64   QLineEdit* name\_\{\};     }
\DoxyCodeLine{65   QLineEdit* email\_\{\};    }
\DoxyCodeLine{66   QLineEdit* comment\_\{\};  }
\DoxyCodeLine{67 }
\DoxyCodeLine{68   QPushButton* create\_button\_\{\};  }
\DoxyCodeLine{69 }
\DoxyCodeLine{70   QStringList error\_messages\_;  }
\DoxyCodeLine{71   QLabel* error\_label\_\{\};       }
\DoxyCodeLine{72 }
\DoxyCodeLine{73   QRegularExpression re\_email\_\{}
\DoxyCodeLine{74       R\textcolor{stringliteral}{"{}((?:[a-\/z0-\/9!\#\$\%\&'*+/=?\string^\_`\{|\}\string~-\/]+(?:\(\backslash\).[a-\/z0-\/9!\#\$\%\&'*+/=?\string^\_`\{|\}\string~-\/]+)*|"{}(?:[\(\backslash\)x01-\/\(\backslash\)x08\(\backslash\)x0b\(\backslash\)x0c\(\backslash\)x0e-\/\(\backslash\)x1f\(\backslash\)x21\(\backslash\)x23-\/\(\backslash\)x5b\(\backslash\)x5d-\/\(\backslash\)x7f]|\(\backslash\)\(\backslash\)[\(\backslash\)x01-\/\(\backslash\)x09\(\backslash\)x0b\(\backslash\)x0c\(\backslash\)x0e-\/\(\backslash\)x7f])*"{})@(?:(?:[a-\/z0-\/9](?:[a-\/z0-\/9-\/]*[a-\/z0-\/9])?\(\backslash\).)+[a-\/z0-\/9](?:[a-\/z0-\/9-\/]*[a-\/z0-\/9])?|\(\backslash\)[(?:(?:(2(5[0-\/5]|[0-\/4][0-\/9])|1[0-\/9][0-\/9]|[1-\/9]?[0-\/9]))\(\backslash\).)\{3\}(?:(2(5[0-\/5]|[0-\/4][0-\/9])|1[0-\/9][0-\/9]|[1-\/9]?[0-\/9])|[a-\/z0-\/9-\/]*[a-\/z0-\/9]:(?:[\(\backslash\)x01-\/\(\backslash\)x08\(\backslash\)x0b\(\backslash\)x0c\(\backslash\)x0e-\/\(\backslash\)x1f\(\backslash\)x21-\/\(\backslash\)x5a\(\backslash\)x53-\/\(\backslash\)x7f]|\(\backslash\)\(\backslash\)[\(\backslash\)x01-\/\(\backslash\)x09\(\backslash\)x0b\(\backslash\)x0c\(\backslash\)x0e-\/\(\backslash\)x7f])+)\(\backslash\)]))"{}\};}}
\DoxyCodeLine{75 \textcolor{stringliteral}{}}
\DoxyCodeLine{83 \textcolor{stringliteral}{  }\textcolor{keywordtype}{bool} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyNewUIDDialog_ad4e09323a53992daee08173bed17bf9a}{check\_email\_address}}(\textcolor{keyword}{const} QString\& str);}
\DoxyCodeLine{84 \};}
\DoxyCodeLine{85 \}  \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{86 }
\DoxyCodeLine{87 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{// GPGFRONTEND\_KEYNEWUIDDIALOG\_H}}

\end{DoxyCode}
