|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +# Form implementation generated from reading ui file 'dlgAPropos.ui' |
| 4 | +# |
| 5 | +# Created by: PyQt5 UI code generator 5.10.1 |
| 6 | +# |
| 7 | +# WARNING! All changes made in this file will be lost! |
| 8 | + |
| 9 | +from PyQt5 import QtCore, QtGui, QtWidgets |
| 10 | + |
| 11 | +class Ui_dlgApropos(object): |
| 12 | + def setupUi(self, dlgApropos): |
| 13 | + dlgApropos.setObjectName("dlgApropos") |
| 14 | + dlgApropos.setWindowModality(QtCore.Qt.ApplicationModal) |
| 15 | + dlgApropos.resize(590, 320) |
| 16 | + icon = QtGui.QIcon() |
| 17 | + icon.addPixmap(QtGui.QPixmap(":/cn5X/images/XYZAB.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
| 18 | + dlgApropos.setWindowIcon(icon) |
| 19 | + dlgApropos.setSizeGripEnabled(False) |
| 20 | + dlgApropos.setModal(True) |
| 21 | + self.verticalLayout_3 = QtWidgets.QVBoxLayout(dlgApropos) |
| 22 | + self.verticalLayout_3.setObjectName("verticalLayout_3") |
| 23 | + self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
| 24 | + self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
| 25 | + self.frame = QtWidgets.QFrame(dlgApropos) |
| 26 | + self.frame.setObjectName("frame") |
| 27 | + self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame) |
| 28 | + self.verticalLayout_2.setContentsMargins(0, -1, -1, -1) |
| 29 | + self.verticalLayout_2.setObjectName("verticalLayout_2") |
| 30 | + self.label = QtWidgets.QLabel(self.frame) |
| 31 | + self.label.setMaximumSize(QtCore.QSize(178, 141)) |
| 32 | + self.label.setText("") |
| 33 | + self.label.setPixmap(QtGui.QPixmap(":/cn5X/images/XYZAB.svg")) |
| 34 | + self.label.setScaledContents(True) |
| 35 | + self.label.setAlignment(QtCore.Qt.AlignCenter) |
| 36 | + self.label.setWordWrap(False) |
| 37 | + self.label.setObjectName("label") |
| 38 | + self.verticalLayout_2.addWidget(self.label) |
| 39 | + spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
| 40 | + self.verticalLayout_2.addItem(spacerItem) |
| 41 | + self.horizontalLayout_2.addWidget(self.frame) |
| 42 | + self.verticalLayout = QtWidgets.QVBoxLayout() |
| 43 | + self.verticalLayout.setObjectName("verticalLayout") |
| 44 | + self.label_2 = QtWidgets.QLabel(dlgApropos) |
| 45 | + self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) |
| 46 | + self.label_2.setObjectName("label_2") |
| 47 | + self.verticalLayout.addWidget(self.label_2) |
| 48 | + spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
| 49 | + self.verticalLayout.addItem(spacerItem1) |
| 50 | + self.lblVersion = QtWidgets.QLabel(dlgApropos) |
| 51 | + self.lblVersion.setObjectName("lblVersion") |
| 52 | + self.verticalLayout.addWidget(self.lblVersion) |
| 53 | + spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
| 54 | + self.verticalLayout.addItem(spacerItem2) |
| 55 | + self.label_3 = QtWidgets.QLabel(dlgApropos) |
| 56 | + self.label_3.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignTop) |
| 57 | + self.label_3.setWordWrap(True) |
| 58 | + self.label_3.setObjectName("label_3") |
| 59 | + self.verticalLayout.addWidget(self.label_3) |
| 60 | + spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
| 61 | + self.verticalLayout.addItem(spacerItem3) |
| 62 | + self.horizontalLayout_2.addLayout(self.verticalLayout) |
| 63 | + self.verticalLayout_3.addLayout(self.horizontalLayout_2) |
| 64 | + self.horizontalLayout = QtWidgets.QHBoxLayout() |
| 65 | + self.horizontalLayout.setSpacing(0) |
| 66 | + self.horizontalLayout.setObjectName("horizontalLayout") |
| 67 | + spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
| 68 | + self.horizontalLayout.addItem(spacerItem4) |
| 69 | + self.buttonBox = QtWidgets.QDialogButtonBox(dlgApropos) |
| 70 | + self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
| 71 | + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Ok) |
| 72 | + self.buttonBox.setObjectName("buttonBox") |
| 73 | + self.horizontalLayout.addWidget(self.buttonBox) |
| 74 | + self.verticalLayout_3.addLayout(self.horizontalLayout) |
| 75 | + |
| 76 | + self.retranslateUi(dlgApropos) |
| 77 | + self.buttonBox.accepted.connect(dlgApropos.accept) |
| 78 | + self.buttonBox.rejected.connect(dlgApropos.reject) |
| 79 | + QtCore.QMetaObject.connectSlotsByName(dlgApropos) |
| 80 | + |
| 81 | + def retranslateUi(self, dlgApropos): |
| 82 | + _translate = QtCore.QCoreApplication.translate |
| 83 | + dlgApropos.setWindowTitle(_translate("dlgApropos", "A propos de cn5X++")) |
| 84 | + self.label_2.setText(_translate("dlgApropos", "<h1>cn5X++</h1>")) |
| 85 | + self.lblVersion.setText(_translate("dlgApropos", "Version 0.0")) |
| 86 | + self.label_3.setText(_translate("dlgApropos", "CN5X++ est une application de panneau de contrôle 5/6 axes pour les machines à commandes numériques pilotées par Grbl. Cette application a pour but d\'implémenter toutes les fonctionalités du microprogramme grbl-Mega-5X.\n" |
| 87 | +"\n" |
| 88 | +"Copyright (C) Gauthier Brière.")) |
| 89 | + |
| 90 | +import cn5X_rc |
0 commit comments