This commit is contained in:
AshBastian
2020-01-10 21:10:49 +01:00
parent dbf1cda101
commit 7491472962
5 changed files with 121 additions and 40 deletions

View File

@@ -11,6 +11,9 @@
#include <QLabel>
#include <QLineEdit>
#include "IntelliInputDialog.h"
// PaintingArea used to paint the image
class PaintingArea;
@@ -30,11 +33,12 @@ public:
/*!
* \brief The IntelliPhotoGui method is the constructor and is used to create a new instance of the main program window
*/
IntelliPhotoGui();
IntelliPhotoGui(IntelliInputDialog* InputDialog);
void UpdateGui();
void setToolWidth(int value);
int returnValueOfInputDialog = 5;
protected:
// Function used to close an event
@@ -104,6 +108,8 @@ void setDefaultToolValue();
// What we'll draw on
PaintingArea* paintingArea;
IntelliInputDialog* InputDialog;
QEventLoop Loop;
const QSize Buttonsize = QSize(35,35);
QPixmap preview;