forked from Gueni/Anaxcel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutgui.py
56 lines (51 loc) · 2.73 KB
/
aboutgui.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
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setFixedSize(575, 410)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(80, 245, 221, 21))
font = QtGui.QFont()
font.setPointSize(11)
self.label.setFont(font)
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(160, 5, 250, 190))
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap("icons/aboutpic.png"))
self.label_2.setObjectName("label_2")
font = QtGui.QFont()
font.setPointSize(10)
self.label_4 = QtWidgets.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(80, 290, 481, 16))
font = QtGui.QFont()
font.setPointSize(10)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(80, 320, 481, 16))
font = QtGui.QFont()
font.setPointSize(10)
self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(80, 350, 111, 23))
self.pushButton.setObjectName("pushButton")
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "About "))
self.label.setText(_translate("MainWindow", "Version : 1.0"))
urlLinkesptool = " <a href=\"https://www.qt.io/\"> <font face=rmfamily color=BLUE> Qt5 </font> </a>"
urlLinkgueni = " <a href=\"https://github.com/Gueni/\"> <font face=rmfamily color=BLUE> Mohamed Gueni</font> </a>"
self.label_4.setText(_translate("MainWindow",
"This Software uses libraries from the " + urlLinkesptool + "project under the GPLv2 license"))
self.label_5.setText(_translate("MainWindow", "Author :" + urlLinkgueni))
self.pushButton.setText(_translate("MainWindow", "License"))