-
Notifications
You must be signed in to change notification settings - Fork 0
/
controllercomparativecharacteristics.h
52 lines (48 loc) · 1.52 KB
/
controllercomparativecharacteristics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef CONTROLLERCOMPARATIVECHARACTERISTICS_H
#define CONTROLLERCOMPARATIVECHARACTERISTICS_H
#include "stdafx.h"
#include <QObject>
#include "ui_mainwindow.h"
#include "basicmodel.h"
#include <QFileDialog>
#include <QTextDocumentWriter>
#include <QTextDocument>
#include <QTextCursor>
#include <QTextTable>
#include "lib/standardmodel.h"
#include "lib/image/standardimageitem.h"
class ControllerComparativeCharacteristics : public QObject
{
Q_OBJECT
public:
explicit ControllerComparativeCharacteristics(Ui::MainWindow *ui,
QMainWindow* mainWindow);
~ControllerComparativeCharacteristics();
QPushButton* nextStep;
QPushButton* previousStep;
QPushButton* setImg1;
QPushButton* setImg2;
previewGraphicsView* img1View;
previewGraphicsView* img2View;
BasicListView* characteristicsList;
QTableView* resultsTable;
SlidingStackedWidget* slidingWidget;
BasicModel* characteristicsModel;
BasicModel* resultModel;
previewGraphicsView* ssimMap;
QGroupBox* ssimMapContainer;
QMainWindow* _MainWindow;
void AddItemToTheList(QString name, int id_value);
void AddResultToTable(double value, QString header);
void calculate();
signals:
public slots:
void setFirstImage();
void setSecondImage();
void goNext();
void goPrev();
void updateWidgetButtons(int index);
void saveTable();
void saveSsimMap();
};
#endif // COPMARATIVECHARACTERISTICSCONTROLLER_H