프로젝트

일반

사용자정보

통계
| 개정판:

hytos / HYTOS / HYTOS / Phase_MixedDialog.py @ 5ddf3ffe

이력 | 보기 | 이력해설 | 다운로드 (1.04 KB)

1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file 'ProjectDialog.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.6
6
#
7
# WARNING! All changes made in this file will be lost!
8

    
9
from PyQt5 import QtCore, QtGui, QtWidgets
10
from PyQt5.QtWidgets import *
11
import os
12
import sys
13
from AppDocData import AppDocData
14
import Phase_Mixed_UI
15
import math
16

    
17
class QPhase_MixedDialog(QDialog):
18
    def __init__(self):
19
        QDialog.__init__(self)
20

    
21
        self.ui = Phase_Mixed_UI.Ui_MixedDialog()
22
        self.ui.setupUi(self)
23
      
24
       
25
     
26
        
27
    def showDialog(self, item):
28
        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint)
29
        self.exec_()
30

    
31

    
32
    def accept(self):
33
        
34
        QDialog.accept(self)
35

    
36
    def reject(self):
37
        QDialog.reject(self)
38

    
39
    if __name__ == '__main__':
40
        from Phase_MixedDialog import QPhase_MixedDialog
41
        from App import App
42
        app = App(sys.argv)
43

    
44

    
45
        if True:
46
            dlg = QPhase_MixedDialog()
47
            dlg.exec_()                
클립보드 이미지 추가 (최대 크기: 500 MB)