From d60796ccae7d54ece381005ae8c53916660306d3 Mon Sep 17 00:00:00 2001 From: Jan Schuffenhauer Date: Thu, 16 Jan 2020 12:38:47 +0100 Subject: [PATCH] Automated Release Preparation --- docs/html/_intelli_input_dialog_8cpp.html | 1 - .../_intelli_input_dialog_8cpp_source.html | 178 +++++---- docs/html/_intelli_input_dialog_8h.html | 8 +- .../html/_intelli_input_dialog_8h_source.html | 83 ++-- docs/html/_intelli_photo_gui_8cpp_source.html | 2 +- docs/html/_intelli_photo_gui_8h.html | 8 +- docs/html/_intelli_photo_gui_8h_source.html | 360 +++++++++--------- docs/html/_painting_area_8h_source.html | 2 +- docs/html/class_intelli_input_dialog.html | 10 +- docs/html/class_intelli_photo_gui.html | 2 +- docs/html/main_8cpp_source.html | 2 +- docs/html/main_unit_test_8cpp_source.html | 2 +- docs/html/tst__unittest_8cpp_source.html | 2 +- 13 files changed, 338 insertions(+), 322 deletions(-) diff --git a/docs/html/_intelli_input_dialog_8cpp.html b/docs/html/_intelli_input_dialog_8cpp.html index b686439..65f283c 100644 --- a/docs/html/_intelli_input_dialog_8cpp.html +++ b/docs/html/_intelli_input_dialog_8cpp.html @@ -87,7 +87,6 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8cpp.html','');
#include "IntelliInputDialog.h"
-#include <QFile>

Go to the source code of this file.

