AnalyseMorphologique/utils/gui/pyqt/about/UI_AboutThis.py
Djalim Simaila 78ab03e9d8 🎨 chore(gui): add INRAE logo and about window to the GUI
 feat(gui): add an about window to the GUI to display information about the software
The INRAE logo has been added to the GUI as a resource. An about window has been added to the GUI to display information about the software such as the description, authors, and version. The about window can be accessed via the "A propos de ce logiciel" menu item.
2023-05-02 14:21:05 +02:00

66 lines
3.2 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'AboutThis.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_AboutThis(object):
def setupUi(self, AboutThis):
AboutThis.setObjectName("AboutThis")
AboutThis.resize(482, 557)
AboutThis.setMinimumSize(QtCore.QSize(482, 557))
AboutThis.setMaximumSize(QtCore.QSize(482, 557))
self.centralwidget = QtWidgets.QWidget(AboutThis)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_2.setObjectName("gridLayout_2")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.Logo = QtWidgets.QLabel(self.centralwidget)
self.Logo.setMinimumSize(QtCore.QSize(456, 262))
self.Logo.setMaximumSize(QtCore.QSize(456, 262))
self.Logo.setText("")
self.Logo.setPixmap(QtGui.QPixmap(":/logo/BlocMarque-INRAE_Transparent.png"))
self.Logo.setObjectName("Logo")
self.verticalLayout.addWidget(self.Logo)
self.Description = QtWidgets.QLabel(self.centralwidget)
self.Description.setObjectName("Description")
self.verticalLayout.addWidget(self.Description)
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setLabelAlignment(QtCore.Qt.AlignCenter)
self.formLayout.setObjectName("formLayout")
self.Autheurs = QtWidgets.QLabel(self.centralwidget)
self.Autheurs.setObjectName("Autheurs")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Autheurs)
self.Version = QtWidgets.QLabel(self.centralwidget)
self.Version.setObjectName("Version")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.Version)
self.version_litteral = QtWidgets.QLabel(self.centralwidget)
self.version_litteral.setObjectName("version_litteral")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.version_litteral)
self.authors_list = QtWidgets.QVBoxLayout()
self.authors_list.setObjectName("authors_list")
self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.authors_list)
self.verticalLayout.addLayout(self.formLayout)
self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
AboutThis.setCentralWidget(self.centralwidget)
self.retranslateUi(AboutThis)
QtCore.QMetaObject.connectSlotsByName(AboutThis)
def retranslateUi(self, AboutThis):
_translate = QtCore.QCoreApplication.translate
AboutThis.setWindowTitle(_translate("AboutThis", "A propos de ce logiciel"))
self.Description.setText(_translate("AboutThis", "Description"))
self.Autheurs.setText(_translate("AboutThis", "Autheur(s) :"))
self.Version.setText(_translate("AboutThis", "Version :"))
self.version_litteral.setText(_translate("AboutThis", "0.0.0"))
import utils.gui.pyqt.ressources_rc