hytos / DTI_PID / DTI_PID / QRecognitionDialog.py @ 40b4bfe5
이력 | 보기 | 이력해설 | 다운로드 (423 Bytes)
1 |
# coding: utf-8
|
---|---|
2 |
from PyQt5.QtCore import * |
3 |
from PyQt5.QtGui import * |
4 |
from PyQt5.QtWidgets import * |
5 |
import Recognition_UI |
6 |
|
7 |
class QRecognitionDialog(QDialog): |
8 |
def __init__(self, parent): |
9 |
QDialog.__init__(self, parent)
|
10 |
|
11 |
self.ui = Recognition_UI.Ui_Recognition()
|
12 |
self.ui.setupUi(self) |
13 |
self.isAccepted = False |
14 |
|
15 |
def accept(self): |
16 |
self.isAccepted = True |
17 |
QDialog.accept(self)
|