1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'vtf.ui'
5 # Created: Tue Jan 29 17:29:51 2008
6 # by: PyQt4 UI code generator 4.3.1
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4
import QtCore
, QtGui
13 def setupUi(self
, Vtf
):
14 Vtf
.setObjectName("Vtf")
15 Vtf
.resize(QtCore
.QSize(QtCore
.QRect(0,0,276,308).size()).expandedTo(Vtf
.minimumSizeHint()))
17 self
.vboxlayout
= QtGui
.QVBoxLayout(Vtf
)
18 self
.vboxlayout
.setObjectName("vboxlayout")
20 self
.groupBox
= QtGui
.QGroupBox(Vtf
)
21 self
.groupBox
.setObjectName("groupBox")
23 self
.gridlayout
= QtGui
.QGridLayout(self
.groupBox
)
24 self
.gridlayout
.setObjectName("gridlayout")
26 self
.label
= QtGui
.QLabel(self
.groupBox
)
27 self
.label
.setObjectName("label")
28 self
.gridlayout
.addWidget(self
.label
,0,0,1,1)
30 self
.SP_Denti
= QtGui
.QSpinBox(self
.groupBox
)
31 self
.SP_Denti
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
32 self
.SP_Denti
.setMinimum(1)
33 self
.SP_Denti
.setObjectName("SP_Denti")
34 self
.gridlayout
.addWidget(self
.SP_Denti
,0,1,1,1)
36 self
.label_2
= QtGui
.QLabel(self
.groupBox
)
37 self
.label_2
.setObjectName("label_2")
38 self
.gridlayout
.addWidget(self
.label_2
,2,0,1,1)
40 self
.LE_VelTaglio
= QtGui
.QLineEdit(self
.groupBox
)
41 self
.LE_VelTaglio
.setMaxLength(8)
42 self
.LE_VelTaglio
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
43 self
.LE_VelTaglio
.setObjectName("LE_VelTaglio")
44 self
.gridlayout
.addWidget(self
.LE_VelTaglio
,2,1,1,1)
46 self
.label_3
= QtGui
.QLabel(self
.groupBox
)
47 self
.label_3
.setObjectName("label_3")
48 self
.gridlayout
.addWidget(self
.label_3
,2,2,1,1)
50 self
.label_4
= QtGui
.QLabel(self
.groupBox
)
51 self
.label_4
.setObjectName("label_4")
52 self
.gridlayout
.addWidget(self
.label_4
,3,0,1,1)
54 self
.LE_AvaDente
= QtGui
.QLineEdit(self
.groupBox
)
55 self
.LE_AvaDente
.setMaxLength(7)
56 self
.LE_AvaDente
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
57 self
.LE_AvaDente
.setObjectName("LE_AvaDente")
58 self
.gridlayout
.addWidget(self
.LE_AvaDente
,3,1,1,1)
60 self
.label_5
= QtGui
.QLabel(self
.groupBox
)
61 self
.label_5
.setObjectName("label_5")
62 self
.gridlayout
.addWidget(self
.label_5
,3,2,1,1)
64 self
.label_6
= QtGui
.QLabel(self
.groupBox
)
65 self
.label_6
.setObjectName("label_6")
66 self
.gridlayout
.addWidget(self
.label_6
,1,0,1,1)
68 self
.label_7
= QtGui
.QLabel(self
.groupBox
)
69 self
.label_7
.setObjectName("label_7")
70 self
.gridlayout
.addWidget(self
.label_7
,1,2,1,1)
72 spacerItem
= QtGui
.QSpacerItem(40,20,QtGui
.QSizePolicy
.Expanding
,QtGui
.QSizePolicy
.Minimum
)
73 self
.gridlayout
.addItem(spacerItem
,0,2,1,1)
75 self
.LE_Diametro
= QtGui
.QLineEdit(self
.groupBox
)
76 self
.LE_Diametro
.setMaxLength(7)
77 self
.LE_Diametro
.setCursorPosition(0)
78 self
.LE_Diametro
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
79 self
.LE_Diametro
.setObjectName("LE_Diametro")
80 self
.gridlayout
.addWidget(self
.LE_Diametro
,1,1,1,1)
81 self
.vboxlayout
.addWidget(self
.groupBox
)
83 self
.groupBox_2
= QtGui
.QGroupBox(Vtf
)
84 self
.groupBox_2
.setObjectName("groupBox_2")
86 self
.gridlayout1
= QtGui
.QGridLayout(self
.groupBox_2
)
87 self
.gridlayout1
.setObjectName("gridlayout1")
89 self
.label_8
= QtGui
.QLabel(self
.groupBox_2
)
90 self
.label_8
.setObjectName("label_8")
91 self
.gridlayout1
.addWidget(self
.label_8
,0,0,1,1)
93 self
.label_12
= QtGui
.QLabel(self
.groupBox_2
)
94 self
.label_12
.setObjectName("label_12")
95 self
.gridlayout1
.addWidget(self
.label_12
,0,2,1,1)
97 self
.label_9
= QtGui
.QLabel(self
.groupBox_2
)
98 self
.label_9
.setObjectName("label_9")
99 self
.gridlayout1
.addWidget(self
.label_9
,1,0,1,1)
101 self
.label_13
= QtGui
.QLabel(self
.groupBox_2
)
102 self
.label_13
.setObjectName("label_13")
103 self
.gridlayout1
.addWidget(self
.label_13
,1,2,1,1)
105 self
.LE_Giri
= QtGui
.QLineEdit(self
.groupBox_2
)
106 self
.LE_Giri
.setAutoFillBackground(False)
107 self
.LE_Giri
.setMaxLength(32767)
108 self
.LE_Giri
.setEchoMode(QtGui
.QLineEdit
.Normal
)
109 self
.LE_Giri
.setCursorPosition(1)
110 self
.LE_Giri
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
111 self
.LE_Giri
.setReadOnly(False)
112 self
.LE_Giri
.setObjectName("LE_Giri")
113 self
.gridlayout1
.addWidget(self
.LE_Giri
,0,1,1,1)
115 self
.LE_Avanzamento
= QtGui
.QLineEdit(self
.groupBox_2
)
116 self
.LE_Avanzamento
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
117 self
.LE_Avanzamento
.setReadOnly(False)
118 self
.LE_Avanzamento
.setObjectName("LE_Avanzamento")
119 self
.gridlayout1
.addWidget(self
.LE_Avanzamento
,1,1,1,1)
120 self
.vboxlayout
.addWidget(self
.groupBox_2
)
122 spacerItem1
= QtGui
.QSpacerItem(20,40,QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Expanding
)
123 self
.vboxlayout
.addItem(spacerItem1
)
125 self
.hboxlayout
= QtGui
.QHBoxLayout()
126 self
.hboxlayout
.setObjectName("hboxlayout")
128 spacerItem2
= QtGui
.QSpacerItem(40,20,QtGui
.QSizePolicy
.Expanding
,QtGui
.QSizePolicy
.Minimum
)
129 self
.hboxlayout
.addItem(spacerItem2
)
131 self
.B_Quit
= QtGui
.QPushButton(Vtf
)
132 self
.B_Quit
.setAutoDefault(False)
133 self
.B_Quit
.setFlat(False)
134 self
.B_Quit
.setObjectName("B_Quit")
135 self
.hboxlayout
.addWidget(self
.B_Quit
)
136 self
.vboxlayout
.addLayout(self
.hboxlayout
)
138 self
.retranslateUi(Vtf
)
139 QtCore
.QObject
.connect(self
.B_Quit
,QtCore
.SIGNAL("clicked()"),Vtf
.accept
)
140 QtCore
.QMetaObject
.connectSlotsByName(Vtf
)
141 Vtf
.setTabOrder(self
.SP_Denti
,self
.LE_Diametro
)
142 Vtf
.setTabOrder(self
.LE_Diametro
,self
.LE_VelTaglio
)
143 Vtf
.setTabOrder(self
.LE_VelTaglio
,self
.LE_AvaDente
)
144 Vtf
.setTabOrder(self
.LE_AvaDente
,self
.LE_Giri
)
145 Vtf
.setTabOrder(self
.LE_Giri
,self
.LE_Avanzamento
)
146 Vtf
.setTabOrder(self
.LE_Avanzamento
,self
.B_Quit
)
148 def retranslateUi(self
, Vtf
):
149 Vtf
.setWindowTitle(QtGui
.QApplication
.translate("Vtf", "Velocità Taglio Frese Ver. 0.1", None, QtGui
.QApplication
.UnicodeUTF8
))
150 self
.groupBox
.setTitle(QtGui
.QApplication
.translate("Vtf", "Parametri utensile", None, QtGui
.QApplication
.UnicodeUTF8
))
151 self
.label
.setText(QtGui
.QApplication
.translate("Vtf", "Numero Denti", None, QtGui
.QApplication
.UnicodeUTF8
))
152 self
.label_2
.setText(QtGui
.QApplication
.translate("Vtf", "Velocità taglio", None, QtGui
.QApplication
.UnicodeUTF8
))
153 self
.label_3
.setText(QtGui
.QApplication
.translate("Vtf", "m/min", None, QtGui
.QApplication
.UnicodeUTF8
))
154 self
.label_4
.setText(QtGui
.QApplication
.translate("Vtf", "Avanzamento", None, QtGui
.QApplication
.UnicodeUTF8
))
155 self
.label_5
.setText(QtGui
.QApplication
.translate("Vtf", "mm/dente", None, QtGui
.QApplication
.UnicodeUTF8
))
156 self
.label_6
.setText(QtGui
.QApplication
.translate("Vtf", "Diametro", None, QtGui
.QApplication
.UnicodeUTF8
))
157 self
.label_7
.setText(QtGui
.QApplication
.translate("Vtf", "mm", None, QtGui
.QApplication
.UnicodeUTF8
))
158 self
.groupBox_2
.setTitle(QtGui
.QApplication
.translate("Vtf", "Parametri macchina", None, QtGui
.QApplication
.UnicodeUTF8
))
159 self
.label_8
.setText(QtGui
.QApplication
.translate("Vtf", "Numero di giri", None, QtGui
.QApplication
.UnicodeUTF8
))
160 self
.label_12
.setText(QtGui
.QApplication
.translate("Vtf", "giri/min", None, QtGui
.QApplication
.UnicodeUTF8
))
161 self
.label_9
.setText(QtGui
.QApplication
.translate("Vtf", "Avanzamento", None, QtGui
.QApplication
.UnicodeUTF8
))
162 self
.label_13
.setText(QtGui
.QApplication
.translate("Vtf", "mm/min", None, QtGui
.QApplication
.UnicodeUTF8
))
163 self
.LE_Giri
.setText(QtGui
.QApplication
.translate("Vtf", "0", None, QtGui
.QApplication
.UnicodeUTF8
))
164 self
.LE_Avanzamento
.setText(QtGui
.QApplication
.translate("Vtf", "0", None, QtGui
.QApplication
.UnicodeUTF8
))
165 self
.B_Quit
.setText(QtGui
.QApplication
.translate("Vtf", "&Quit", None, QtGui
.QApplication
.UnicodeUTF8
))
166 self
.B_Quit
.setShortcut(QtGui
.QApplication
.translate("Vtf", "Ctrl+Q", None, QtGui
.QApplication
.UnicodeUTF8
))