diff --git a/docs/html/_intelli_input_dialog_8cpp_source.html b/docs/html/_intelli_input_dialog_8cpp_source.html index 3c4b0db..d9ad586 100644 --- a/docs/html/_intelli_input_dialog_8cpp_source.html +++ b/docs/html/_intelli_input_dialog_8cpp_source.html @@ -87,99 +87,97 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8cpp_source.html
Go to the documentation of this file.
1 #include "IntelliInputDialog.h"
-
2 #include <QFile>
-
3 
-
4 
-
5 IntelliInputDialog::IntelliInputDialog(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok)
-
6 {
-
7  this->valueInt = value;
-
8  this->notClosed = ok;
-
9  if(notClosed != nullptr) {
-
10  *notClosed = false;
-
11  }
-
12  createInputBox(Title, Label, value, minValue, maxValue, step);
-
13  createConnections();
-
14  setInputBoxStyle();
-
15  this->exec();
-
16 }
-
17 
-
18 int IntelliInputDialog::getInt(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok){
-
19  IntelliInputDialog dialog(Title, Label, value, minValue, maxValue, step, ok);
-
20  return dialog.valueInt;
-
21 }
-
22 
-
23 void IntelliInputDialog::createInputBox(QString Title, QString Label, int value, int minValue, int maxValue, int step){
-
24  this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
-
25  if(Title == nullptr) {
-
26  this->setWindowTitle("Input Box");
-
27  }
-
28  else{
-
29  this->setWindowTitle(Title);
-
30  }
-
31  this->Layout = new QGridLayout();
-
32  this->ButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
-
33 
-
34  this->InputLabel = new QLabel();
-
35  if(Label == nullptr) {
-
36  this->InputLabel->setText("Width:");
-
37  }
-
38  else{
-
39  this->InputLabel->setText(Label);
-
40  }
-
41  this->InputLabel->setFixedSize(Linesize);
-
42 
-
43  this->Input = new QSpinBox();
-
44  this->Input->setFixedSize(Linesize);
-
45  this->Input->setRange(minValue,maxValue);
-
46  this->Input->setSingleStep(step);
-
47  this->Input->setValue(value);
-
48 
-
49  this->okButton = ButtonBox->button(QDialogButtonBox::Ok);
-
50  this->okButton->setFixedSize(Buttonsize);
-
51  this->okButton->setAutoDefault(false);
-
52  this->okButton->setDefault(false);
-
53 
-
54  this->cancelButton = ButtonBox->button(QDialogButtonBox::Cancel);
-
55  this->cancelButton->setFixedSize(Buttonsize);
-
56  this->cancelButton->setAutoDefault(false);
-
57  this->cancelButton->setDefault(false);
-
58 
-
59  Layout->addWidget(InputLabel,1,1,1,1);
-
60  Layout->addWidget(Input,2,1,1,1);
-
61  Layout->addWidget(ButtonBox,3,1,1,1);
-
62  this->setLayout(Layout);
-
63  this->resize(172,94);
-
64  this->show();
-
65 }
-
66 
-
67 void IntelliInputDialog::createConnections(){
-
68  connect(okButton, SIGNAL(clicked()), this, SLOT(slotEingabe()));
-
69  connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCloseEvent()));
-
70 }
-
71 
-
72 void IntelliInputDialog::setInputBoxStyle(){
-
73  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
-
74 }
-
75 
- -
77  this->close();
-
78 }
-
79 
- -
81  valueInt = QString("%1").arg(Input->value()).toInt();
-
82  if(notClosed != nullptr) {
-
83  *notClosed = true;
-
84  }
-
85  this->close();
-
86 }
+
2 
+
3 IntelliInputDialog::IntelliInputDialog(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok)
+
4 {
+
5  this->valueInt = value;
+
6  this->notClosed = ok;
+
7  if(notClosed != nullptr) {
+
8  *notClosed = false;
+
9  }
+
10  createInputBox(Title, Label, value, minValue, maxValue, step);
+
11  createConnections();
+
12  setInputBoxStyle();
+
13  this->exec();
+
14 }
+
15 
+
16 int IntelliInputDialog::getInt(QString Title, QString Label, int value, int minValue, int maxValue, int step, bool* ok){
+
17  IntelliInputDialog dialog(Title, Label, value, minValue, maxValue, step, ok);
+
18  return dialog.valueInt;
+
19 }
+
20 
+
21 void IntelliInputDialog::createInputBox(QString Title, QString Label, int value, int minValue, int maxValue, int step){
+
22  this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
+
23  if(Title == nullptr) {
+
24  this->setWindowTitle("Input Box");
+
25  }
+
26  else{
+
27  this->setWindowTitle(Title);
+
28  }
+
29  this->Layout = new QGridLayout();
+
30  this->ButtonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
+
31 
+
32  this->InputLabel = new QLabel();
+
33  if(Label == nullptr) {
+
34  this->InputLabel->setText("Width:");
+
35  }
+
36  else{
+
37  this->InputLabel->setText(Label);
+
38  }
+
39  this->InputLabel->setFixedSize(Linesize);
+
40 
+
41  this->Input = new QSpinBox();
+
42  this->Input->setFixedSize(Linesize);
+
43  this->Input->setRange(minValue,maxValue);
+
44  this->Input->setSingleStep(step);
+
45  this->Input->setValue(value);
+
46 
+
47  this->okButton = ButtonBox->button(QDialogButtonBox::Ok);
+
48  this->okButton->setFixedSize(Buttonsize);
+
49  this->okButton->setAutoDefault(false);
+
50  this->okButton->setDefault(false);
+
51 
+
52  this->cancelButton = ButtonBox->button(QDialogButtonBox::Cancel);
+
53  this->cancelButton->setFixedSize(Buttonsize);
+
54  this->cancelButton->setAutoDefault(false);
+
55  this->cancelButton->setDefault(false);
+
56 
+
57  Layout->addWidget(InputLabel,1,1,1,1);
+
58  Layout->addWidget(Input,2,1,1,1);
+
59  Layout->addWidget(ButtonBox,3,1,1,1);
+
60  this->setLayout(Layout);
+
61  this->resize(172,94);
+
62  this->show();
+
63 }
+
64 
+
65 void IntelliInputDialog::createConnections(){
+
66  connect(okButton, SIGNAL(clicked()), this, SLOT(slotEingabe()));
+
67  connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCloseEvent()));
+
68 }
+
69 
+
70 void IntelliInputDialog::setInputBoxStyle(){
+
71  this->setStyleSheet("color: white;" "background-color: rgb(64, 64, 64);" "selection-color: rgb(200, 10, 10);" "selection-background-color: rgb(64, 64, 64);");
+
72 }
+
73 
+ +
75  this->close();
+
76 }
+
77 
+ +
79  valueInt = QString("%1").arg(Input->value()).toInt();
+
80  if(notClosed != nullptr) {
+
81  *notClosed = true;
+
82  }
+
83  this->close();
+
84 }
-
void slotCloseEvent()
+
void slotCloseEvent()
-
-
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
void slotEingabe()
+
+
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
+
void slotEingabe()
-
#include <QtWidgets>
+
#include <QSize>
+#include <QDialog>
+#include <QLabel>
+#include <QGridLayout>
+#include <QDialogButtonBox>
+#include <QPushButton>
+#include <QSpinBox>

