e567eba26
김태훈
터치 테스트 윈도우 구현
|
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
|
#include "touchtestwindow.h"
#include "ui_touchtestwindow.h"
TouchTestWindow::TouchTestWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::TouchTestWindow)
{
ui->setupUi(this);
setAttribute(Qt::WA_DeleteOnClose);
}
TouchTestWindow::~TouchTestWindow()
{
delete ui;
}
void TouchTestWindow::on_clearButton_clicked()
{
ui->canvas->clearImage();
}
void TouchTestWindow::on_closeButton_clicked()
{
close();
}
|