Cleaned up directory
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
@@ -9,5 +9,9 @@ QT += widgets
|
||||
INCLUDEPATH += .
|
||||
|
||||
# Input
|
||||
HEADERS += messagingcontrols.h
|
||||
SOURCES += main.cpp messagingcontrols.cpp
|
||||
HEADERS += Decryption.h Encryption.h GenerateKeys.h MessagingControls.h
|
||||
SOURCES += Decryption.cpp \
|
||||
Encryption.cpp \
|
||||
GenerateKeys.cpp \
|
||||
Main.cpp \
|
||||
MessagingControls.cpp
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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();
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user