Go to the source code of this file.

diff --git a/docs/html/_intelli_input_dialog_8h_source.html b/docs/html/_intelli_input_dialog_8h_source.html index b2db70e..1e3e363 100644 --- a/docs/html/_intelli_input_dialog_8h_source.html +++ b/docs/html/_intelli_input_dialog_8h_source.html @@ -89,49 +89,54 @@ $(document).ready(function(){initNavTree('_intelli_input_dialog_8h_source.html', Go to the documentation of this file.
1 #ifndef INTELLIINPUTDIALOG_H
2 #define INTELLIINPUTDIALOG_H
3 
-
4 #include <QtWidgets>
-
5 
-
6 class IntelliInputDialog : public QDialog
-
7 {
-
8 Q_OBJECT
-
9 public:
-
10 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
4 #include <QSize>
+
5 #include <QDialog>
+
6 #include <QLabel>
+
7 #include <QGridLayout>
+
8 #include <QDialogButtonBox>
+
9 #include <QPushButton>
+
10 #include <QSpinBox>
11 
-
12 
-
13 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
-
14 
-
15 public slots:
-
16 void slotCloseEvent();
-
17 void slotEingabe();
+
12 class IntelliInputDialog : public QDialog
+
13 {
+
14 Q_OBJECT
+
15 public:
+
16 IntelliInputDialog(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
17 
18 
-
19 private:
-
20 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
-
21 void createConnections();
-
22 void setInputBoxStyle();
-
23 
-
24 int valueInt;
-
25 
-
26 QGridLayout* Layout;
-
27 QDialogButtonBox* ButtonBox;
-
28 QEventLoop loop;
-
29 bool* notClosed;
-
30 
-
31 const QSize Linesize = QSize(150,20);
-
32 const QSize Buttonsize = QSize(72,20);
-
33 QLabel* InputLabel;
-
34 QSpinBox* Input;
-
35 QPushButton* okButton;
-
36 QPushButton* cancelButton;
-
37 };
-
38 
-
39 #endif // INTELLIINPUTDIALOG_H
+
19 static int getInt(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = nullptr);
+
20 
+
21 public slots:
+
22 void slotCloseEvent();
+
23 void slotEingabe();
+
24 
+
25 private:
+
26 void createInputBox(QString Title = nullptr, QString Label = nullptr, int value = 5, int minValue = -2147483647, int maxValue = 2147483647, int step = 1);
+
27 void createConnections();
+
28 void setInputBoxStyle();
+
29 
+
30 int valueInt;
+
31 
+
32 QGridLayout* Layout;
+
33 QDialogButtonBox* ButtonBox;
+
34 bool* notClosed;
+
35 
+
36 const QSize Linesize = QSize(150,20);
+
37 const QSize Buttonsize = QSize(72,20);
+
38 QLabel* InputLabel;
+
39 QSpinBox* Input;
+
40 QPushButton* okButton;
+
41 QPushButton* cancelButton;
+
42 };
+
43 
+
44 #endif // INTELLIINPUTDIALOG_H
- - -
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
-
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
- + + +
IntelliInputDialog(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
+
static int getInt(QString Title=nullptr, QString Label=nullptr, int value=5, int minValue=-2147483647, int maxValue=2147483647, int step=1, bool *ok=nullptr)
+
-
#include <QtWidgets>
-#include <QPixmap>
+
#include <QAction>
+#include <QFileDialog>
+#include <QMessageBox>
+#include <QImageWriter>
+#include <QMenu>
+#include <QMenuBar>
#include <QList>
#include <QMainWindow>
#include <QGridLayout>
diff --git a/docs/html/_intelli_photo_gui_8h_source.html b/docs/html/_intelli_photo_gui_8h_source.html index 5a69f55..918ad77 100644 --- a/docs/html/_intelli_photo_gui_8h_source.html +++ b/docs/html/_intelli_photo_gui_8h_source.html @@ -89,195 +89,199 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','') Go to the documentation of this file.
1 #ifndef IntelliPhotoGui_H
2 #define IntelliPhotoGui_H
3 
-
4 #include <QtWidgets>
-
5 #include <QPixmap>
-
6 #include <QList>
-
7 #include <QMainWindow>
-
8 #include <QGridLayout>
-
9 #include <QPushButton>
-
10 #include <QTextEdit>
-
11 #include <QLabel>
-
12 #include <QLineEdit>
-
13 #include "IntelliInputDialog.h"
-
14 
-
15 //for unit testing
-
16 class UnitTest;
-
17 
-
18 // PaintingArea used to paint the image
-
19 class PaintingArea;
-
20 
-
21 class IntelliTool;
-
22 
-
23 class IntelliColorPicker;
+
4 #include <QAction>
+
5 #include <QFileDialog>
+
6 #include <QMessageBox>
+
7 #include <QImageWriter>
+
8 #include <QMenu>
+
9 #include <QMenuBar>
+
10 #include <QList>
+
11 #include <QMainWindow>
+
12 #include <QGridLayout>
+
13 #include <QPushButton>
+
14 #include <QTextEdit>
+
15 #include <QLabel>
+
16 #include <QLineEdit>
+
17 #include "IntelliInputDialog.h"
+
18 
+
19 //for unit testing
+
20 class UnitTest;
+
21 
+
22 // PaintingArea used to paint the image
+
23 class PaintingArea;
24 
-
28 class IntelliPhotoGui : public QMainWindow {
-
29 friend UnitTest;
-
30 // Declares our class as a QObject which is the base class
-
31 // for all Qt objects
-
32 // QObjects handle events
-
33 Q_OBJECT
-
34 public:
- -
39 
-
40 void UpdateGui();
-
41 
-
42 void setToolWidth(int value);
+
25 class IntelliTool;
+
26 
+
27 class IntelliColorPicker;
+
28 
+
32 class IntelliPhotoGui : public QMainWindow {
+
33 friend UnitTest;
+
34 // Declares our class as a QObject which is the base class
+
35 // for all Qt objects
+
36 // QObjects handle events
+
37 Q_OBJECT
+
38 public:
+
43 
-
44 protected:
-
48 void closeEvent(QCloseEvent*event) override;
-
49 
-
50 private slots:
-
51 void slotOpen();
-
52 void slotSave();
+
44 void UpdateGui();
+
45 
+
46 void setToolWidth(int value);
+
47 
+
48 protected:
+
52 void closeEvent(QCloseEvent*event) override;
53 
-
54 // layer slots here
-
55 void slotCreateNewRasterLayer();
-
56 void slotCreateNewShapedLayer();
-
57 void slotDeleteLayer();
-
58 void slotSetActiveLayer();
-
59 void slotSetActiveAlpha();
-
60 void slotSetPolygon();
-
61 void slotPositionMoveUp();
-
62 void slotPositionMoveDown();
-
63 void slotPositionMoveLeft();
-
64 void slotPositionMoveRight();
-
65 void slotMoveLayerUp();
-
66 void slotMoveLayerDown();
-
67 
-
68 void slotUpdateRenderSettingsOn();
-
69 void slotUpdateRenderSettingsOff();
-
70 
-
71 void slotSetFirstColor();
-
72 void slotSetSecondColor();
-
73 void slotSwapColor();
+
54 private slots:
+
55 void slotOpen();
+
56 void slotSave();
+
57 
+
58 // layer slots here
+
59 void slotCreateNewRasterLayer();
+
60 void slotCreateNewShapedLayer();
+
61 void slotDeleteLayer();
+
62 void slotSetActiveLayer();
+
63 void slotSetActiveAlpha();
+
64 void slotSetPolygon();
+
65 void slotPositionMoveUp();
+
66 void slotPositionMoveDown();
+
67 void slotPositionMoveLeft();
+
68 void slotPositionMoveRight();
+
69 void slotMoveLayerUp();
+
70 void slotMoveLayerDown();
+
71 
+
72 void slotUpdateRenderSettingsOn();
+
73 void slotUpdateRenderSettingsOff();
74 
-
75 void slotCreatePenTool();
-
76 void slotCreatePlainTool();
-
77 void slotCreateLineTool();
-
78 void slotCreateRectangleTool();
-
79 void slotCreateCircleTool();
-
80 void slotCreatePolygonTool();
-
81 void slotCreateFloodFillTool();
-
82 
-
83 void slotAboutDialog();
-
84 
-
85 void slotEnterPressed();
+
75 void slotSetFirstColor();
+
76 void slotSetSecondColor();
+
77 void slotSwapColor();
+
78 
+
79 void slotCreatePenTool();
+
80 void slotCreatePlainTool();
+
81 void slotCreateLineTool();
+
82 void slotCreateRectangleTool();
+
83 void slotCreateCircleTool();
+
84 void slotCreatePolygonTool();
+
85 void slotCreateFloodFillTool();
86 
-
87 void slotSetWidth();
-
88 void slotSetInnerAlpha();
-
89 
-
90 void slotResetTools();
-
91 
-
92 private:
-
93 void createActions();
-
94 void createMenus();
-
95 void createGui();
-
96 // Set the style of the GUI
-
97 void setIntelliStyle();
-
98 
-
99 // Will check if changes have occurred since last save
-
100 bool maybeSave();
-
101 // Opens the Save dialog and saves
-
102 bool saveFile(const QByteArray &fileFormat);
-
103 
-
104 void setDefaultToolValue();
-
105 
-
106 // What we'll draw on
-
107 PaintingArea* paintingArea;
-
108 
-
109 const QSize Buttonsize = QSize(35,35);
-
110 QPixmap preview;
-
111 QPushButton* CircleButton;
-
112 QPushButton* FloodFillButton;
-
113 QPushButton* LineButton;
-
114 QPushButton* PenButton;
-
115 QPushButton* PlainButton;
-
116 QPushButton* PolygonButton;
-
117 QPushButton* RectangleButton;
-
118 QLabel* WidthLine;
-
119 QLabel* innerAlphaLine;
-
120 QLineEdit* EditLineWidth;
-
121 QLineEdit* EditLineInnerAlpha;
-
122 QIntValidator* ValidatorLineWidth;
-
123 QIntValidator* ValidatorInnerAlpha;
-
124 
-
125 QPushButton* FirstColorButton;
-
126 QPushButton* SecondColorButton;
-
127 QPushButton* SwitchColorButton;
+
87 void slotAboutDialog();
+
88 
+
89 void slotEnterPressed();
+
90 
+
91 void slotSetWidth();
+
92 void slotSetInnerAlpha();
+
93 
+
94 void slotResetTools();
+
95 
+
96 private:
+
97 void createActions();
+
98 void createMenus();
+
99 void createGui();
+
100 // Set the style of the GUI
+
101 void setIntelliStyle();
+
102 
+
103 // Will check if changes have occurred since last save
+
104 bool maybeSave();
+
105 // Opens the Save dialog and saves
+
106 bool saveFile(const QByteArray &fileFormat);
+
107 
+
108 void setDefaultToolValue();
+
109 
+
110 // What we'll draw on
+
111 PaintingArea* paintingArea;
+
112 
+
113 const QSize Buttonsize = QSize(35,35);
+
114 QPixmap preview;
+
115 QPushButton* CircleButton;
+
116 QPushButton* FloodFillButton;
+
117 QPushButton* LineButton;
+
118 QPushButton* PenButton;
+
119 QPushButton* PlainButton;
+
120 QPushButton* PolygonButton;
+
121 QPushButton* RectangleButton;
+
122 QLabel* WidthLine;
+
123 QLabel* innerAlphaLine;
+
124 QLineEdit* EditLineWidth;
+
125 QLineEdit* EditLineInnerAlpha;
+
126 QIntValidator* ValidatorLineWidth;
+
127 QIntValidator* ValidatorInnerAlpha;
128 
-
129 QLabel* ActiveLayerLine;
-
130 QLabel* ActiveLayerImageLabel;
-
131 
-
132 // The menu widgets
-
133 QMenu*saveAsMenu;
-
134 QMenu*fileMenu;
-
135 QMenu*renderMenu;
-
136 QMenu*optionMenu;
-
137 QMenu*layerCreationMenu;
-
138 QMenu*layerMenu;
-
139 QMenu*colorMenu;
-
140 QMenu*toolCreationMenu;
-
141 QMenu*toolSettingsMenu;
-
142 QMenu*toolMenu;
-
143 QMenu*helpMenu;
-
144 
-
145 // All the actions that can occur
-
146 // meta image actions (need further modularisation)
-
147 QAction* actionOpen;
-
148 QAction* actionExit;
-
149 
-
150 //Rendersetting actions
-
151 QAction*actionUpdateRenderSettingsOn;
-
152 QAction*actionUpdateRenderSettingsOff;
+
129 QPushButton* FirstColorButton;
+
130 QPushButton* SecondColorButton;
+
131 QPushButton* SwitchColorButton;
+
132 
+
133 QLabel* ActiveLayerLine;
+
134 QLabel* ActiveLayerImageLabel;
+
135 
+
136 // The menu widgets
+
137 QMenu*saveAsMenu;
+
138 QMenu*fileMenu;
+
139 QMenu*renderMenu;
+
140 QMenu*optionMenu;
+
141 QMenu*layerCreationMenu;
+
142 QMenu*layerMenu;
+
143 QMenu*colorMenu;
+
144 QMenu*toolCreationMenu;
+
145 QMenu*toolSettingsMenu;
+
146 QMenu*toolMenu;
+
147 QMenu*helpMenu;
+
148 
+
149 // All the actions that can occur
+
150 // meta image actions (need further modularisation)
+
151 QAction* actionOpen;
+
152 QAction* actionExit;
153 
-
154 // color Picker actions
-
155 QAction* actionColorPickerFirstColor;
-
156 QAction* actionColorPickerSecondColor;
-
157 QAction* actionColorSwap;
-
158 
-
159 // tool actions
-
160 QAction* actionCreatePenTool;
-
161 QAction* actionCreatePlainTool;
-
162 QAction* actionCreateLineTool;
-
163 QAction* actionCreateRectangleTool;
-
164 QAction* actionCreateCircleTool;
-
165 QAction* actionCreatePolygonTool;
-
166 QAction* actionCreateFloodFillTool;
-
167 
-
168 // dialog actions
-
169 QAction* actionAboutDialog;
-
170 QAction* actionAboutQtDialog;
+
154 //Rendersetting actions
+
155 QAction*actionUpdateRenderSettingsOn;
+
156 QAction*actionUpdateRenderSettingsOff;
+
157 
+
158 // color Picker actions
+
159 QAction* actionColorPickerFirstColor;
+
160 QAction* actionColorPickerSecondColor;
+
161 QAction* actionColorSwap;
+
162 
+
163 // tool actions
+
164 QAction* actionCreatePenTool;
+
165 QAction* actionCreatePlainTool;
+
166 QAction* actionCreateLineTool;
+
167 QAction* actionCreateRectangleTool;
+
168 QAction* actionCreateCircleTool;
+
169 QAction* actionCreatePolygonTool;
+
170 QAction* actionCreateFloodFillTool;
171 
-
172 // layer change actions
-
173 QAction* actionCreateNewRasterLayer;
-
174 QAction* actionCreateNewShapedLayer;
-
175 QAction* actionDeleteLayer;
-
176 QAction* actionSetActiveLayer;
-
177 QAction* actionSetActiveAlpha;
-
178 QAction* actionSetPolygon;
-
179 QAction* actionMovePositionUp;
-
180 QAction* actionMovePositionDown;
-
181 QAction* actionMovePositionLeft;
-
182 QAction* actionMovePositionRight;
-
183 QAction* actionMoveLayerUp;
-
184 QAction* actionMoveLayerDown;
-
185 
-
186 // Actions tied to specific file formats
-
187 QList<QAction*> actionSaveAs;
-
188 
-
189 QAction* actionSetWidth;
-
190 QAction* actionSetInnerAlpha;
-
191 
-
192 // main GUI elements
-
193 QWidget* centralGuiWidget;
-
194 QGridLayout* mainLayout;
-
195 };
-
196 
-
197 #endif
+
172 // dialog actions
+
173 QAction* actionAboutDialog;
+
174 QAction* actionAboutQtDialog;
+
175 
+
176 // layer change actions
+
177 QAction* actionCreateNewRasterLayer;
+
178 QAction* actionCreateNewShapedLayer;
+
179 QAction* actionDeleteLayer;
+
180 QAction* actionSetActiveLayer;
+
181 QAction* actionSetActiveAlpha;
+
182 QAction* actionSetPolygon;
+
183 QAction* actionMovePositionUp;
+
184 QAction* actionMovePositionDown;
+
185 QAction* actionMovePositionLeft;
+
186 QAction* actionMovePositionRight;
+
187 QAction* actionMoveLayerUp;
+
188 QAction* actionMoveLayerDown;
+
189 
+
190 // Actions tied to specific file formats
+
191 QList<QAction*> actionSaveAs;
+
192 
+
193 QAction* actionSetWidth;
+
194 QAction* actionSetInnerAlpha;
+
195 
+
196 // main GUI elements
+
197 QWidget* centralGuiWidget;
+
198 QGridLayout* mainLayout;
+
199 };
+
200 
+
201 #endif
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
IntelliPhotoGui()
The IntelliPhotoGui method is the constructor and is used to create a new instance of the main progra...
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
diff --git a/docs/html/_painting_area_8h_source.html b/docs/html/_painting_area_8h_source.html index c245faa..89a704d 100644 --- a/docs/html/_painting_area_8h_source.html +++ b/docs/html/_painting_area_8h_source.html @@ -237,7 +237,7 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html',''); in
int widthOffset
widthOffset - Stores the number of pixles from the left side of the painting area.
Definition: PaintingArea.h:39
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
int heightOffset
heightOffset - Stores the number of pixles from the top of the painting area.
Definition: PaintingArea.h:43
int getHeightOfActive()
The getHeightOfActive gets the vertical dimensions of the active layer.
void createPlainTool()
diff --git a/docs/html/class_intelli_input_dialog.html b/docs/html/class_intelli_input_dialog.html index cce6da7..3ee511a 100644 --- a/docs/html/class_intelli_input_dialog.html +++ b/docs/html/class_intelli_input_dialog.html @@ -119,7 +119,7 @@ Static Public Member Functions

Detailed Description

-

Definition at line 6 of file IntelliInputDialog.h.

+

Definition at line 12 of file IntelliInputDialog.h.

Constructor & Destructor Documentation

◆ IntelliInputDialog()

@@ -177,7 +177,7 @@ Static Public Member Functions
-

Definition at line 5 of file IntelliInputDialog.cpp.

+

Definition at line 3 of file IntelliInputDialog.cpp.

@@ -246,7 +246,7 @@ Static Public Member Functions
-

Definition at line 18 of file IntelliInputDialog.cpp.

+

Definition at line 16 of file IntelliInputDialog.cpp.

@@ -273,7 +273,7 @@ Static Public Member Functions
-

Definition at line 76 of file IntelliInputDialog.cpp.

+

Definition at line 74 of file IntelliInputDialog.cpp.

@@ -300,7 +300,7 @@ Static Public Member Functions
-

Definition at line 80 of file IntelliInputDialog.cpp.

+

Definition at line 78 of file IntelliInputDialog.cpp.

diff --git a/docs/html/class_intelli_photo_gui.html b/docs/html/class_intelli_photo_gui.html index d0f4eab..3a16fe9 100644 --- a/docs/html/class_intelli_photo_gui.html +++ b/docs/html/class_intelli_photo_gui.html @@ -121,7 +121,7 @@ Protected Member Functions

Detailed Description

The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto program.

-

Definition at line 28 of file IntelliPhotoGui.h.

+

Definition at line 32 of file IntelliPhotoGui.h.

Constructor & Destructor Documentation

◆ IntelliPhotoGui()

diff --git a/docs/html/main_8cpp_source.html b/docs/html/main_8cpp_source.html index 49516cf..10670e9 100644 --- a/docs/html/main_8cpp_source.html +++ b/docs/html/main_8cpp_source.html @@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('main_8cpp_source.html',''); initResiza
15 }
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
int main(int argc, char *argv[])
Definition: main.cpp:6
diff --git a/docs/html/main_unit_test_8cpp_source.html b/docs/html/main_unit_test_8cpp_source.html index 6ab93b1..c21eb0f 100644 --- a/docs/html/main_unit_test_8cpp_source.html +++ b/docs/html/main_unit_test_8cpp_source.html @@ -291,7 +291,7 @@ $(document).ready(function(){initNavTree('main_unit_test_8cpp_source.html','');
~UnitTest()
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
UnitTest()
The PaintingArea class manages the methods and stores information about the current painting area,...
Definition: PaintingArea.h:53
diff --git a/docs/html/tst__unittest_8cpp_source.html b/docs/html/tst__unittest_8cpp_source.html index b533ae0..0ae84df 100644 --- a/docs/html/tst__unittest_8cpp_source.html +++ b/docs/html/tst__unittest_8cpp_source.html @@ -1798,7 +1798,7 @@ $(document).ready(function(){initNavTree('tst__unittest_8cpp_source.html',''); i
std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)
A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...
void deleteLayer(int idx, bool isTool=false)
The deleteLayer method removes a layer at a given idx.
~UnitTest()
-
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
+
The IntelliPhotoGui base class handles the graphical user interface and events for the intelliPhoto p...
void setSecondColor(QColor Color)
A function to set the secondary color.
The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.
The IntelliShapedImage manages a Shapedimage.