Redirecting project's purpose into password encryption. Need to separate declaration from implementation

This commit is contained in:
amazing-username
2017-07-27 12:04:10 -05:00
parent 41c53fe8e9
commit 4d5b19cabe
8 changed files with 89 additions and 80 deletions
+3 -18
View File
@@ -8,16 +8,10 @@
#include<QLineEdit>
#include<QPushButton>
#include<memory>
#include"CommonWindow.h"
#include"ViewingWindow.h"
class QHBoxLayout;
class QVBoxLayout;
class QComboBox;
class QLineEdit;
class QPushButton;
using std::unique_ptr;
class KeyManagementWindow : public QDialog
class KeyManagementWindow : public QDialog, public CommonWindow, public ViewingWindow
{
Q_OBJECT
public:
@@ -30,15 +24,6 @@ private slots:
void generation();
void exitApplication();
private:
unique_ptr<QHBoxLayout> hBox;
unique_ptr<QHBoxLayout> hBox2;
unique_ptr<QVBoxLayout> vBox;
unique_ptr<QComboBox> comboBoxOfKeys;
unique_ptr<QLineEdit> valueOfKey;
unique_ptr<QPushButton> generateNewDefaultKeys;
unique_ptr<QPushButton> closeButton;
const int windowWidth{400};
const int windowHeight{400};
};
#endif