X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.h;h=e672201a1652c2e149d10dd12815a37aecb1b82f;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=359034289e53f39e5f2e3a7bf62d6fc8ab1c37a2;hpb=a1941ef19ec631bf25c883c541f6841f8e2d7252;p=evaf diff --git a/src/apps/PswGen/GUI/gui.h b/src/apps/PswGen/GUI/gui.h index 3590342..e672201 100644 --- a/src/apps/PswGen/GUI/gui.h +++ b/src/apps/PswGen/GUI/gui.h @@ -3,7 +3,7 @@ * @brief GUI for the PswGen application * @author Enar Vaikene * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -20,6 +20,8 @@ #ifndef __PSWGEN_GUI_GUI_H #define __PSWGEN_GUI_GUI_H +#include "version.h" + #include #include @@ -28,11 +30,12 @@ class QLineEdit; class QSpinBox; class QPushButton; +class QCheckBox; namespace eVaf { namespace PswGen { - class iGenerator; - class iStorage; + struct iGenerator; + struct iStorage; namespace GUI { /** @@ -43,6 +46,8 @@ namespace GUI { class Module : public Plugins::iPlugin { Q_OBJECT + Q_INTERFACES(eVaf::Plugins::iPlugin) + Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR) public: @@ -83,9 +88,11 @@ private: // Members eVaf::PswGen::iStorage * mStorage; /// Widgets on the screen - QLineEdit * wName; QLineEdit * wMasterPassword; + QLineEdit * wName; + QLineEdit * wSuffix; QSpinBox * wLength; + QCheckBox * wAlNum; QLineEdit * wPassword; QPushButton * wGenerate; QPushButton * wCopy;