Debian Codegraph @

wxgeometrie/GUI/reperage_ui.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'reperage.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_DialogReperage(object):
12 def setupUi(self, DialogReperage):
13 DialogReperage.setObjectName("DialogReperage")
14 DialogReperage.resize(444, 493)
15 self.verticalLayout = QtWidgets.QVBoxLayout(DialogReperage)
16 self.verticalLayout.setObjectName("verticalLayout")
17 self.groupBoxRepere = QtWidgets.QGroupBox(DialogReperage)
18 self.groupBoxRepere.setObjectName("groupBoxRepere")
19 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBoxRepere)
20 self.verticalLayout_3.setObjectName("verticalLayout_3")
21 self.horizontalLayout = QtWidgets.QHBoxLayout()
22 self.horizontalLayout.setObjectName("horizontalLayout")
23 self.label = QtWidgets.QLabel(self.groupBoxRepere)
24 self.label.setObjectName("label")
25 self.horizontalLayout.addWidget(self.label)
26 self.repere_O = QtWidgets.QLineEdit(self.groupBoxRepere)
27 self.repere_O.setObjectName("repere_O")
28 self.horizontalLayout.addWidget(self.repere_O)
29 self.label_2 = QtWidgets.QLabel(self.groupBoxRepere)
30 self.label_2.setObjectName("label_2")
31 self.horizontalLayout.addWidget(self.label_2)
32 self.repere_I = QtWidgets.QLineEdit(self.groupBoxRepere)
33 self.repere_I.setObjectName("repere_I")
34 self.horizontalLayout.addWidget(self.repere_I)
35 self.label_3 = QtWidgets.QLabel(self.groupBoxRepere)
36 self.label_3.setObjectName("label_3")
37 self.horizontalLayout.addWidget(self.label_3)
38 self.repere_J = QtWidgets.QLineEdit(self.groupBoxRepere)
39 self.repere_J.setObjectName("repere_J")
40 self.horizontalLayout.addWidget(self.repere_J)
41 self.label_4 = QtWidgets.QLabel(self.groupBoxRepere)
42 self.label_4.setObjectName("label_4")
43 self.horizontalLayout.addWidget(self.label_4)
44 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
45 self.horizontalLayout.addItem(spacerItem)
46 self.verticalLayout_3.addLayout(self.horizontalLayout)
47 self.verticalLayout.addWidget(self.groupBoxRepere)
48 self.groupBoxGraduations = QtWidgets.QGroupBox(DialogReperage)
49 self.groupBoxGraduations.setObjectName("groupBoxGraduations")
50 self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBoxGraduations)
51 self.verticalLayout_4.setObjectName("verticalLayout_4")
52 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
53 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
54 self.label_5 = QtWidgets.QLabel(self.groupBoxGraduations)
55 self.label_5.setObjectName("label_5")
56 self.horizontalLayout_2.addWidget(self.label_5)
57 self.gradu_x = QtWidgets.QLineEdit(self.groupBoxGraduations)
58 self.gradu_x.setObjectName("gradu_x")
59 self.horizontalLayout_2.addWidget(self.gradu_x)
60 self.label_7 = QtWidgets.QLabel(self.groupBoxGraduations)
61 self.label_7.setObjectName("label_7")
62 self.horizontalLayout_2.addWidget(self.label_7)
63 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
64 self.horizontalLayout_2.addItem(spacerItem1)
65 self.verticalLayout_4.addLayout(self.horizontalLayout_2)
66 self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
67 self.horizontalLayout_3.setObjectName("horizontalLayout_3")
68 self.label_6 = QtWidgets.QLabel(self.groupBoxGraduations)
69 self.label_6.setObjectName("label_6")
70 self.horizontalLayout_3.addWidget(self.label_6)
71 self.gradu_y = QtWidgets.QLineEdit(self.groupBoxGraduations)
72 self.gradu_y.setObjectName("gradu_y")
73 self.horizontalLayout_3.addWidget(self.gradu_y)
74 self.label_8 = QtWidgets.QLabel(self.groupBoxGraduations)
75 self.label_8.setObjectName("label_8")
76 self.horizontalLayout_3.addWidget(self.label_8)
77 spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
78 self.horizontalLayout_3.addItem(spacerItem2)
79 self.verticalLayout_4.addLayout(self.horizontalLayout_3)
80 self.verticalLayout.addWidget(self.groupBoxGraduations)
81 self.groupBoxEchelle = QtWidgets.QGroupBox(DialogReperage)
82 self.groupBoxEchelle.setObjectName("groupBoxEchelle")
83 self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBoxEchelle)
84 self.verticalLayout_5.setObjectName("verticalLayout_5")
85 self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
86 self.horizontalLayout_4.setObjectName("horizontalLayout_4")
87 self.label_9 = QtWidgets.QLabel(self.groupBoxEchelle)
88 self.label_9.setObjectName("label_9")
89 self.horizontalLayout_4.addWidget(self.label_9)
90 self.echelle_x = QtWidgets.QLineEdit(self.groupBoxEchelle)
91 self.echelle_x.setObjectName("echelle_x")
92 self.horizontalLayout_4.addWidget(self.echelle_x)
93 self.label_12 = QtWidgets.QLabel(self.groupBoxEchelle)
94 self.label_12.setObjectName("label_12")
95 self.horizontalLayout_4.addWidget(self.label_12)
96 spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
97 self.horizontalLayout_4.addItem(spacerItem3)
98 self.verticalLayout_5.addLayout(self.horizontalLayout_4)
99 self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
100 self.horizontalLayout_5.setObjectName("horizontalLayout_5")
101 self.label_13 = QtWidgets.QLabel(self.groupBoxEchelle)
102 self.label_13.setObjectName("label_13")
103 self.horizontalLayout_5.addWidget(self.label_13)
104 self.echelle_y = QtWidgets.QLineEdit(self.groupBoxEchelle)
105 self.echelle_y.setObjectName("echelle_y")
106 self.horizontalLayout_5.addWidget(self.echelle_y)
107 self.label_10 = QtWidgets.QLabel(self.groupBoxEchelle)
108 self.label_10.setObjectName("label_10")
109 self.horizontalLayout_5.addWidget(self.label_10)
110 spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
111 self.horizontalLayout_5.addItem(spacerItem4)
112 self.verticalLayout_5.addLayout(self.horizontalLayout_5)
113 self.rapport = QtWidgets.QCheckBox(self.groupBoxEchelle)
114 self.rapport.setObjectName("rapport")
115 self.verticalLayout_5.addWidget(self.rapport)
116 self.verticalLayout.addWidget(self.groupBoxEchelle)
117 self.groupBoxResolution = QtWidgets.QGroupBox(DialogReperage)
118 self.groupBoxResolution.setObjectName("groupBoxResolution")
119 self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBoxResolution)
120 self.verticalLayout_2.setObjectName("verticalLayout_2")
121 self.label_15 = QtWidgets.QLabel(self.groupBoxResolution)
122 self.label_15.setObjectName("label_15")
123 self.verticalLayout_2.addWidget(self.label_15)
124 self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
125 self.horizontalLayout_7.setObjectName("horizontalLayout_7")
126 self.label_14 = QtWidgets.QLabel(self.groupBoxResolution)
127 self.label_14.setObjectName("label_14")
128 self.horizontalLayout_7.addWidget(self.label_14)
129 self.resolution = QtWidgets.QLineEdit(self.groupBoxResolution)
130 self.resolution.setObjectName("resolution")
131 self.horizontalLayout_7.addWidget(self.resolution)
132 self.label_11 = QtWidgets.QLabel(self.groupBoxResolution)
133 self.label_11.setObjectName("label_11")
134 self.horizontalLayout_7.addWidget(self.label_11)
135 spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
136 self.horizontalLayout_7.addItem(spacerItem5)
137 self.calibrage = QtWidgets.QPushButton(self.groupBoxResolution)
138 self.calibrage.setObjectName("calibrage")
139 self.horizontalLayout_7.addWidget(self.calibrage)
140 self.verticalLayout_2.addLayout(self.horizontalLayout_7)
141 self.verticalLayout.addWidget(self.groupBoxResolution)
142 self.line = QtWidgets.QFrame(DialogReperage)
143 self.line.setFrameShape(QtWidgets.QFrame.HLine)
144 self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
145 self.line.setObjectName("line")
146 self.verticalLayout.addWidget(self.line)
147 self.boutons = QtWidgets.QDialogButtonBox(DialogReperage)
148 self.boutons.setOrientation(QtCore.Qt.Horizontal)
149 self.boutons.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Reset)
150 self.boutons.setObjectName("boutons")
151 self.verticalLayout.addWidget(self.boutons)
152
153 self.retranslateUi(DialogReperage)
154 self.boutons.accepted.connect(DialogReperage.accept)
155 self.boutons.rejected.connect(DialogReperage.close)
156 QtCore.QMetaObject.connectSlotsByName(DialogReperage)
157
158 def retranslateUi(self, DialogReperage):
159 _translate = QtCore.QCoreApplication.translate
160 DialogReperage.setWindowTitle(_translate("DialogReperage", "Personnaliser le repère"))
161 self.groupBoxRepere.setTitle(_translate("DialogReperage", "Repère"))
162 self.label.setText(_translate("DialogReperage", "Entrer le repère : ("))
163 self.repere_O.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Légende à afficher pour l\'origine du repère.</p></body></html>"))
164 self.label_2.setText(_translate("DialogReperage", ";"))
165 self.repere_I.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Légende à afficher pour le 2e point du repère (abscisse).</p><p><span style=\" font-weight:600;\">Nota : </span>si une lettre en minuscule est rentrée, elle sera comprise comme un vecteur.</p></body></html>"))
166 self.label_3.setText(_translate("DialogReperage", ";"))
167 self.repere_J.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Légende à afficher pour le 3e point du repère (ordonnée). </p><p><span style=\" font-weight:600;\">Nota : </span>si une lettre en minuscule est rentrée, elle sera comprise comme un vecteur.</p></body></html>"))
168 self.label_4.setText(_translate("DialogReperage", ")"))
169 self.groupBoxGraduations.setTitle(_translate("DialogReperage", "Graduations"))
170 self.label_5.setText(_translate("DialogReperage", "Graduer en abscisse toutes les "))
171 self.label_7.setText(_translate("DialogReperage", "unités"))
172 self.label_6.setText(_translate("DialogReperage", "Graduer en ordonnée toutes les "))
173 self.label_8.setText(_translate("DialogReperage", "unités"))
174 self.groupBoxEchelle.setTitle(_translate("DialogReperage", "Échelle"))
175 self.label_9.setText(_translate("DialogReperage", "Unité en abscisse :"))
176 self.label_12.setText(_translate("DialogReperage", "cm"))
177 self.label_13.setText(_translate("DialogReperage", "Unité en ordonnée :"))
178 self.label_10.setText(_translate("DialogReperage", "cm"))
179 self.rapport.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Cochez cette case pour conserver un rapport abscisse/ordonnée constant lorsque vous zoomez ou redimensionnez la fenêtre.</p></body></html>"))
180 self.rapport.setText(_translate("DialogReperage", "Conserver ce rapport abscisse/ordonnée lors d\'un zoom"))
181 self.groupBoxResolution.setTitle(_translate("DialogReperage", "Résolution"))
182 self.label_15.setText(_translate("DialogReperage", "<html><head/><body><p>Ajuster ce paramètre en fonction de votre écran.<br/><span style=\" font-style:italic;\">Ceci permet d\'affiner l\'affichage pour qu\'un centimètre <br/>mesure vraiment un centimètre sur votre écran !</span></p></body></html>"))
183 self.label_14.setText(_translate("DialogReperage", "Résolution"))
184 self.resolution.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Entrez ici la résolution de votre moniteur en dpi. Exemple : 96.</p></body></html>"))
185 self.label_11.setText(_translate("DialogReperage", "dpi"))
186 self.calibrage.setToolTip(_translate("DialogReperage", "<html><head/><body><p>Afficher un objet à mesurer pour calibrer l\'écran.</p></body></html>"))
187 self.calibrage.setText(_translate("DialogReperage", "Outil de calibrage"))
188