Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / Tools / Verima / Gui / desFenetreChoix.py
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2014-2022  EDF R&D
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20
21 # Form implementation generated from reading ui file 'desFenetreChoix.ui'
22 #
23 # Created by: PyQt5 UI code generator 5.6
24 #
25 # WARNING! All changes made in this file will be lost!
26
27 from PyQt5 import QtCore, QtGui, QtWidgets
28
29 class Ui_Choix(object):
30     def setupUi(self, Choix):
31         Choix.setObjectName("Choix")
32         Choix.resize(440, 708)
33         self.gridLayout = QtWidgets.QGridLayout(Choix)
34         self.gridLayout.setObjectName("gridLayout")
35         self.buttonBox = QtWidgets.QDialogButtonBox(Choix)
36         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
37         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
38         self.buttonBox.setObjectName("buttonBox")
39         self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
40         self.groupBox = QtWidgets.QGroupBox(Choix)
41         self.groupBox.setObjectName("groupBox")
42         self.layoutWidget = QtWidgets.QWidget(self.groupBox)
43         self.layoutWidget.setGeometry(QtCore.QRect(40, 310, 311, 269))
44         self.layoutWidget.setObjectName("layoutWidget")
45         self.gridLayout_2 = QtWidgets.QGridLayout(self.layoutWidget)
46         self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
47         self.gridLayout_2.setObjectName("gridLayout_2")
48         self.PBMaille = QtWidgets.QPushButton(self.layoutWidget)
49         self.PBMaille.setObjectName("PBMaille")
50         self.gridLayout_2.addWidget(self.PBMaille, 1, 0, 1, 1)
51         self.PBRatio = QtWidgets.QPushButton(self.layoutWidget)
52         self.PBRatio.setObjectName("PBRatio")
53         self.gridLayout_2.addWidget(self.PBRatio, 3, 0, 1, 1)
54         self.PBPerf = QtWidgets.QPushButton(self.layoutWidget)
55         self.PBPerf.setObjectName("PBPerf")
56         self.gridLayout_2.addWidget(self.PBPerf, 7, 0, 1, 1)
57         self.PBGroupeRatio = QtWidgets.QPushButton(self.layoutWidget)
58         self.PBGroupeRatio.setObjectName("PBGroupeRatio")
59         self.gridLayout_2.addWidget(self.PBGroupeRatio, 6, 0, 1, 1)
60         self.PBGroupe = QtWidgets.QPushButton(self.layoutWidget)
61         self.PBGroupe.setObjectName("PBGroupe")
62         self.gridLayout_2.addWidget(self.PBGroupe, 4, 0, 1, 1)
63         self.PBTaille = QtWidgets.QPushButton(self.layoutWidget)
64         self.PBTaille.setObjectName("PBTaille")
65         self.gridLayout_2.addWidget(self.PBTaille, 2, 0, 1, 1)
66         self.PBGroupeTaille = QtWidgets.QPushButton(self.layoutWidget)
67         self.PBGroupeTaille.setObjectName("PBGroupeTaille")
68         self.gridLayout_2.addWidget(self.PBGroupeTaille, 5, 0, 1, 1)
69         self.layoutWidget1 = QtWidgets.QWidget(self.groupBox)
70         self.layoutWidget1.setGeometry(QtCore.QRect(40, 50, 301, 211))
71         self.layoutWidget1.setObjectName("layoutWidget1")
72         self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget1)
73         self.verticalLayout.setContentsMargins(0, 0, 0, 0)
74         self.verticalLayout.setObjectName("verticalLayout")
75         self.PBMailleur = QtWidgets.QPushButton(self.layoutWidget1)
76         self.PBMailleur.setObjectName("PBMailleur")
77         self.verticalLayout.addWidget(self.PBMailleur)
78         self.PBMaillage = QtWidgets.QPushButton(self.layoutWidget1)
79         self.PBMaillage.setObjectName("PBMaillage")
80         self.verticalLayout.addWidget(self.PBMaillage)
81         self.PBMachine = QtWidgets.QPushButton(self.layoutWidget1)
82         self.PBMachine.setObjectName("PBMachine")
83         self.verticalLayout.addWidget(self.PBMachine)
84         self.PBVersion = QtWidgets.QPushButton(self.layoutWidget1)
85         self.PBVersion.setObjectName("PBVersion")
86         self.verticalLayout.addWidget(self.PBVersion)
87         self.PBGroupesRef = QtWidgets.QPushButton(self.layoutWidget1)
88         self.PBGroupesRef.setObjectName("PBGroupesRef")
89         self.verticalLayout.addWidget(self.PBGroupesRef)
90         self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)
91
92         self.retranslateUi(Choix)
93         self.buttonBox.accepted.connect(Choix.accept)
94         self.buttonBox.rejected.connect(Choix.reject)
95         QtCore.QMetaObject.connectSlotsByName(Choix)
96
97     def retranslateUi(self, Choix):
98         _translate = QtCore.QCoreApplication.translate
99         Choix.setWindowTitle(_translate("Choix", "Verification de Maillage"))
100         self.groupBox.setTitle(_translate("Choix", "Tables "))
101         self.PBMaille.setText(_translate("Choix", "Table Mailles"))
102         self.PBRatio.setText(_translate("Choix", "Table Ratios"))
103         self.PBPerf.setText(_translate("Choix", "Table Performances"))
104         self.PBGroupeRatio.setText(_translate("Choix", "Table Groupe Ratios"))
105         self.PBGroupe.setText(_translate("Choix", "Table Groupes"))
106         self.PBTaille.setText(_translate("Choix", "Table Tailles"))
107         self.PBGroupeTaille.setText(_translate("Choix", "Table Groupe Tailles"))
108         self.PBMailleur.setText(_translate("Choix", "Table Mailleurs"))
109         self.PBMaillage.setText(_translate("Choix", "Table Maillages"))
110         self.PBMachine.setText(_translate("Choix", "Table Machines"))
111         self.PBVersion.setText(_translate("Choix", "Table Versions"))
112         self.PBGroupesRef.setText(_translate("Choix", "Table Groupes Référence"))
113
114
115 if __name__ == "__main__":
116     import sys
117     app = QtWidgets.QApplication(sys.argv)
118     Choix = QtWidgets.QDialog()
119     ui = Ui_Choix()
120     ui.setupUi(Choix)
121     Choix.show()
122     sys.exit(app.exec_())
123