Cleaned up directory

This commit is contained in:
amazing-username
2017-03-24 13:06:06 -05:00
parent adc92aae29
commit 610554d655
7 changed files with 7 additions and 97 deletions
BIN
View File
Binary file not shown.
+7 -3
View File
@@ -1,5 +1,5 @@
###################################################################### ######################################################################
# Automatically generated by qmake (3.1) Thu Mar 23 12:02:37 2017 # Automatically generated by qmake (3.1) Fri Mar 24 12:16:30 2017
###################################################################### ######################################################################
TEMPLATE = app TEMPLATE = app
@@ -9,5 +9,9 @@ QT += widgets
INCLUDEPATH += . INCLUDEPATH += .
# Input # Input
HEADERS += messagingcontrols.h HEADERS += Decryption.h Encryption.h GenerateKeys.h MessagingControls.h
SOURCES += main.cpp messagingcontrols.cpp SOURCES += Decryption.cpp \
Encryption.cpp \
GenerateKeys.cpp \
Main.cpp \
MessagingControls.cpp
BIN
View File
Binary file not shown.
Binary file not shown.
-14
View File
@@ -1,14 +0,0 @@
#include <iostream>
#include <QApplication>
#include "messagingcontrols.h"
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
messagingcontrols* stuff = new messagingcontrols;;
stuff->show();
return app.exec();
}
-47
View File
@@ -1,47 +0,0 @@
#include <QtGui>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include "messagingcontrols.h"
messagingcontrols::messagingcontrols(QWidget* parent) : QDialog(parent)
{
QVBoxLayout* everything = new QVBoxLayout;
lblOfEncryptedBox = new QLabel(tr("Message: "));
encryptedBox = new QLineEdit;
encryptionButon = new QPushButton;
//Adding lbl and line edit
QHBoxLayout* lblAndLineEdit = new QHBoxLayout;
lblAndLineEdit->addWidget(lblOfEncryptedBox);
lblAndLineEdit->addWidget(encryptedBox);
//Adding button
QHBoxLayout* button = new QHBoxLayout;
button->addWidget(encryptionButon);
//Add everything
everything->addLayout(lblAndLineEdit);
everything->addLayout(button);
setLayout(everything);
setWindowTitle("Encryption Messaging");
setFixedHeight(300);
setFixedWidth(400);
/**
* Initialize controls
*/
}
messagingcontrols::~messagingcontrols()
{
/**
* Delete pointer types
*/
delete lblOfEncryptedBox;
delete encryptionButon;
delete encryptedBox;
}
-33
View File
@@ -1,33 +0,0 @@
#ifndef MESSAGINGCONTROLS_H
#define MESSAGINGCONTROLS_H
#include <QDialog>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
class QLabel;
class QLineEdit;
class QPushButton;
class messagingcontrols : public QDialog
{
Q_OBJECT
public:
messagingcontrols(QWidget* parent = 0);
~messagingcontrols();
/**
signals:
private slots:
*/
private:
QLineEdit* encryptedBox;
QLabel* lblOfEncryptedBox;
QPushButton* encryptionButon;
};
#endif