Added more controls to the skeleton, added a base class, updated some elements
This commit is contained in:
+26
-5
@@ -10,6 +10,9 @@
|
||||
#include <QMainWindow>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
#include <QVBoxLayout>
|
||||
#include <QDockWidget>
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
@@ -27,24 +30,42 @@ public:
|
||||
MessagingControls();
|
||||
~MessagingControls();
|
||||
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
|
||||
private slots:
|
||||
void changeCryptionType();
|
||||
void determineCryption();
|
||||
|
||||
private:
|
||||
void setupMainWindow();
|
||||
void createMenus();
|
||||
|
||||
QLineEdit* encryptedBox;
|
||||
QVBoxLayout* buttonLayout;
|
||||
|
||||
QWidget* buttonWidget;
|
||||
|
||||
QDockWidget* buttonDockWidget;
|
||||
QDockWidget* cryptionArea;
|
||||
|
||||
QLabel* lblOfEncryptedBox;
|
||||
QTextEdit* textToEncrypt;
|
||||
QPushButton* encryptionButon;
|
||||
QLineEdit* encryptedBox;
|
||||
|
||||
QTextEdit* textForCryption;
|
||||
QTextEdit* textToDecrypt;
|
||||
|
||||
QPushButton* cryptionButon;
|
||||
QPushButton* cryptionSwitch;
|
||||
|
||||
QMenu* fileMenu;
|
||||
QMenu* editMenu;
|
||||
QAction* closeApplication;
|
||||
QAction* keyEdit;
|
||||
|
||||
unsigned short mainWindowHeight = 450;
|
||||
unsigned short mainWindowWidth = 550;
|
||||
|
||||
bool cryptionChoice;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user