-
Notifications
You must be signed in to change notification settings - Fork 0
/
listok.py
executable file
·69 lines (58 loc) · 2.39 KB
/
listok.py
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:/carinterface/listok.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
import sys
from PyQt5.uic import loadUi
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import QDialog, QApplication, QFileDialog, QMessageBox,QLabel
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication, QWidget, QLabel
from PyQt5.QtCore import Qt, QTimer
from PyQt5.QtGui import QMovie
from car import *
from car2t import *
from car5t import *
from time import sleep
from PyQt5 import uic
class comwin(QDialog):
def __init__(self, parent, vcarnum):
super(comwin, self).__init__(parent, vcarnum)
self.vcarnum = vcarnum
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = comwin(parent, vcarnum)
ui.setupUi(Dialog)
Dialog.show()
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(684, 251)
self.lidia = QtWidgets.QDialogButtonBox(Dialog)
self.lidia.setGeometry(QtCore.QRect(170, 110, 341, 111))
font = QtGui.QFont()
font.setFamily("a고딕17")
font.setPointSize(46)
self.lidia.setFont(font)
self.lidia.setOrientation(QtCore.Qt.Vertical)
self.lidia.setStandardButtons(QtWidgets.QDialogButtonBox.Ok)
self.lidia.setCenterButtons(True)
self.lidia.setObjectName("lidia")
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(50, 30, 601, 81))
font = QtGui.QFont()
font.setFamily("a고딕16")
font.setPointSize(30)
self.label.setFont(font)
self.label.setObjectName("label")
self.retranslateUi(Dialog)
self.lidia.accepted.connect(Dialog.accept)
self.lidia.rejected.connect(Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog, vcarnum):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label.setText(_translate("Dialog", vcarnum + "차량<br>감면완료되었습니다"))
comwin()