X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGUI%2Fgui.h;h=f4abd248b0399d02480c454b5dc1422f5d1222fb;hb=a81a943bee20df3c7eb34bafb3e3fe878facfe4e;hp=d3c89d4abf0e54d0c7b609b3bf9f3b97fadd4b27;hpb=d50faf159f17a66fb89ea3e7878b6f56e34b9e72;p=evaf diff --git a/src/apps/PswGen/GUI/gui.h b/src/apps/PswGen/GUI/gui.h index d3c89d4..f4abd24 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-2012 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,6 +30,7 @@ class QLineEdit; class QSpinBox; class QPushButton; +class QCheckBox; namespace eVaf { namespace PswGen { @@ -44,6 +47,7 @@ class Module : public Plugins::iPlugin { Q_OBJECT Q_INTERFACES(eVaf::Plugins::iPlugin) + Q_PLUGIN_METADATA(IID VER_MODULE_NAME_STR) public: @@ -84,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;