-
Notifications
You must be signed in to change notification settings - Fork 0
/
ventana_anuncio_ui.py
46 lines (38 loc) · 1.54 KB
/
ventana_anuncio_ui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ventana_anuncio.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(340, 178)
Dialog.setMinimumSize(QtCore.QSize(340, 178))
Dialog.setMaximumSize(QtCore.QSize(340, 178))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("app_cok.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
self.pbtn = QtWidgets.QPushButton(Dialog)
self.pbtn.setGeometry(QtCore.QRect(140, 140, 71, 30))
self.pbtn.setObjectName("pbtn")
self.lbl = QtWidgets.QLabel(Dialog)
self.lbl.setGeometry(QtCore.QRect(10, 10, 311, 121))
self.lbl.setText("")
self.lbl.setAlignment(QtCore.Qt.AlignCenter)
self.lbl.setObjectName("lbl")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Aj COK Farming Bot"))
self.pbtn.setText(_translate("Dialog", "OK"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())