-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainutprofiler.cpp
More file actions
48 lines (39 loc) · 838 Bytes
/
Copy pathmainutprofiler.cpp
File metadata and controls
48 lines (39 loc) · 838 Bytes
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
#include "mainutprofiler.h"
#include "ui_mainutprofiler.h"
#include "uvadddialog.h"
#include "dialogupdatedeleteuv.h"
#include <QTableWidget>
#include <QPushButton>
MainUTProfiler *MainUTProfiler::utProfiler=0;
MainUTProfiler::MainUTProfiler(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainUTProfiler)
{
ui->setupUi(this);
/* if(!connectDb()){
ui->db->setText("failed");
}
else
{
ui->db->setText("connected");
}*/
}
MainUTProfiler::~MainUTProfiler()
{
delete ui;
}
/*
This Slot Open the Window To Add a new UV
*/
void MainUTProfiler::on_addUV_clicked()
{
UVAddDialog addUVD;
addUVD.setModal(true);
addUVD.exec();
}
void MainUTProfiler::on_updateDeleteUV_clicked()
{
DialogUpdateDeleteUV updelUVD;
updelUVD.setModal(true);
updelUVD.exec();
}