-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialogmenu.cpp
35 lines (28 loc) · 888 Bytes
/
dialogmenu.cpp
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
#include "dialogmenu.h"
#include "dialogremap.h"
#include "disparitymap.h"
#include "ui_dialogmenu.h"
#include "visualizerstereocamera.h"
DialogMenu::DialogMenu(QWidget *parent)
: QDialog(parent), ui(new Ui::DialogMenu) {
ui->setupUi(this);
this->setWindowTitle("3D Reconstruction Menu");
}
DialogMenu::~DialogMenu() { delete ui; }
void DialogMenu::on_btnCalibrationImages_clicked() {
Dialog *dialog = new Dialog(this);
dialog->exec();
}
void DialogMenu::on_btnExit_clicked() { reject(); }
void DialogMenu::on_btnCalibration_clicked() {
DialogCalibration *dialogCal = new DialogCalibration(this);
dialogCal->exec();
}
void DialogMenu::on_btnDisparityMap_clicked() {
DisparityMap *disparityMap = new DisparityMap(this);
disparityMap->exec();
}
void DialogMenu::on_btnRemap_clicked() {
DialogRemap *dialogRemap = new DialogRemap(this);
dialogRemap->exec();
}