|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,1 | |||
|
1 | from figure import * No newline at end of file |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -1,759 +1,900 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """ |
|
3 | 3 | Module implementing MainWindow. |
|
4 | 4 | #+++++++++++++++++++++INTERFAZ DE USUARIO V1.1++++++++++++++++++++++++# |
|
5 | 5 | """ |
|
6 | 6 | from PyQt4.QtGui import QMainWindow |
|
7 | 7 | from PyQt4.QtCore import pyqtSignature |
|
8 | 8 | from PyQt4.QtCore import pyqtSignal |
|
9 | 9 | from PyQt4 import QtCore |
|
10 | 10 | from PyQt4 import QtGui |
|
11 | 11 | from timeconversions import Doy2Date |
|
12 | 12 | from modelProperties import treeModel |
|
13 | 13 | from viewer.ui_unitprocess import Ui_UnitProcess |
|
14 | 14 | from viewer.ui_window import Ui_window |
|
15 | 15 | from viewer.ui_mainwindow import Ui_MainWindow |
|
16 | 16 | from viewer.ui_workspace import Ui_Workspace |
|
17 | 17 | from viewer.ui_initwindow import Ui_InitWindow |
|
18 | 18 | |
|
19 | 19 | from controller import Project,ReadUnitConf,ProcUnitConf,OperationConf,ParameterConf |
|
20 | 20 | import os |
|
21 | 21 | |
|
22 | HORIZONTAL_HEADERS = ("ITEM :"," DATOS : " ) | |
|
23 | ||
|
24 | HORIZONTAL = ("RAMA :",) | |
|
25 | 22 | |
|
26 | 23 | class MainWindow(QMainWindow, Ui_MainWindow): |
|
27 | nop=None | |
|
24 | __projObjDict = {} | |
|
25 | __arbolDict = {} | |
|
26 | ||
|
28 | 27 |
|
|
29 | 28 | Class documentation goes here. |
|
30 | 29 | #*##################VENTANA CUERPO DEL PROGRAMA#################### |
|
31 | 30 | """ |
|
32 | 31 | def __init__(self, parent = None): |
|
33 | 32 | """ |
|
34 | 33 | Constructor |
|
35 | 34 | """ |
|
36 | 35 | print "Inicio de Programa Interfaz Gráfica" |
|
37 | 36 | QMainWindow.__init__(self, parent) |
|
38 | 37 | self.setupUi(self) |
|
39 | 38 | |
|
40 | 39 | self.online=0 |
|
41 | 40 | self.datatype=0 |
|
42 | 41 | self.variableList=[] |
|
43 | 42 | |
|
44 | 43 | self.proObjList=[] |
|
45 | 44 | self.idp=0 |
|
46 | 45 | self.namep=0 |
|
47 | 46 | self.description=0 |
|
48 | 47 | self.namepTree=0 |
|
49 | 48 | self.valuep=0 |
|
50 | 49 | |
|
51 | 50 | self.upObjList= [] |
|
52 | 51 | self.upn=0 |
|
53 | 52 | self.upName=0 |
|
54 | 53 | self.upType=0 |
|
55 | 54 | self.uporProObjRecover=0 |
|
56 | 55 | |
|
57 | ||
|
58 | 56 | self.readUnitConfObjList=[] |
|
59 | 57 | |
|
60 | 58 | self.upObjVolList=[] |
|
61 | self.upobjSpecList=[] | |
|
62 | ||
|
59 | self.upobjSpecList=[] | |
|
63 | 60 | |
|
64 | 61 | self.operObjList=[] |
|
65 | 62 | |
|
66 | 63 | self.configProject=None |
|
67 | 64 | self.configUP=None |
|
68 | 65 | |
|
69 | 66 | self.controllerObj=None |
|
70 | 67 | self.readUnitConfObj=None |
|
71 | 68 | self.procUnitConfObj0=None |
|
72 | 69 | self.opObj10=None |
|
73 | 70 | self.opObj12=None |
|
74 | 71 | |
|
75 | ||
|
76 | 72 | self.setParam() |
|
77 | 73 | |
|
78 | #++++++++++++++++++NEW PROPERTIES+++++++++++++++++# | |
|
74 | #-----------------------------------NEW PROPERTIES-----------------------------------------------# | |
|
79 | 75 | QtGui.QToolTip.setFont(QtGui.QFont('SansSerif', 10)) |
|
80 | self.addpBtn.setToolTip('Add_New_Project') | |
|
76 | self.addprojectBtn.setToolTip('Add_New_Project') | |
|
81 | 77 | self.addUnitProces.setToolTip('Add_New_Processing_Unit') |
|
82 | 78 | |
|
83 | #++++++++++++++++++NEW PROPERTIES+++++++++++++++++# | |
|
79 | #-----------------------------------NEW PROPERTIES-----------------------------------------------# | |
|
84 | 80 | self.model = QtGui.QStandardItemModel() |
|
85 | 81 | self.treeView.setModel(self.model) |
|
86 | 82 | self.treeView.clicked.connect(self.clickFunctiontree) |
|
87 | 83 | self.treeView.expandAll() |
|
88 | 84 | #self.treeView.clicked.connect(self.treefunction1) |
|
85 | ||
|
86 | #-----------------------------------BARRA DE MENU-------------------------------------------------# | |
|
87 | ||
|
88 | #----------------------------------- MENU_Project-------------------------------------------------# | |
|
89 | ||
|
90 | @pyqtSignature("") | |
|
91 | def on_menuFileAbrirObj_triggered(self): | |
|
92 | """ | |
|
93 | METODO CARGA UN ARCHIVO DE CONFIGURACION ANTERIOR | |
|
94 | """ | |
|
95 | print "Leer un archivo xml y extraer sus atributos Not implemented yet" | |
|
96 | ||
|
97 | @pyqtSignature("") | |
|
98 | def on_menuFileCrearObj_triggered(self): | |
|
99 | """ | |
|
100 | CREAR PROJECT,ANADE UN NUEVO PROYECTO, LLAMA AL MÉTODO QUE CONTIENE LAS OPERACION DE CREACION DE PROYECTOS | |
|
101 | Llama al metodo addProject.. | |
|
102 | """ | |
|
103 | self.addProject() | |
|
104 | ||
|
105 | @pyqtSignature("") | |
|
106 | def on_menuFileGuardarObj_clicked(self): | |
|
107 | """ | |
|
108 | METODO EJECUTADO CUANDO OCURRE EL EVENTO GUARDAR PROJECTO | |
|
109 | Llama al metodo saveProject. | |
|
110 | """ | |
|
111 | self.saveProject() | |
|
112 | ||
|
113 | @pyqtSignature("") | |
|
114 | def on_menuFileCerrarObj_clicked(self): | |
|
115 | """ | |
|
116 | METODO EJECUTADO CUANDO OCURRE EL EVENTO CERRAR | |
|
117 | Llama al metodo close. | |
|
118 | """ | |
|
119 | self.close() | |
|
120 | ||
|
121 | #-----------------------------------MENU_RUN----------------------------------------------------# | |
|
122 | ||
|
123 | @pyqtSignature("") | |
|
124 | def on_menuRUNStartObj_clicked(self): | |
|
125 | """ | |
|
126 | METODO EJECUTADO CUANDO OCURRE EL EVENTO RUN | |
|
127 | Llama al metodo RUN. | |
|
128 | """ | |
|
129 | print "Not implemented yet" | |
|
130 | ||
|
131 | @pyqtSignature("") | |
|
132 | def on_menuRUNPausaObj_clicked(self): | |
|
133 | """ | |
|
134 | METODO EJECUTADO CUANDO OCURRE EL EVENTO PAUSA | |
|
135 | Llama al metodo PAUSA. | |
|
136 | """ | |
|
137 | print "Not implemented yet" | |
|
138 | ||
|
139 | #-----------------------------------MENU_OPTION-------------------------------------------------# | |
|
140 | @pyqtSignature("") | |
|
141 | def on_menuOptConfigLogfileObj_clicked(self): | |
|
142 | """ | |
|
143 | METODO EJECUTADO CUANDO OCURRE EL EVENTO ConfigLog | |
|
144 | Llama al metodo close. | |
|
145 | """ | |
|
146 | print "Not implemented yet" | |
|
147 | ||
|
148 | ||
|
149 | @pyqtSignature("") | |
|
150 | def on_menuOptConfigserverObj_clicked(self): | |
|
151 | """ | |
|
152 | METODO EJECUTADO CUANDO OCURRE EL EVENTO Config Server | |
|
153 | Llama al metodo close. | |
|
154 | """ | |
|
155 | print "Not implemented yet" | |
|
156 | #-----------------------------------MENU_HELP--------------------------------------------------# | |
|
157 | @pyqtSignature("") | |
|
158 | def on_menuHELPAboutObj_clicked(self): | |
|
159 | """ | |
|
160 | METODO EJECUTADO CUANDO OCURRE EL EVENTO HELP | |
|
161 | Llama al metodo close. | |
|
162 | """ | |
|
163 | print "Not implemented yet" | |
|
164 | ||
|
165 | @pyqtSignature("") | |
|
166 | def on_menuHELPPrfObj_clicked(self): | |
|
167 | """ | |
|
168 | METODO EJECUTADO CUANDO OCURRE EL EVENTO HElp | |
|
169 | Llama al metodo close. | |
|
170 | """ | |
|
171 | print "Not implemented yet" | |
|
172 | ||
|
173 | #-----------------------------------BARRA DE HERRAMIENTAS----------------------------------------# | |
|
174 | ||
|
175 | @pyqtSignature("") | |
|
176 | def on_actOpenObj_triggered(self): | |
|
177 | """ | |
|
178 | METODO CARGA UN ARCHIVO DE CONFIGURACION ANTERIOR | |
|
179 | """ | |
|
180 | print "Leer un archivo xml y extraer sus atributos Not implemented yet" | |
|
181 | ||
|
182 | @pyqtSignature("") | |
|
183 | def on_actCreateObj_triggered(self): | |
|
184 | """ | |
|
185 | CREAR PROJECT ,ANADE UN NUEVO PROYECTO, LLAMA AL MÉTODO QUE CONTIENE LAS OPERACION DE CREACION DE PROYECTOS | |
|
186 | Llama al metodo addProject. | |
|
187 | """ | |
|
188 | self.addProject() | |
|
189 | ||
|
190 | ||
|
191 | @pyqtSignature("") | |
|
192 | def on_actStopObj_triggered(self): | |
|
193 | """ | |
|
194 | METODO EJECUTADO CUANDO OCURRE EL EVENTO PAUSA | |
|
195 | Llama al metodo PAUSA. | |
|
196 | """ | |
|
197 | print "Not implemented yet" | |
|
198 | ||
|
199 | @pyqtSignature("") | |
|
200 | def on_actPlayObj_triggered(self): | |
|
201 | """ | |
|
202 | METODO EJECUTADO CUANDO OCURRE EL EVENTO PAUSA | |
|
203 | Llama al metodo PAUSA. | |
|
204 | """ | |
|
205 | print "Not implemented yet" | |
|
206 | ||
|
207 | #-----------------------------------PUSHBUTTON_CREATE PROJECT-----------------------------------# | |
|
208 | ||
|
209 | @pyqtSignature("") | |
|
210 | def on_addprojectBtn_clicked(self): | |
|
211 | """ | |
|
212 | CREAR PROJECT ,ANADE UN NUEVO PROYECTO, LLAMA AL MÉTODO QUE CONTIENE LAS OPERACION DE CREACION DE PROYECTOS | |
|
213 | Llama al metodo addProject. | |
|
214 | """ | |
|
215 | self.addProject() | |
|
216 | ||
|
217 | #-----------------------------------PUSHBUTTON_PROCESSING UNIT PROJECT--------------------------# | |
|
218 | @pyqtSignature("") | |
|
219 | def on_addUnitProces_clicked(self): | |
|
220 | """ | |
|
221 | CREAR PROCESSING UNI ,ANADE UNA UNIDAD DE PROCESAMIENTO, LLAMA AL MÉTODO addUP QUE CONTIENE LAS OPERACION DE CREACION DE UNIDADES DE PROCESAMIENTO | |
|
222 | Llama al metodo addUP. | |
|
223 | """ | |
|
224 | # print "En este nivel se adiciona una rama de procesamiento, y se le concatena con el id" | |
|
225 | # self.procUnitConfObj0 = self.controllerObj.addProcUnit(datatype='Voltage', inputId=self.readUnitConfObj.getId()) | |
|
226 | self.addUP() | |
|
227 | ||
|
228 | ||
|
229 | #-----------------------------------PUSHBUTTON_dataOkBtn----------------------------------------# | |
|
230 | ||
|
231 | @pyqtSignature("") | |
|
232 | def on_dataOkBtn_clicked(self): | |
|
233 | """ | |
|
234 | Añade al Obj XML de Projecto, name,datatype,date,time,readmode,wait,etc, crea el readUnitProcess del archivo xml. | |
|
235 | Prepara la configuración del diágrama del Arbol del treeView numero 2 | |
|
236 | """ | |
|
237 | print "En este nivel se pasa el tipo de dato con el que se trabaja,path,startDate,endDate,startTime,endTime,online" | |
|
238 | ||
|
239 | projectObj=self.proObjList[int(self.proConfCmbBox.currentIndex())] | |
|
240 | datatype=str(self.dataTypeCmbBox.currentText()) | |
|
241 | path=str(self.dataPathTxt.text()) | |
|
242 | online=int(self.online) | |
|
243 | starDate=str(self.starDateCmbBox.currentText()) | |
|
244 | endDate=str(self.endDateCmbBox.currentText()) | |
|
245 | ||
|
246 | ||
|
247 | self.readUnitConfObj = projectObj.addReadUnit(datatype=datatype, | |
|
248 | path=path, | |
|
249 | startDate=starDate, | |
|
250 | endDate=endDate, | |
|
251 | startTime='06:10:00', | |
|
252 | endTime='23:59:59', | |
|
253 | online=online) | |
|
254 | ||
|
255 | self.readUnitConfObjList.append(self.readUnitConfObj) | |
|
256 | ||
|
257 | print "self.readUnitConfObj.getId",self.readUnitConfObj.getId(),datatype,path,starDate,endDate,online | |
|
258 | ||
|
259 | ||
|
260 | self.model_2=treeModel() | |
|
261 | ||
|
262 | self.model_2.setParams(name=projectObj.name+str(projectObj.id), | |
|
263 | directorio=path, | |
|
264 | workspace="C:\\WorkspaceGUI", | |
|
265 | remode=str(self.readModeCmBox.currentText()), | |
|
266 | dataformat=datatype, | |
|
267 | date=str(starDate)+"-"+str(endDate), | |
|
268 | initTime='06:10:00', | |
|
269 | endTime='23:59:59', | |
|
270 | timezone="Local" , | |
|
271 | Summary="test de prueba") | |
|
272 | self.model_2.arbol() | |
|
273 | self.treeView_2.setModel(self.model_2) | |
|
274 | self.treeView_2.expandAll() | |
|
275 | ||
|
89 | 276 | |
|
90 | 277 | def getNumberofProject(self): |
|
91 | 278 | # for i in self.proObjList: |
|
92 | 279 | # print i |
|
93 | 280 | return self.proObjList |
|
94 | 281 | # for i in self.proObjList: |
|
95 | 282 | # print i |
|
96 | 283 | |
|
97 | 284 | def setParam(self): |
|
285 | ||
|
286 | self.tabWidgetProject.setEnabled(False) | |
|
98 | 287 | self.dataPathTxt.setText('C:\data') |
|
288 | self.nameProjectTxt.setText("Test") | |
|
99 | 289 | self.numberChannelopVol.setEnabled(False) |
|
100 | 290 | self.lineHeighProfileTxtopVol.setEnabled(False) |
|
101 | 291 | self.numberIntegration.setEnabled(False) |
|
102 | 292 | self.valuenFFTPointOpSpec.setEnabled(False) |
|
103 | 293 | self.lineProfileSelecopVolCEB.setEnabled(False) |
|
104 | 294 | |
|
105 | 295 | |
|
106 | 296 | def clickFunctiontree(self,index): |
|
107 | 297 | indexclick= index.model().itemFromIndex(index).text() |
|
108 | 298 | #print indexclick |
|
109 | 299 | NumofPro=indexclick[8:10] |
|
110 | 300 | self.valuep=NumofPro |
|
111 | 301 | #print self.valuep |
|
112 | 302 | NameofPro=indexclick[0:7] |
|
113 | 303 | self.namepTree=NameofPro |
|
114 | 304 | #print self.namepTree |
|
115 | 305 | |
|
116 | ||
|
117 | @pyqtSignature("") | |
|
118 | def on_addpBtn_clicked(self): | |
|
119 | """ | |
|
120 | ANADIR UN NUEVO PROYECTO | |
|
121 | """ | |
|
122 | print "En este nivel se abre el window" | |
|
123 | ||
|
124 | ||
|
125 | self.showWindow() | |
|
306 | def addProject(self): | |
|
307 | self.tabWidgetProject.setEnabled(True) | |
|
308 | self.idp += 1 | |
|
309 | self.projectObj = Project() | |
|
310 | ||
|
311 | id=int(self.idp) | |
|
312 | name=str(self.nameProjectTxt.text()) | |
|
313 | desc=str(self.description) | |
|
314 | ||
|
315 | self.projectObj.setup(id = id, name=name, description=desc) | |
|
126 | 316 | |
|
127 | def showWindow(self): | |
|
128 | self.configProject=Window(self) | |
|
317 | #self.configProject=Window(self) | |
|
129 | 318 | #self.configProject.closed.connect(self.show) |
|
130 | self.configProject.show() | |
|
319 | #self.configProject.show() | |
|
131 | 320 | #self.configProject.closed.connect(self.show) |
|
132 | self.configProject.saveButton.clicked.connect(self.reciveParameters) | |
|
133 | self.configProject.closed.connect(self.createProject) | |
|
321 | # self.configProject.saveButton.clicked.connect(self.reciveParameters) | |
|
322 | #self.configProject.closed.connect(self.createProject) | |
|
134 | 323 | |
|
135 | 324 | def reciveParameters(self): |
|
136 | 325 | self.namep,self.description =self.configProject.almacena() |
|
137 | 326 | |
|
138 | 327 | def createProject(self): |
|
139 | 328 | |
|
140 | 329 | print "En este nivel se debe crear el proyecto,id,nombre,desc" |
|
141 | 330 | #+++++Creacion del Objeto Controller-XML++++++++++# |
|
142 | 331 | self.idp += 1 |
|
143 | 332 | self.controllerObj = Project() |
|
144 | 333 | id=int(self.idp) |
|
145 | 334 | name=str(self.namep) |
|
146 | 335 | desc=str(self.description) |
|
147 | 336 | self.parentItem=self.model.invisibleRootItem() |
|
148 | 337 | self.controllerObj.arbol=QtGui.QStandardItem(QtCore.QString("Project %0").arg(self.idp)) |
|
149 | 338 | self.controllerObj.setup(id = id, name=name, description=desc) |
|
150 | 339 | self.parentItem.appendRow(self.controllerObj.arbol) |
|
151 | 340 | self.proObjList.append(self.controllerObj)#+++++++++++++++++++LISTA DE PROYECTO++++++++++++++++++++++++++++# |
|
152 | 341 | self.parentItem=self.controllerObj.arbol |
|
153 | 342 | self.loadProjects() |
|
154 | 343 | |
|
155 | 344 | print "Porfavor ingrese los parámetros de configuracion del Proyecto" |
|
156 | 345 | |
|
157 | 346 | def loadProjects(self): |
|
158 | 347 | self.proConfCmbBox.clear() |
|
159 | 348 | for i in self.proObjList: |
|
160 | 349 | self.proConfCmbBox.addItem("Project"+str(i.id)) |
|
161 | 350 | |
|
162 | 351 | @pyqtSignature("int") |
|
163 | 352 | def on_dataTypeCmbBox_activated(self,index): |
|
164 | 353 | self.dataFormatTxt.setReadOnly(True) |
|
165 | 354 | if index==0: |
|
166 | 355 | self.datatype='Voltage' |
|
167 | 356 | elif index==1: |
|
168 | 357 | self.datatype='Spectra' |
|
169 | 358 | else : |
|
170 | 359 | self.datatype='' |
|
171 | 360 | self.dataFormatTxt.setReadOnly(False) |
|
172 | 361 | self.dataFormatTxt.setText(self.datatype) |
|
173 | 362 | |
|
174 | 363 | def existDir(self, var_dir): |
|
175 | 364 | """ |
|
176 | 365 | METODO PARA VERIFICAR SI LA RUTA EXISTE-VAR_DIR |
|
177 | 366 | VARIABLE DIRECCION |
|
178 | 367 | """ |
|
179 | 368 | if os.path.isdir(var_dir): |
|
180 | 369 | return True |
|
181 | 370 | else: |
|
182 | 371 | self.textEdit.append("Incorrect path:" + str(var_dir)) |
|
183 | 372 | return False |
|
184 | 373 | |
|
185 | 374 | def loadDays(self): |
|
186 | 375 | """ |
|
187 | 376 | METODO PARA CARGAR LOS DIAS |
|
188 | 377 | """ |
|
189 | 378 | self.variableList=[] |
|
190 | 379 | self.starDateCmbBox.clear() |
|
191 | 380 | self.endDateCmbBox.clear() |
|
192 | 381 | |
|
193 | 382 | Dirlist = os.listdir(self.dataPath) |
|
194 | 383 | Dirlist.sort() |
|
195 | 384 | |
|
196 | 385 | for a in range(0, len(Dirlist)): |
|
197 | 386 | fname= Dirlist[a] |
|
198 | 387 | Doy=fname[5:8] |
|
199 | 388 | fname = fname[1:5] |
|
200 | 389 | print fname |
|
201 | 390 | fecha=Doy2Date(int(fname),int(Doy)) |
|
202 | 391 | fechaList=fecha.change2date() |
|
203 | 392 | #print fechaList[0] |
|
204 | 393 | Dirlist[a]=fname+"/"+str(fechaList[0])+"/"+str(fechaList[1]) |
|
205 | 394 | #+"-"+ fechaList[0]+"-"+fechaList[1] |
|
206 | 395 | |
|
207 | 396 | #---------------AQUI TIENE QUE SER MODIFICADO--------# |
|
208 | 397 | |
|
209 | 398 | #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) |
|
210 | 399 | for i in range(0, (len(Dirlist))): |
|
211 | 400 | self.variableList.append(Dirlist[i]) |
|
212 | 401 | |
|
213 | 402 | for i in self.variableList: |
|
214 | 403 | self.starDateCmbBox.addItem(i) |
|
215 | 404 | self.endDateCmbBox.addItem(i) |
|
216 | 405 | self.endDateCmbBox.setCurrentIndex(self.starDateCmbBox.count()-1) |
|
217 | 406 | |
|
218 | 407 | self.getsubList() |
|
219 | 408 | self.dataOkBtn.setEnabled(True) |
|
220 | 409 | |
|
221 | 410 | def getsubList(self): |
|
222 | 411 | """ |
|
223 | 412 | OBTIENE EL RANDO DE LAS FECHAS SELECCIONADAS |
|
224 | 413 | """ |
|
225 | 414 | self.subList=[] |
|
226 | 415 | for i in self.variableList[self.starDateCmbBox.currentIndex():self.starDateCmbBox.currentIndex() + self.endDateCmbBox.currentIndex()+1]: |
|
227 | 416 | self.subList.append(i) |
|
228 | 417 | |
|
229 | 418 | @pyqtSignature("") |
|
230 | 419 | def on_dataPathBrowse_clicked(self): |
|
231 | 420 | """ |
|
232 | 421 | OBTENCION DE LA RUTA DE DATOS |
|
233 | 422 | """ |
|
234 | 423 | self.dataPath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) |
|
235 | 424 | self.dataPathTxt.setText(self.dataPath) |
|
236 | 425 | self.statusDpath=self.existDir(self.dataPath) |
|
237 | 426 | self.loadDays() |
|
238 | 427 | |
|
239 | 428 | @pyqtSignature("int") |
|
240 | 429 | def on_starDateCmbBox_activated(self, index): |
|
241 | 430 | """ |
|
242 | 431 | SELECCION DEL RANGO DE FECHAS -STAR DATE |
|
243 | 432 | """ |
|
244 | 433 | var_StopDay_index=self.endDateCmbBox.count() - self.endDateCmbBox.currentIndex() |
|
245 | 434 | self.endDateCmbBox.clear() |
|
246 | 435 | for i in self.variableList[index:]: |
|
247 | 436 | self.endDateCmbBox.addItem(i) |
|
248 | 437 | self.endDateCmbBox.setCurrentIndex(self.endDateCmbBox.count() - var_StopDay_index) |
|
249 | 438 | self.getsubList() |
|
250 | 439 | |
|
251 | 440 | @pyqtSignature("int") |
|
252 | 441 | def on_endDateCmbBox_activated(self, index): |
|
253 | 442 | """ |
|
254 | 443 | SELECCION DEL RANGO DE FECHAS-END DATE |
|
255 | 444 | """ |
|
256 | 445 | var_StartDay_index=self.starDateCmbBox.currentIndex() |
|
257 | 446 | var_end_index = self.endDateCmbBox.count() - index |
|
258 | 447 | self.starDateCmbBox.clear() |
|
259 | 448 | for i in self.variableList[:len(self.variableList) - var_end_index + 1]: |
|
260 | 449 | self.starDateCmbBox.addItem(i) |
|
261 | 450 | self.starDateCmbBox.setCurrentIndex(var_StartDay_index) |
|
262 | 451 | self.getsubList() #Se carga var_sublist[] con el rango de las fechas seleccionadas |
|
263 | 452 | |
|
264 | 453 | @pyqtSignature("int") |
|
265 | 454 | def on_readModeCmBox_activated(self, p0): |
|
266 | 455 | """ |
|
267 | 456 | Slot documentation goes here. |
|
268 | 457 | """ |
|
269 | 458 | if p0==0: |
|
270 | 459 | self.online=0 |
|
271 | 460 | elif p0==1: |
|
272 | 461 | self.online=1 |
|
273 | 462 | |
|
274 | @pyqtSignature("") | |
|
275 | def on_dataOkBtn_clicked(self): | |
|
276 | """ | |
|
277 | Slot documentation goes here. | |
|
278 | """ | |
|
279 | print "En este nivel se pasa el tipo de dato con el que se trabaja,path,startDate,endDate,startTime,endTime,online" | |
|
280 | ||
|
281 | projectObj=self.proObjList[int(self.proConfCmbBox.currentIndex())] | |
|
282 | datatype=str(self.dataTypeCmbBox.currentText()) | |
|
283 | path=str(self.dataPathTxt.text()) | |
|
284 | online=int(self.online) | |
|
285 | starDate=str(self.starDateCmbBox.currentText()) | |
|
286 | endDate=str(self.endDateCmbBox.currentText()) | |
|
287 | ||
|
288 | ||
|
289 | self.readUnitConfObj = projectObj.addReadUnit(datatype=datatype, | |
|
290 | path=path, | |
|
291 | startDate=starDate, | |
|
292 | endDate=endDate, | |
|
293 | startTime='06:10:00', | |
|
294 | endTime='23:59:59', | |
|
295 | online=online) | |
|
296 | ||
|
297 | self.readUnitConfObjList.append(self.readUnitConfObj) | |
|
298 | ||
|
299 | print "self.readUnitConfObj.getId",self.readUnitConfObj.getId(),datatype,path,starDate,endDate,online | |
|
300 | ||
|
301 | ||
|
302 | self.model_2=treeModel() | |
|
303 | ||
|
304 | self.model_2.setParams(name=projectObj.name+str(projectObj.id), | |
|
305 | directorio=path, | |
|
306 | workspace="C:\\WorkspaceGUI", | |
|
307 | remode=str(self.readModeCmBox.currentText()), | |
|
308 | dataformat=datatype, | |
|
309 | date=str(starDate)+"-"+str(endDate), | |
|
310 | initTime='06:10:00', | |
|
311 | endTime='23:59:59', | |
|
312 | timezone="Local" , | |
|
313 | Summary="test de prueba") | |
|
314 | self.model_2.arbol() | |
|
315 | self.treeView_2.setModel(self.model_2) | |
|
316 | self.treeView_2.expandAll() | |
|
317 | ||
|
463 | ||
|
318 | 464 | |
|
319 | @pyqtSignature("") | |
|
320 | def on_addUnitProces_clicked(self): | |
|
321 | """ | |
|
322 | Slot documentation goes here. | |
|
323 | """ | |
|
324 | # print "En este nivel se adiciona una rama de procesamiento, y se le concatena con el id" | |
|
325 | # self.procUnitConfObj0 = self.controllerObj.addProcUnit(datatype='Voltage', inputId=self.readUnitConfObj.getId()) | |
|
326 | self.showUp() | |
|
327 | ||
|
328 | def showUp(self): | |
|
465 | def addUP(self): | |
|
329 | 466 | |
|
330 | 467 | self.configUP=UnitProcess(self) |
|
331 | 468 | for i in self.proObjList: |
|
332 | 469 | self.configUP.getfromWindowList.append(i) |
|
333 | 470 | #print i |
|
334 | 471 | for i in self.upObjList: |
|
335 | 472 | self.configUP.getfromWindowList.append(i) |
|
336 | 473 | self.configUP.loadTotalList() |
|
337 | 474 | self.configUP.show() |
|
338 | 475 | self.configUP.unitPsavebut.clicked.connect(self.reciveUPparameters) |
|
339 | 476 | self.configUP.closed.connect(self.createUP) |
|
340 | 477 | |
|
341 | 478 | def reciveUPparameters(self): |
|
342 | 479 | |
|
343 | 480 | self.uporProObjRecover,self.upType=self.configUP.almacena() |
|
344 | 481 | |
|
345 | 482 | |
|
346 | 483 | def createUP(self): |
|
347 | 484 | print "En este nivel se adiciona una rama de procesamiento, y se le concatena con el id" |
|
348 | 485 | projectObj=self.proObjList[int(self.proConfCmbBox.currentIndex())] |
|
349 | 486 | |
|
350 | 487 | datatype=str(self.upType) |
|
351 | 488 | uporprojectObj=self.uporProObjRecover |
|
352 | 489 | #+++++++++++LET FLY+++++++++++# |
|
353 | 490 | if uporprojectObj.getElementName()=='ProcUnit': |
|
354 | 491 | inputId=uporprojectObj.getId() |
|
355 | 492 | elif uporprojectObj.getElementName()=='Project': |
|
356 | 493 | inputId=self.readUnitConfObjList[uporprojectObj.id-1].getId() |
|
357 | 494 | |
|
358 | 495 | |
|
359 | 496 | self.procUnitConfObj1 = projectObj.addProcUnit(datatype=datatype, inputId=inputId) |
|
360 | 497 | self.upObjList.append(self.procUnitConfObj1) |
|
361 | 498 | print inputId |
|
362 | 499 | print self.procUnitConfObj1.getId() |
|
363 | 500 | self.parentItem=uporprojectObj.arbol |
|
364 | 501 | self.numbertree=int(self.procUnitConfObj1.getId())-1 |
|
365 | 502 | self.procUnitConfObj1.arbol=QtGui.QStandardItem(QtCore.QString(datatype +"%1 ").arg(self.numbertree)) |
|
366 | 503 | self.parentItem.appendRow(self.procUnitConfObj1.arbol) |
|
367 | 504 | self.parentItem=self.procUnitConfObj1.arbol |
|
368 | 505 | self.loadUp() |
|
369 | 506 | self.treeView.expandAll() |
|
370 | 507 | |
|
371 | 508 | def loadUp(self): |
|
372 | 509 | self.addOpUpselec.clear() |
|
373 | 510 | self.addOpSpecUpselec.clear() |
|
374 | 511 | for i in self.upObjList: |
|
375 | 512 | if i.datatype=='Voltage': |
|
376 | 513 | self.upObjVolList.append(i) |
|
377 | 514 | name=i.getElementName() |
|
378 | 515 | id=int(i.id)-1 |
|
379 | 516 | self.addOpUpselec.addItem(name+str(id)) |
|
380 | 517 | if i.datatype=='Spectra': |
|
381 | 518 | self.upobjSpecList.append(i) |
|
382 | 519 | name=i.getElementName() |
|
383 | 520 | id=int(i.id)-1 |
|
384 | 521 | self.addOpSpecUpselec.addItem(name+str(id)) |
|
385 | 522 | |
|
386 | 523 | self.resetopVolt() |
|
387 | 524 | self.resetopSpec() |
|
388 | 525 | |
|
389 | 526 | |
|
390 | 527 | @pyqtSignature("int") |
|
391 | 528 | def on_selecChannelopVolCEB_stateChanged(self, p0): |
|
392 | 529 | """ |
|
393 | 530 | Slot documentation goes here. |
|
394 | 531 | """ |
|
395 | 532 | if p0==2: |
|
396 | 533 | self.numberChannelopVol.setEnabled(True) |
|
397 | 534 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
398 | 535 | opObj10=upProcessSelect.addOperation(name='selectChannels') |
|
399 | 536 | print opObj10.id |
|
400 | 537 | self.operObjList.append(opObj10) |
|
401 | 538 | print " Ingresa seleccion de Canales" |
|
402 | 539 | if p0==0: |
|
403 | 540 | print " deshabilitado" |
|
404 | 541 | |
|
405 | 542 | @pyqtSignature("int") |
|
406 | 543 | def on_selecHeighopVolCEB_stateChanged(self, p0): |
|
407 | 544 | """ |
|
408 | 545 | Slot documentation goes here. |
|
409 | 546 | """ |
|
410 | 547 | if p0==2: |
|
411 | 548 | self.lineHeighProfileTxtopVol.setEnabled(True) |
|
412 | 549 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
413 | 550 | opObj10=upProcessSelect.addOperation(name='selectHeights') |
|
414 | 551 | print opObj10.id |
|
415 | 552 | self.operObjList.append(opObj10) |
|
416 | 553 | print " Select Type of Profile" |
|
417 | 554 | if p0==0: |
|
418 | 555 | print " deshabilitado" |
|
419 | 556 | |
|
420 | 557 | |
|
421 | 558 | @pyqtSignature("int") |
|
422 | 559 | def on_profileSelecopVolCEB_stateChanged(self, p0): |
|
423 | 560 | """ |
|
424 | 561 | Slot documentation goes here. |
|
425 | 562 | """ |
|
426 | 563 | if p0==2: |
|
427 | 564 | self.lineProfileSelecopVolCEB.setEnabled(True) |
|
428 | 565 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
429 | 566 | opObj10=upProcessSelect.addOperation(name='ProfileSelector', optype='other') |
|
430 | 567 | print opObj10.id |
|
431 | 568 | self.operObjList.append(opObj10) |
|
432 | 569 | print " Select Type of Profile" |
|
433 | 570 | if p0==0: |
|
434 | 571 | print " deshabilitado" |
|
435 | 572 | |
|
436 | 573 | |
|
437 | 574 | @pyqtSignature("int") |
|
438 | 575 | def on_coherentIntegrationCEB_stateChanged(self, p0): |
|
439 | 576 | """ |
|
440 | 577 | Slot documentation goes here. |
|
441 | 578 | """ |
|
442 | 579 | if p0==2: |
|
443 | 580 | self.numberIntegration.setEnabled(True) |
|
444 | 581 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
445 | 582 | opObj10=upProcessSelect.addOperation(name='CohInt', optype='other') |
|
446 | 583 | print opObj10.id |
|
447 | 584 | self.operObjList.append(opObj10) |
|
448 | 585 | print "Choose number of Cohint" |
|
449 | 586 | if p0==0: |
|
450 | 587 | print " deshabilitado" |
|
451 | 588 | self.numberChannelopVol.setEnabled(False) |
|
452 | 589 | |
|
453 | 590 | def resetopVolt(self): |
|
454 | 591 | self.selecChannelopVolCEB.setChecked(False) |
|
455 | 592 | self.selecHeighopVolCEB.setChecked(False) |
|
456 | 593 | self.coherentIntegrationCEB.setChecked(False) |
|
457 | 594 | self.profileSelecopVolCEB.setChecked(False) |
|
458 | 595 | #self.selecChannelopVolCEB.setEnabled(False) |
|
459 | 596 | self.lineHeighProfileTxtopVol.clear() |
|
460 | 597 | self.lineProfileSelecopVolCEB.clear() |
|
461 | 598 | self.numberChannelopVol.clear() |
|
462 | 599 | self.numberIntegration.clear() |
|
463 | 600 | |
|
464 | 601 | |
|
465 | 602 | @pyqtSignature("") |
|
466 | 603 | def on_dataopVolOkBtn_clicked(self): |
|
467 | 604 | """ |
|
468 | 605 | Slot documentation goes here. |
|
469 | 606 | """ |
|
470 | 607 | if self.selecChannelopVolCEB.isChecked(): |
|
471 | 608 | for i in self.operObjList: |
|
472 | 609 | if i.name=='selectChannels': |
|
473 | 610 | value=self.numberChannelopVol.text() |
|
474 | 611 | i.addParameter(name='channelList', value=value, format='intlist') |
|
475 | 612 | |
|
476 | 613 | |
|
477 | 614 | print "channel" |
|
478 | 615 | |
|
479 | 616 | if self.selecHeighopVolCEB.isChecked(): |
|
480 | 617 | for i in self.operObjList: |
|
481 | 618 | if i.name=='selectHeights' : |
|
482 | 619 | value=self.lineHeighProfileTxtopVol.text() |
|
483 | 620 | valueList=value.split(',') |
|
484 | 621 | i.addParameter(name='minHei', value=valueList[0], format='float') |
|
485 | 622 | i.addParameter(name='maxHei', value=valueList[1], format='float') |
|
486 | 623 | |
|
487 | 624 | print "height" |
|
488 | 625 | |
|
489 | 626 | |
|
490 | 627 | if self.selecHeighopVolCEB.isChecked(): |
|
491 | 628 | for i in self.operObjList: |
|
492 | 629 | if i.name=='ProfileSelector' : |
|
493 | 630 | value=self.lineProfileSelecopVolCEB.text() |
|
494 | 631 | i.addParameter(name='ProfileSelector', value=value, format='intlist') |
|
495 | 632 | |
|
496 | 633 | |
|
497 | 634 | |
|
498 | 635 | if self.coherentIntegrationCEB.isChecked(): |
|
499 | 636 | for i in self.operObjList: |
|
500 | 637 | if i.name=='CohInt': |
|
501 | 638 | value=self.numberIntegration.text() |
|
502 | 639 | i.addParameter(name='n', value=value, format='int') |
|
503 | 640 | |
|
504 | 641 | |
|
505 | 642 | @pyqtSignature("int") |
|
506 | 643 | def on_nFFTPointOpSpecCEB_stateChanged(self, p0): |
|
507 | 644 | """ |
|
508 | 645 | Slot documentation goes here. |
|
509 | 646 | """ |
|
510 | 647 | if p0==2: |
|
511 | 648 | self.valuenFFTPointOpSpec.setEnabled(True) |
|
512 | 649 | print " nFFTPoint" |
|
513 | 650 | if p0==0: |
|
514 | 651 | print " deshabilitado" |
|
515 | 652 | |
|
516 | 653 | |
|
517 | 654 | def resetopSpec(self): |
|
518 | 655 | self.nFFTPointOpSpecCEB.setChecked(False) |
|
519 | 656 | |
|
520 | 657 | self.valuenFFTPointOpSpec.clear() |
|
521 | 658 | |
|
522 | 659 | |
|
523 | 660 | @pyqtSignature("") |
|
524 | 661 | def on_dataopSpecOkBtn_clicked(self): |
|
525 | 662 | """ |
|
526 | 663 | Slot documentation goes here. |
|
527 | 664 | """ |
|
528 | 665 | print "Añadimos operaciones Spectra,nchannels,value,format" |
|
529 | 666 | if self.nFFTPointOpSpecCEB.isChecked(): |
|
530 | 667 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
531 | 668 | value=self.valuenFFTPointOpSpec.text() |
|
532 | 669 | upProcessSelect.addParameter(name='nFFTPoints',value=value,format='int') |
|
533 | 670 | |
|
534 | 671 | @pyqtSignature("int") |
|
535 | 672 | def on_SpectraPlotGraphCEB_stateChanged(self, p0): |
|
536 | 673 | """ |
|
537 | 674 | Slot documentation goes here. |
|
538 | 675 | """ |
|
539 | 676 | if p0==2: |
|
540 | 677 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
541 | 678 | opObj10=upProcessSelect.addOperation(name='SpectraPlot',optype='other') |
|
542 | 679 | print opObj10.id |
|
543 | 680 | self.operObjList.append(opObj10) |
|
544 | 681 | |
|
545 | 682 | if p0==0: |
|
546 | 683 | print " deshabilitado" |
|
547 | 684 | |
|
548 | 685 | @pyqtSignature("int") |
|
549 | 686 | def on_CrossSpectraPlotGraphceb_stateChanged(self, p0): |
|
550 | 687 | """ |
|
551 | 688 | Slot documentation goes here. |
|
552 | 689 | """ |
|
553 | 690 | if p0==2: |
|
554 | 691 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
555 | 692 | opObj10=upProcessSelect.addOperation(name='CrossSpectraPlot',optype='other') |
|
556 | 693 | print opObj10.id |
|
557 | 694 | self.operObjList.append(opObj10) |
|
558 | 695 | if p0==0: |
|
559 | 696 | print " deshabilitado" |
|
560 | 697 | |
|
561 | 698 | @pyqtSignature("int") |
|
562 | 699 | def on_RTIPlotGraphCEB_stateChanged(self, p0): |
|
563 | 700 | """ |
|
564 | 701 | Slot documentation goes here. |
|
565 | 702 | """ |
|
566 | 703 | if p0==2: |
|
567 | 704 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
568 | 705 | opObj10=upProcessSelect.addOperation(name='RTIPlot',optype='other') |
|
569 | 706 | print opObj10.id |
|
570 | 707 | self.operObjList.append(opObj10) |
|
571 | 708 | if p0==0: |
|
572 | 709 | print " deshabilitado" |
|
573 | 710 | |
|
574 | 711 | |
|
575 | 712 | def resetgraphSpec(self): |
|
576 | 713 | self.SpectraPlotGraphCEB.setChecked(False) |
|
577 | 714 | self.CrossSpectraPlotGraphceb.setChecked(False) |
|
578 | 715 | self.RTIPlotGraphCEB.setChecked(False) |
|
579 | 716 | |
|
580 | 717 | @pyqtSignature("") |
|
581 | 718 | def on_dataGraphSpecOkBtn_clicked(self): |
|
582 | 719 | """ |
|
583 | 720 | Slot documentation goes here. |
|
584 | 721 | """ |
|
585 | 722 | print "Graficar Spec op" |
|
586 | 723 | if self.SpectraPlotGraphCEB.isChecked(): |
|
587 | 724 | for i in self.operObjList: |
|
588 | 725 | if i.name=='SpectraPlot': |
|
589 | 726 | i.addParameter(name='idfigure', value='1', format='int') |
|
590 | 727 | i.addParameter(name='wintitle', value='SpectraPlot0', format='str') |
|
591 | 728 | i.addParameter(name='zmin', value='40', format='int') |
|
592 | 729 | i.addParameter(name='zmax', value='90', format='int') |
|
593 | 730 | i.addParameter(name='showprofile', value='1', format='int') |
|
594 | 731 | |
|
595 | 732 | if self.CrossSpectraPlotGraphceb.isChecked(): |
|
596 | 733 | for i in self.operObjList: |
|
597 | 734 | if i.name=='CrossSpectraPlot' : |
|
598 | 735 | i.addParameter(name='idfigure', value='2', format='int') |
|
599 | 736 | i.addParameter(name='wintitle', value='CrossSpectraPlot', format='str') |
|
600 | 737 | i.addParameter(name='zmin', value='40', format='int') |
|
601 | 738 | i.addParameter(name='zmax', value='90', format='int') |
|
602 | 739 | |
|
603 | 740 | if self.RTIPlotGraphCEB.isChecked(): |
|
604 | 741 | for i in self.operObjList: |
|
605 | 742 | if i.name=='RTIPlot': |
|
606 | 743 | i.addParameter(name='n', value='2', format='int') |
|
607 | 744 | i.addParameter(name='overlapping', value='1', format='int') |
|
608 | 745 | |
|
609 | 746 | @pyqtSignature("") |
|
610 | 747 | def on_actionguardarObj_triggered(self): |
|
611 | 748 | """ |
|
612 | 749 | GUARDAR EL ARCHIVO DE CONFIGURACION XML |
|
613 | 750 | """ |
|
751 | self.saveProject() | |
|
752 | ||
|
753 | ||
|
754 | def saveProject(self): | |
|
614 | 755 | if self.idp==1: |
|
615 | 756 | self.valuep=1 |
|
616 | 757 | |
|
617 | 758 | print "Escribiendo el archivo XML" |
|
618 | 759 | filename="C:\\WorkspaceGUI\\CONFIG"+str(self.valuep)+".xml" |
|
619 | 760 | self.controllerObj=self.proObjList[int(self.valuep)-1] |
|
620 | 761 | self.controllerObj.writeXml(filename) |
|
621 | 762 | |
|
622 | 763 | |
|
623 | 764 | class Window(QMainWindow, Ui_window): |
|
624 | 765 | """ |
|
625 | 766 | Class documentation goes here. |
|
626 | 767 | """ |
|
627 | 768 | closed=pyqtSignal() |
|
628 | 769 | def __init__(self, parent = None): |
|
629 | 770 | """ |
|
630 | 771 | Constructor |
|
631 | 772 | """ |
|
632 | 773 | QMainWindow.__init__(self, parent) |
|
633 | 774 | self.setupUi(self) |
|
634 | 775 | self.name=0 |
|
635 | 776 | self.nameproject=None |
|
636 | 777 | self.proyectNameLine.setText('My_name_is...') |
|
637 | 778 | self.descriptionTextEdit.setText('Write a description...') |
|
638 | 779 | |
|
639 | 780 | |
|
640 | 781 | @pyqtSignature("") |
|
641 | 782 | def on_cancelButton_clicked(self): |
|
642 | 783 | """ |
|
643 | 784 | Slot documentation goes here. |
|
644 | 785 | """ |
|
645 | 786 | # TODO: not implemented yet |
|
646 | 787 | #raise NotImplementedError |
|
647 | 788 | |
|
648 | 789 | self.hide() |
|
649 | 790 | |
|
650 | 791 | @pyqtSignature("") |
|
651 | 792 | def on_okButton_clicked(self): |
|
652 | 793 | """ |
|
653 | 794 | Slot documentation goes here. |
|
654 | 795 | """ |
|
655 | 796 | #self.almacena() |
|
656 | 797 | self.close() |
|
657 | 798 | |
|
658 | 799 | @pyqtSignature("") |
|
659 | 800 | def on_saveButton_clicked(self): |
|
660 | 801 | """ |
|
661 | 802 | Slot documentation goes here. |
|
662 | 803 | """ |
|
663 | 804 | self.almacena() |
|
664 | 805 | # self.close() |
|
665 | 806 | |
|
666 | 807 | def almacena(self): |
|
667 | 808 | #print str(self.proyectNameLine.text()) |
|
668 | 809 | self.nameproject=str(self.proyectNameLine.text()) |
|
669 | 810 | self.description=str(self.descriptionTextEdit.toPlainText()) |
|
670 | 811 | return self.nameproject,self.description |
|
671 | 812 | |
|
672 | 813 | def closeEvent(self, event): |
|
673 | 814 | self.closed.emit() |
|
674 | 815 | event.accept() |
|
675 | 816 | |
|
676 | 817 | |
|
677 | 818 | class UnitProcess(QMainWindow, Ui_UnitProcess): |
|
678 | 819 | """ |
|
679 | 820 | Class documentation goes here. |
|
680 | 821 | """ |
|
681 | 822 | closed=pyqtSignal() |
|
682 | 823 | def __init__(self, parent = None): |
|
683 | 824 | """ |
|
684 | 825 | Constructor |
|
685 | 826 | """ |
|
686 | 827 | QMainWindow.__init__(self, parent) |
|
687 | 828 | self.setupUi(self) |
|
688 | 829 | self.getFromWindow=None |
|
689 | 830 | self.getfromWindowList=[] |
|
690 | 831 | |
|
691 | 832 | self.listUP=None |
|
692 | 833 | |
|
693 | 834 | def loadTotalList(self): |
|
694 | 835 | self.comboInputBox.clear() |
|
695 | 836 | for i in self.getfromWindowList: |
|
696 | 837 | name=i.getElementName() |
|
697 | 838 | id= i.id |
|
698 | 839 | if i.getElementName()=='ProcUnit': |
|
699 | 840 | id=int(i.id)-1 |
|
700 | 841 | self.comboInputBox.addItem(str(name)+str(id)) |
|
701 | 842 | |
|
702 | 843 | @pyqtSignature("QString") |
|
703 | 844 | def on_comboInputBox_activated(self, p0): |
|
704 | 845 | """ |
|
705 | 846 | Slot documentation goes here. |
|
706 | 847 | """ |
|
707 | 848 | |
|
708 | 849 | # TODO: not implemented yet |
|
709 | 850 | #raise NotImplementedError |
|
710 | 851 | |
|
711 | 852 | @pyqtSignature("QString") |
|
712 | 853 | def on_comboTypeBox_activated(self, p0): |
|
713 | 854 | """ |
|
714 | 855 | Slot documentation goes here. |
|
715 | 856 | """ |
|
716 | 857 | # TODO: not implemented yet |
|
717 | 858 | #raise NotImplementedError |
|
718 | 859 | |
|
719 | 860 | @pyqtSignature("") |
|
720 | 861 | def on_unitPokbut_clicked(self): |
|
721 | 862 | """ |
|
722 | 863 | Slot documentation goes here. |
|
723 | 864 | """ |
|
724 | 865 | self.close() |
|
725 | 866 | |
|
726 | 867 | @pyqtSignature("") |
|
727 | 868 | def on_unitPsavebut_clicked(self): |
|
728 | 869 | """ |
|
729 | 870 | Slot documentation goes here. |
|
730 | 871 | """ |
|
731 | 872 | |
|
732 | 873 | print "alex" |
|
733 | 874 | self.almacena() |
|
734 | 875 | |
|
735 | 876 | @pyqtSignature("") |
|
736 | 877 | def on_unitPcancelbut_clicked(self): |
|
737 | 878 | """ |
|
738 | 879 | Slot documentation goes here. |
|
739 | 880 | """ |
|
740 | 881 | # TODO: not implemented yet |
|
741 | 882 | #raise NotImplementedError |
|
742 | 883 | self.hide() |
|
743 | 884 | |
|
744 | 885 | def almacena(self): |
|
745 | 886 | self.getFromWindow=self.getfromWindowList[int(self.comboInputBox.currentIndex())] |
|
746 | 887 | #self.nameofUP= str(self.nameUptxt.text()) |
|
747 | 888 | self.typeofUP= str(self.comboTypeBox.currentText()) |
|
748 | 889 | return self.getFromWindow,self.typeofUP |
|
749 | 890 | |
|
750 | 891 | def closeEvent(self, event): |
|
751 | 892 | self.closed.emit() |
|
752 | 893 | event.accept() |
|
753 | 894 | |
|
754 | 895 | |
|
755 | 896 | |
|
756 | 897 | |
|
757 | 898 | |
|
758 | 899 | |
|
759 | 900 | No newline at end of file |
@@ -1,807 +1,807 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """ |
|
3 | 3 | Module implementing MainWindow. |
|
4 | 4 | #+++++++++++++++++++++INTERFAZ DE USUARIO V1.1++++++++++++++++++++++++# |
|
5 | 5 | """ |
|
6 | 6 | from PyQt4.QtGui import QMainWindow |
|
7 | 7 | from PyQt4.QtCore import pyqtSignature |
|
8 | 8 | from PyQt4.QtCore import pyqtSignal |
|
9 | 9 | from PyQt4 import QtCore |
|
10 | 10 | from PyQt4 import QtGui |
|
11 | 11 | from timeconversions import Doy2Date |
|
12 | 12 | from modelProperties import treeModel |
|
13 | 13 | from viewer.ui_unitprocess import Ui_UnitProcess |
|
14 | 14 | from viewer.ui_window import Ui_window |
|
15 | 15 | from viewer.ui_mainwindow import Ui_MainWindow |
|
16 | 16 | from viewer.ui_workspace import Ui_Workspace |
|
17 | 17 | from viewer.ui_initwindow import Ui_InitWindow |
|
18 | 18 | |
|
19 | 19 | from controller import Project,ReadUnitConf,ProcUnitConf,OperationConf,ParameterConf |
|
20 | 20 | import os |
|
21 | 21 | |
|
22 | 22 | HORIZONTAL_HEADERS = ("ITEM :"," DATOS : " ) |
|
23 | 23 | |
|
24 | 24 | HORIZONTAL = ("RAMA :",) |
|
25 | 25 | |
|
26 | 26 | class MainWindow(QMainWindow, Ui_MainWindow): |
|
27 | 27 | |
|
28 | 28 | nop=None |
|
29 | 29 | |
|
30 | 30 | __projObjDict = {} |
|
31 | 31 | __arbolDict = {} |
|
32 | 32 | |
|
33 | 33 | """ |
|
34 | 34 | Class documentation goes here. |
|
35 | 35 | #*##################VENTANA CUERPO DEL PROGRAMA#################### |
|
36 | 36 | """ |
|
37 | 37 | def __init__(self, parent = None): |
|
38 | 38 | """ |
|
39 | 39 | Constructor |
|
40 | 40 | """ |
|
41 |
print "Inicio de Programa Interfaz Gr |
|
|
41 | print "Inicio de Programa Interfaz Gráfica" | |
|
42 | 42 | QMainWindow.__init__(self, parent) |
|
43 | 43 | self.setupUi(self) |
|
44 | 44 | |
|
45 | 45 | self.online=0 |
|
46 | 46 | self.datatype=0 |
|
47 | 47 | self.variableList=[] |
|
48 | 48 | |
|
49 | 49 | self.proObjList=[] |
|
50 | 50 | self.idp=0 |
|
51 | 51 | self.projectName=0 |
|
52 | 52 | self.description=0 |
|
53 | 53 | self.namepTree=0 |
|
54 | 54 | self.valuep=0 |
|
55 | 55 | |
|
56 | 56 | self.upObjList= [] |
|
57 | 57 | self.upn=0 |
|
58 | 58 | self.upName=0 |
|
59 | 59 | self.upType=0 |
|
60 | 60 | self.uporProObjRecover=0 |
|
61 | 61 | |
|
62 | 62 | |
|
63 | 63 | self.readUnitConfObjList=[] |
|
64 | 64 | |
|
65 | 65 | self.upObjVolList=[] |
|
66 | 66 | self.upobjSpecList=[] |
|
67 | 67 | |
|
68 | 68 | |
|
69 | 69 | self.operObjList=[] |
|
70 | 70 | |
|
71 | 71 | self.projectWindow=None |
|
72 | 72 | self.configUP=None |
|
73 | 73 | |
|
74 | 74 | self.projectObj=None |
|
75 | 75 | self.readUnitConfObj=None |
|
76 | 76 | self.procUnitConfObj0=None |
|
77 | 77 | self.opObj10=None |
|
78 | 78 | self.opObj12=None |
|
79 | 79 | |
|
80 | 80 | |
|
81 | 81 | self.setParam() |
|
82 | 82 | |
|
83 | 83 | #++++++++++++++++++NEW PROPERTIES+++++++++++++++++# |
|
84 | 84 | QtGui.QToolTip.setFont(QtGui.QFont('SansSerif', 10)) |
|
85 | 85 | self.addpBtn.setToolTip('Add_New_Project') |
|
86 | 86 | self.addUnitProces.setToolTip('Add_New_Processing_Unit') |
|
87 | 87 | |
|
88 | 88 | #++++++++++++++++++NEW PROPERTIES+++++++++++++++++# |
|
89 | 89 | self.model = QtGui.QStandardItemModel() |
|
90 | 90 | self.treeView.setModel(self.model) |
|
91 | 91 | self.treeView.clicked.connect(self.clickFunctiontree) |
|
92 | 92 | self.treeView.expandAll() |
|
93 | 93 | #self.treeView.clicked.connect(self.treefunction1) |
|
94 | 94 | |
|
95 | 95 | def getNumberofProject(self): |
|
96 | 96 | # for i in self.proObjList: |
|
97 | 97 | # print i |
|
98 | 98 | return self.proObjList |
|
99 | 99 | # for i in self.proObjList: |
|
100 | 100 | # print i |
|
101 | 101 | |
|
102 | 102 | def setParam(self): |
|
103 | 103 | self.dataPathTxt.setText('C:\data') |
|
104 | 104 | self.numberChannelopVol.setEnabled(False) |
|
105 | 105 | self.lineHeighProfileTxtopVol.setEnabled(False) |
|
106 | 106 | self.numberIntegration.setEnabled(False) |
|
107 | 107 | self.valuenFFTPointOpSpec.setEnabled(False) |
|
108 | 108 | self.lineProfileSelecopVolCEB.setEnabled(False) |
|
109 | 109 | |
|
110 | 110 | |
|
111 | 111 | def clickFunctiontree(self,index): |
|
112 | 112 | indexclick= index.model().itemFromIndex(index).text() |
|
113 | 113 | #print indexclick |
|
114 | 114 | NumofPro=indexclick[8:10] |
|
115 | 115 | self.valuep=NumofPro |
|
116 | 116 | #print self.valuep |
|
117 | 117 | NameofPro=indexclick[0:7] |
|
118 | 118 | self.namepTree=NameofPro |
|
119 | 119 | #print self.namepTree |
|
120 | 120 | |
|
121 | 121 | |
|
122 | 122 | @pyqtSignature("") |
|
123 | def on_addpBtn_clicked(self): | |
|
123 | def on_addprojectBtn_clicked(self): | |
|
124 | 124 | """ |
|
125 | 125 | Llama al metodo addProject. |
|
126 | 126 | """ |
|
127 | 127 | print "En este nivel se abre el window" |
|
128 | 128 | |
|
129 | 129 | |
|
130 | 130 | self.addProject() |
|
131 | 131 | |
|
132 | 132 | def addProject(self): |
|
133 | 133 | """ |
|
134 | 134 | Muestra una |
|
135 | 135 | """ |
|
136 | 136 | |
|
137 | 137 | self.projectWindow = ProjectWindow(self) |
|
138 | 138 | self.projectWindow.show() |
|
139 | 139 | |
|
140 | 140 | #Al cerrar la venta de proyecto se ejecutara el metodo createProject |
|
141 | 141 | self.projectWindow.closed.connect(self.createProject) |
|
142 | 142 | |
|
143 | 143 | def createProject(self): |
|
144 | 144 | """ |
|
145 | 145 | Crea un nuevo proyecto del tipo Controller.Project() y lo adiciona al diccionario |
|
146 | 146 | self.__projectDict. |
|
147 | 147 | """ |
|
148 | 148 | |
|
149 | 149 | if not self.projectWindow.create: |
|
150 | 150 | return |
|
151 | 151 | |
|
152 | 152 | self.projectName = self.projectWindow.name |
|
153 | 153 | self.description = self.projectWindow.description |
|
154 | 154 | |
|
155 | 155 | print "En este nivel se debe crear el proyecto,id,nombre,desc" |
|
156 | 156 | #+++++Creacion del Objeto Controller-XML++++++++++# |
|
157 | 157 | self.idp += 1 |
|
158 | 158 | self.projectObj = Project() |
|
159 | 159 | |
|
160 | 160 | id=int(self.idp) |
|
161 | 161 | name=str(self.projectName) |
|
162 | 162 | desc=str(self.description) |
|
163 | 163 | |
|
164 | 164 | self.projectObj.setup(id = id, name=name, description=desc) |
|
165 | 165 | self.__projObjDict[id] = self.projectObj |
|
166 | 166 | self.proObjList.append(self.projectObj) |
|
167 | 167 | |
|
168 | 168 | self.parentItem = self.model.invisibleRootItem() |
|
169 | 169 | self.__arbolDict[id] = QtGui.QStandardItem(QtCore.QString("Project %0").arg(self.idp)) |
|
170 | 170 | |
|
171 | 171 | self.parentItem.appendRow(self.__arbolDict[projectObj.id]) |
|
172 | 172 | |
|
173 | 173 | #+++++++++++++++++++LISTA DE PROYECTO++++++++++++++++++++++++++++# |
|
174 | 174 | |
|
175 | 175 | |
|
176 | 176 | # self.parentItem=self.projectObj.arbol |
|
177 | 177 | # self.loadProjects() |
|
178 | 178 | |
|
179 |
print "Porfavor ingrese los par |
|
|
179 | print "Porfavor ingrese los parámetros de configuracion del Proyecto" | |
|
180 | 180 | |
|
181 | 181 | def loadProjects(self): |
|
182 | 182 | self.proConfCmbBox.clear() |
|
183 | 183 | for i in self.__projObjDict.values(): |
|
184 | 184 | self.proConfCmbBox.addItem("Project"+str(i.id)) |
|
185 | 185 | |
|
186 | 186 | @pyqtSignature("int") |
|
187 | 187 | def on_dataTypeCmbBox_activated(self,index): |
|
188 | 188 | self.dataFormatTxt.setReadOnly(True) |
|
189 | 189 | if index==0: |
|
190 | 190 | self.datatype='Voltage' |
|
191 | 191 | elif index==1: |
|
192 | 192 | self.datatype='Spectra' |
|
193 | 193 | else : |
|
194 | 194 | self.datatype='' |
|
195 | 195 | self.dataFormatTxt.setReadOnly(False) |
|
196 | 196 | self.dataFormatTxt.setText(self.datatype) |
|
197 | 197 | |
|
198 | 198 | def existDir(self, var_dir): |
|
199 | 199 | """ |
|
200 | 200 | METODO PARA VERIFICAR SI LA RUTA EXISTE-VAR_DIR |
|
201 | 201 | VARIABLE DIRECCION |
|
202 | 202 | """ |
|
203 | 203 | if os.path.isdir(var_dir): |
|
204 | 204 | return True |
|
205 | 205 | else: |
|
206 | 206 | self.textEdit.append("Incorrect path:" + str(var_dir)) |
|
207 | 207 | return False |
|
208 | 208 | |
|
209 | 209 | def loadDays(self): |
|
210 | 210 | """ |
|
211 | 211 | METODO PARA CARGAR LOS DIAS |
|
212 | 212 | """ |
|
213 | 213 | self.variableList=[] |
|
214 | 214 | self.starDateCmbBox.clear() |
|
215 | 215 | self.endDateCmbBox.clear() |
|
216 | 216 | |
|
217 | 217 | Dirlist = os.listdir(self.dataPath) |
|
218 | 218 | Dirlist.sort() |
|
219 | 219 | |
|
220 | 220 | for a in range(0, len(Dirlist)): |
|
221 | 221 | fname= Dirlist[a] |
|
222 | 222 | Doy=fname[5:8] |
|
223 | 223 | fname = fname[1:5] |
|
224 | 224 | print fname |
|
225 | 225 | fecha=Doy2Date(int(fname),int(Doy)) |
|
226 | 226 | fechaList=fecha.change2date() |
|
227 | 227 | #print fechaList[0] |
|
228 | 228 | Dirlist[a]=fname+"/"+str(fechaList[0])+"/"+str(fechaList[1]) |
|
229 | 229 | #+"-"+ fechaList[0]+"-"+fechaList[1] |
|
230 | 230 | |
|
231 | 231 | #---------------AQUI TIENE QUE SER MODIFICADO--------# |
|
232 | 232 | |
|
233 | 233 | #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) |
|
234 | 234 | for i in range(0, (len(Dirlist))): |
|
235 | 235 | self.variableList.append(Dirlist[i]) |
|
236 | 236 | |
|
237 | 237 | for i in self.variableList: |
|
238 | 238 | self.starDateCmbBox.addItem(i) |
|
239 | 239 | self.endDateCmbBox.addItem(i) |
|
240 | 240 | self.endDateCmbBox.setCurrentIndex(self.starDateCmbBox.count()-1) |
|
241 | 241 | |
|
242 | 242 | self.getsubList() |
|
243 | 243 | self.dataOkBtn.setEnabled(True) |
|
244 | 244 | |
|
245 | 245 | def getsubList(self): |
|
246 | 246 | """ |
|
247 | 247 | OBTIENE EL RANDO DE LAS FECHAS SELECCIONADAS |
|
248 | 248 | """ |
|
249 | 249 | self.subList=[] |
|
250 | 250 | for i in self.variableList[self.starDateCmbBox.currentIndex():self.starDateCmbBox.currentIndex() + self.endDateCmbBox.currentIndex()+1]: |
|
251 | 251 | self.subList.append(i) |
|
252 | 252 | |
|
253 | 253 | @pyqtSignature("") |
|
254 | 254 | def on_dataPathBrowse_clicked(self): |
|
255 | 255 | """ |
|
256 | 256 | OBTENCION DE LA RUTA DE DATOS |
|
257 | 257 | """ |
|
258 | 258 | self.dataPath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) |
|
259 | 259 | self.dataPathTxt.setText(self.dataPath) |
|
260 | 260 | self.statusDpath=self.existDir(self.dataPath) |
|
261 | 261 | self.loadDays() |
|
262 | 262 | |
|
263 | 263 | @pyqtSignature("int") |
|
264 | 264 | def on_starDateCmbBox_activated(self, index): |
|
265 | 265 | """ |
|
266 | 266 | SELECCION DEL RANGO DE FECHAS -STAR DATE |
|
267 | 267 | """ |
|
268 | 268 | var_StopDay_index=self.endDateCmbBox.count() - self.endDateCmbBox.currentIndex() |
|
269 | 269 | self.endDateCmbBox.clear() |
|
270 | 270 | for i in self.variableList[index:]: |
|
271 | 271 | self.endDateCmbBox.addItem(i) |
|
272 | 272 | self.endDateCmbBox.setCurrentIndex(self.endDateCmbBox.count() - var_StopDay_index) |
|
273 | 273 | self.getsubList() |
|
274 | 274 | |
|
275 | 275 | @pyqtSignature("int") |
|
276 | 276 | def on_endDateCmbBox_activated(self, index): |
|
277 | 277 | """ |
|
278 | 278 | SELECCION DEL RANGO DE FECHAS-END DATE |
|
279 | 279 | """ |
|
280 | 280 | var_StartDay_index=self.starDateCmbBox.currentIndex() |
|
281 | 281 | var_end_index = self.endDateCmbBox.count() - index |
|
282 | 282 | self.starDateCmbBox.clear() |
|
283 | 283 | for i in self.variableList[:len(self.variableList) - var_end_index + 1]: |
|
284 | 284 | self.starDateCmbBox.addItem(i) |
|
285 | 285 | self.starDateCmbBox.setCurrentIndex(var_StartDay_index) |
|
286 | 286 | self.getsubList() #Se carga var_sublist[] con el rango de las fechas seleccionadas |
|
287 | 287 | |
|
288 | 288 | @pyqtSignature("int") |
|
289 | 289 | def on_readModeCmBox_activated(self, p0): |
|
290 | 290 | """ |
|
291 | 291 | Slot documentation goes here. |
|
292 | 292 | """ |
|
293 | 293 | if p0==0: |
|
294 | 294 | self.online=0 |
|
295 | 295 | elif p0==1: |
|
296 | 296 | self.online=1 |
|
297 | 297 | |
|
298 | 298 | @pyqtSignature("") |
|
299 | 299 | def on_dataOkBtn_clicked(self): |
|
300 | 300 | """ |
|
301 | 301 | Slot documentation goes here. |
|
302 | 302 | """ |
|
303 | 303 | print "En este nivel se pasa el tipo de dato con el que se trabaja,path,startDate,endDate,startTime,endTime,online" |
|
304 | 304 | |
|
305 | 305 | projectObj=self.proObjList[int(self.proConfCmbBox.currentIndex())] |
|
306 | 306 | datatype=str(self.dataTypeCmbBox.currentText()) |
|
307 | 307 | path=str(self.dataPathTxt.text()) |
|
308 | 308 | online=int(self.online) |
|
309 | 309 | starDate=str(self.starDateCmbBox.currentText()) |
|
310 | 310 | endDate=str(self.endDateCmbBox.currentText()) |
|
311 | 311 | |
|
312 | 312 | |
|
313 | 313 | self.readUnitConfObj = projectObj.addReadUnit(datatype=datatype, |
|
314 | 314 | path=path, |
|
315 | 315 | startDate=starDate, |
|
316 | 316 | endDate=endDate, |
|
317 | 317 | startTime='06:10:00', |
|
318 | 318 | endTime='23:59:59', |
|
319 | 319 | online=online) |
|
320 | 320 | |
|
321 | 321 | self.readUnitConfObjList.append(self.readUnitConfObj) |
|
322 | 322 | |
|
323 | 323 | print "self.readUnitConfObj.getId",self.readUnitConfObj.getId(),datatype,path,starDate,endDate,online |
|
324 | 324 | |
|
325 | 325 | |
|
326 | 326 | self.model_2=treeModel() |
|
327 | 327 | |
|
328 | 328 | self.model_2.setParams(name=projectObj.name+str(projectObj.id), |
|
329 | 329 | directorio=path, |
|
330 | 330 | workspace="C:\\WorkspaceGUI", |
|
331 | 331 | remode=str(self.readModeCmBox.currentText()), |
|
332 | 332 | dataformat=datatype, |
|
333 | 333 | date=str(starDate)+"-"+str(endDate), |
|
334 | 334 | initTime='06:10:00', |
|
335 | 335 | endTime='23:59:59', |
|
336 | 336 | timezone="Local" , |
|
337 | 337 | Summary="test de prueba") |
|
338 | 338 | self.model_2.arbol() |
|
339 | 339 | self.treeView_2.setModel(self.model_2) |
|
340 | 340 | self.treeView_2.expandAll() |
|
341 | 341 | |
|
342 | 342 | |
|
343 | 343 | @pyqtSignature("") |
|
344 | 344 | def on_addUnitProces_clicked(self): |
|
345 | 345 | """ |
|
346 | 346 | Slot documentation goes here. |
|
347 | 347 | """ |
|
348 | 348 | # print "En este nivel se adiciona una rama de procesamiento, y se le concatena con el id" |
|
349 | 349 | # self.procUnitConfObj0 = self.projectObj.addProcUnit(datatype='Voltage', inputId=self.readUnitConfObj.getId()) |
|
350 | 350 | self.showUp() |
|
351 | 351 | |
|
352 | 352 | def showUp(self): |
|
353 | 353 | |
|
354 | 354 | self.configUP=UnitProcess(self) |
|
355 | 355 | for i in self.proObjList: |
|
356 | 356 | self.configUP.getfromWindowList.append(i) |
|
357 | 357 | #print i |
|
358 | 358 | for i in self.upObjList: |
|
359 | 359 | self.configUP.getfromWindowList.append(i) |
|
360 | 360 | self.configUP.loadTotalList() |
|
361 | 361 | self.configUP.show() |
|
362 | 362 | self.configUP.unitPsavebut.clicked.connect(self.reciveUPparameters) |
|
363 | 363 | self.configUP.closed.connect(self.createUP) |
|
364 | 364 | |
|
365 | 365 | def reciveUPparameters(self): |
|
366 | 366 | |
|
367 | 367 | self.uporProObjRecover,self.upType=self.configUP.almacena() |
|
368 | 368 | |
|
369 | 369 | |
|
370 | 370 | def createUP(self): |
|
371 | 371 | print "En este nivel se adiciona una rama de procesamiento, y se le concatena con el id" |
|
372 | 372 | projectObj=self.proObjList[int(self.proConfCmbBox.currentIndex())] |
|
373 | 373 | |
|
374 | 374 | datatype=str(self.upType) |
|
375 | 375 | uporprojectObj=self.uporProObjRecover |
|
376 | 376 | #+++++++++++LET FLY+++++++++++# |
|
377 | 377 | if uporprojectObj.getElementName()=='ProcUnit': |
|
378 | 378 | inputId=uporprojectObj.getId() |
|
379 | 379 | elif uporprojectObj.getElementName()=='Project': |
|
380 | 380 | inputId=self.readUnitConfObjList[uporprojectObj.id-1].getId() |
|
381 | 381 | |
|
382 | 382 | |
|
383 | 383 | self.procUnitConfObj1 = projectObj.addProcUnit(datatype=datatype, inputId=inputId) |
|
384 | 384 | self.upObjList.append(self.procUnitConfObj1) |
|
385 | 385 | print inputId |
|
386 | 386 | print self.procUnitConfObj1.getId() |
|
387 | 387 | self.parentItem=uporprojectObj.arbol |
|
388 | 388 | self.numbertree=int(self.procUnitConfObj1.getId())-1 |
|
389 | 389 | self.procUnitConfObj1.arbol=QtGui.QStandardItem(QtCore.QString(datatype +"%1 ").arg(self.numbertree)) |
|
390 | 390 | self.parentItem.appendRow(self.procUnitConfObj1.arbol) |
|
391 | 391 | self.parentItem=self.procUnitConfObj1.arbol |
|
392 | 392 | self.loadUp() |
|
393 | 393 | self.treeView.expandAll() |
|
394 | 394 | |
|
395 | 395 | def loadUp(self): |
|
396 | 396 | self.addOpUpselec.clear() |
|
397 | 397 | self.addOpSpecUpselec.clear() |
|
398 | 398 | for i in self.upObjList: |
|
399 | 399 | if i.datatype=='Voltage': |
|
400 | 400 | self.upObjVolList.append(i) |
|
401 | 401 | name=i.getElementName() |
|
402 | 402 | id=int(i.id)-1 |
|
403 | 403 | self.addOpUpselec.addItem(name+str(id)) |
|
404 | 404 | if i.datatype=='Spectra': |
|
405 | 405 | self.upobjSpecList.append(i) |
|
406 | 406 | name=i.getElementName() |
|
407 | 407 | id=int(i.id)-1 |
|
408 | 408 | self.addOpSpecUpselec.addItem(name+str(id)) |
|
409 | 409 | |
|
410 | 410 | self.resetopVolt() |
|
411 | 411 | self.resetopSpec() |
|
412 | 412 | |
|
413 | 413 | |
|
414 | 414 | @pyqtSignature("int") |
|
415 | 415 | def on_selecChannelopVolCEB_stateChanged(self, p0): |
|
416 | 416 | """ |
|
417 | 417 | Slot documentation goes here. |
|
418 | 418 | """ |
|
419 | 419 | if p0==2: |
|
420 | 420 | self.numberChannelopVol.setEnabled(True) |
|
421 | 421 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
422 | 422 | opObj10=upProcessSelect.addOperation(name='selectChannels') |
|
423 | 423 | print opObj10.id |
|
424 | 424 | self.operObjList.append(opObj10) |
|
425 | 425 | print " Ingresa seleccion de Canales" |
|
426 | 426 | if p0==0: |
|
427 | 427 | print " deshabilitado" |
|
428 | 428 | |
|
429 | 429 | @pyqtSignature("int") |
|
430 | 430 | def on_selecHeighopVolCEB_stateChanged(self, p0): |
|
431 | 431 | """ |
|
432 | 432 | Slot documentation goes here. |
|
433 | 433 | """ |
|
434 | 434 | if p0==2: |
|
435 | 435 | self.lineHeighProfileTxtopVol.setEnabled(True) |
|
436 | 436 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
437 | 437 | opObj10=upProcessSelect.addOperation(name='selectHeights') |
|
438 | 438 | print opObj10.id |
|
439 | 439 | self.operObjList.append(opObj10) |
|
440 | 440 | print " Select Type of Profile" |
|
441 | 441 | if p0==0: |
|
442 | 442 | print " deshabilitado" |
|
443 | 443 | |
|
444 | 444 | |
|
445 | 445 | @pyqtSignature("int") |
|
446 | 446 | def on_profileSelecopVolCEB_stateChanged(self, p0): |
|
447 | 447 | """ |
|
448 | 448 | Slot documentation goes here. |
|
449 | 449 | """ |
|
450 | 450 | if p0==2: |
|
451 | 451 | self.lineProfileSelecopVolCEB.setEnabled(True) |
|
452 | 452 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
453 | 453 | opObj10=upProcessSelect.addOperation(name='ProfileSelector', optype='other') |
|
454 | 454 | print opObj10.id |
|
455 | 455 | self.operObjList.append(opObj10) |
|
456 | 456 | print " Select Type of Profile" |
|
457 | 457 | if p0==0: |
|
458 | 458 | print " deshabilitado" |
|
459 | 459 | |
|
460 | 460 | |
|
461 | 461 | @pyqtSignature("int") |
|
462 | 462 | def on_coherentIntegrationCEB_stateChanged(self, p0): |
|
463 | 463 | """ |
|
464 | 464 | Slot documentation goes here. |
|
465 | 465 | """ |
|
466 | 466 | if p0==2: |
|
467 | 467 | self.numberIntegration.setEnabled(True) |
|
468 | 468 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
469 | 469 | opObj10=upProcessSelect.addOperation(name='CohInt', optype='other') |
|
470 | 470 | print opObj10.id |
|
471 | 471 | self.operObjList.append(opObj10) |
|
472 | 472 | print "Choose number of Cohint" |
|
473 | 473 | if p0==0: |
|
474 | 474 | print " deshabilitado" |
|
475 | 475 | self.numberChannelopVol.setEnabled(False) |
|
476 | 476 | |
|
477 | 477 | def resetopVolt(self): |
|
478 | 478 | self.selecChannelopVolCEB.setChecked(False) |
|
479 | 479 | self.selecHeighopVolCEB.setChecked(False) |
|
480 | 480 | self.coherentIntegrationCEB.setChecked(False) |
|
481 | 481 | self.profileSelecopVolCEB.setChecked(False) |
|
482 | 482 | #self.selecChannelopVolCEB.setEnabled(False) |
|
483 | 483 | self.lineHeighProfileTxtopVol.clear() |
|
484 | 484 | self.lineProfileSelecopVolCEB.clear() |
|
485 | 485 | self.numberChannelopVol.clear() |
|
486 | 486 | self.numberIntegration.clear() |
|
487 | 487 | |
|
488 | 488 | |
|
489 | 489 | @pyqtSignature("") |
|
490 | 490 | def on_dataopVolOkBtn_clicked(self): |
|
491 | 491 | """ |
|
492 | 492 | Slot documentation goes here. |
|
493 | 493 | """ |
|
494 | 494 | if self.selecChannelopVolCEB.isChecked(): |
|
495 | 495 | for i in self.operObjList: |
|
496 | 496 | if i.name=='selectChannels': |
|
497 | 497 | value=self.numberChannelopVol.text() |
|
498 | 498 | i.addParameter(name='channelList', value=value, format='intlist') |
|
499 | 499 | |
|
500 | 500 | |
|
501 | 501 | print "channel" |
|
502 | 502 | |
|
503 | 503 | if self.selecHeighopVolCEB.isChecked(): |
|
504 | 504 | for i in self.operObjList: |
|
505 | 505 | if i.name=='selectHeights' : |
|
506 | 506 | value=self.lineHeighProfileTxtopVol.text() |
|
507 | 507 | valueList=value.split(',') |
|
508 | 508 | i.addParameter(name='minHei', value=valueList[0], format='float') |
|
509 | 509 | i.addParameter(name='maxHei', value=valueList[1], format='float') |
|
510 | 510 | |
|
511 | 511 | print "height" |
|
512 | 512 | |
|
513 | 513 | |
|
514 | 514 | if self.selecHeighopVolCEB.isChecked(): |
|
515 | 515 | for i in self.operObjList: |
|
516 | 516 | if i.name=='ProfileSelector' : |
|
517 | 517 | value=self.lineProfileSelecopVolCEB.text() |
|
518 | 518 | i.addParameter(name='ProfileSelector', value=value, format='intlist') |
|
519 | 519 | |
|
520 | 520 | |
|
521 | 521 | |
|
522 | 522 | if self.coherentIntegrationCEB.isChecked(): |
|
523 | 523 | for i in self.operObjList: |
|
524 | 524 | if i.name=='CohInt': |
|
525 | 525 | value=self.numberIntegration.text() |
|
526 | 526 | i.addParameter(name='n', value=value, format='int') |
|
527 | 527 | |
|
528 | 528 | |
|
529 | 529 | @pyqtSignature("int") |
|
530 | 530 | def on_nFFTPointOpSpecCEB_stateChanged(self, p0): |
|
531 | 531 | """ |
|
532 | 532 | Slot documentation goes here. |
|
533 | 533 | """ |
|
534 | 534 | if p0==2: |
|
535 | 535 | self.valuenFFTPointOpSpec.setEnabled(True) |
|
536 | 536 | print " nFFTPoint" |
|
537 | 537 | if p0==0: |
|
538 | 538 | print " deshabilitado" |
|
539 | 539 | |
|
540 | 540 | |
|
541 | 541 | def resetopSpec(self): |
|
542 | 542 | self.nFFTPointOpSpecCEB.setChecked(False) |
|
543 | 543 | |
|
544 | 544 | self.valuenFFTPointOpSpec.clear() |
|
545 | 545 | |
|
546 | 546 | |
|
547 | 547 | @pyqtSignature("") |
|
548 | 548 | def on_dataopSpecOkBtn_clicked(self): |
|
549 | 549 | """ |
|
550 | 550 | Slot documentation goes here. |
|
551 | 551 | """ |
|
552 |
print "A |
|
|
552 | print "Añadimos operaciones Spectra,nchannels,value,format" | |
|
553 | 553 | if self.nFFTPointOpSpecCEB.isChecked(): |
|
554 | 554 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
555 | 555 | value=self.valuenFFTPointOpSpec.text() |
|
556 | 556 | upProcessSelect.addParameter(name='nFFTPoints',value=value,format='int') |
|
557 | 557 | |
|
558 | 558 | @pyqtSignature("int") |
|
559 | 559 | def on_SpectraPlotGraphCEB_stateChanged(self, p0): |
|
560 | 560 | """ |
|
561 | 561 | Slot documentation goes here. |
|
562 | 562 | """ |
|
563 | 563 | if p0==2: |
|
564 | 564 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
565 | 565 | opObj10=upProcessSelect.addOperation(name='SpectraPlot',optype='other') |
|
566 | 566 | print opObj10.id |
|
567 | 567 | self.operObjList.append(opObj10) |
|
568 | 568 | |
|
569 | 569 | if p0==0: |
|
570 | 570 | print " deshabilitado" |
|
571 | 571 | |
|
572 | 572 | @pyqtSignature("int") |
|
573 | 573 | def on_CrossSpectraPlotGraphceb_stateChanged(self, p0): |
|
574 | 574 | """ |
|
575 | 575 | Slot documentation goes here. |
|
576 | 576 | """ |
|
577 | 577 | if p0==2: |
|
578 | 578 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
579 | 579 | opObj10=upProcessSelect.addOperation(name='CrossSpectraPlot',optype='other') |
|
580 | 580 | print opObj10.id |
|
581 | 581 | self.operObjList.append(opObj10) |
|
582 | 582 | if p0==0: |
|
583 | 583 | print " deshabilitado" |
|
584 | 584 | |
|
585 | 585 | @pyqtSignature("int") |
|
586 | 586 | def on_RTIPlotGraphCEB_stateChanged(self, p0): |
|
587 | 587 | """ |
|
588 | 588 | Slot documentation goes here. |
|
589 | 589 | """ |
|
590 | 590 | if p0==2: |
|
591 | 591 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
592 | 592 | opObj10=upProcessSelect.addOperation(name='RTIPlot',optype='other') |
|
593 | 593 | print opObj10.id |
|
594 | 594 | self.operObjList.append(opObj10) |
|
595 | 595 | if p0==0: |
|
596 | 596 | print " deshabilitado" |
|
597 | 597 | |
|
598 | 598 | |
|
599 | 599 | def resetgraphSpec(self): |
|
600 | 600 | self.SpectraPlotGraphCEB.setChecked(False) |
|
601 | 601 | self.CrossSpectraPlotGraphceb.setChecked(False) |
|
602 | 602 | self.RTIPlotGraphCEB.setChecked(False) |
|
603 | 603 | |
|
604 | 604 | @pyqtSignature("") |
|
605 | 605 | def on_dataGraphSpecOkBtn_clicked(self): |
|
606 | 606 | """ |
|
607 | 607 | Slot documentation goes here. |
|
608 | 608 | """ |
|
609 | 609 | print "Graficar Spec op" |
|
610 | 610 | if self.SpectraPlotGraphCEB.isChecked(): |
|
611 | 611 | for i in self.operObjList: |
|
612 | 612 | if i.name=='SpectraPlot': |
|
613 | 613 | i.addParameter(name='idfigure', value='1', format='int') |
|
614 | 614 | i.addParameter(name='wintitle', value='SpectraPlot0', format='str') |
|
615 | 615 | i.addParameter(name='zmin', value='40', format='int') |
|
616 | 616 | i.addParameter(name='zmax', value='90', format='int') |
|
617 | 617 | i.addParameter(name='showprofile', value='1', format='int') |
|
618 | 618 | |
|
619 | 619 | if self.CrossSpectraPlotGraphceb.isChecked(): |
|
620 | 620 | for i in self.operObjList: |
|
621 | 621 | if i.name=='CrossSpectraPlot' : |
|
622 | 622 | i.addParameter(name='idfigure', value='2', format='int') |
|
623 | 623 | i.addParameter(name='wintitle', value='CrossSpectraPlot', format='str') |
|
624 | 624 | i.addParameter(name='zmin', value='40', format='int') |
|
625 | 625 | i.addParameter(name='zmax', value='90', format='int') |
|
626 | 626 | |
|
627 | 627 | if self.RTIPlotGraphCEB.isChecked(): |
|
628 | 628 | for i in self.operObjList: |
|
629 | 629 | if i.name=='RTIPlot': |
|
630 | 630 | i.addParameter(name='n', value='2', format='int') |
|
631 | 631 | i.addParameter(name='overlapping', value='1', format='int') |
|
632 | 632 | |
|
633 | 633 | @pyqtSignature("") |
|
634 | 634 | def on_actionguardarObj_triggered(self): |
|
635 | 635 | """ |
|
636 | 636 | GUARDAR EL ARCHIVO DE CONFIGURACION XML |
|
637 | 637 | """ |
|
638 | 638 | if self.idp==1: |
|
639 | 639 | self.valuep=1 |
|
640 | 640 | |
|
641 | 641 | print "Escribiendo el archivo XML" |
|
642 | 642 | filename="C:\\WorkspaceGUI\\CONFIG"+str(self.valuep)+".xml" |
|
643 | 643 | self.projectObj=self.proObjList[int(self.valuep)-1] |
|
644 | 644 | self.projectObj.writeXml(filename) |
|
645 | 645 | |
|
646 | 646 | |
|
647 | 647 | class BasicWindow(MainWindow): |
|
648 | 648 | |
|
649 | 649 | def __init__(self): |
|
650 | 650 | pass |
|
651 | 651 | |
|
652 | 652 | class AdvancedWindow(MainWindow): |
|
653 | 653 | |
|
654 | 654 | def __init__(self): |
|
655 | 655 | pass |
|
656 | 656 | |
|
657 | 657 | |
|
658 | 658 | |
|
659 | 659 | class ProjectWindow(QMainWindow, Ui_window): |
|
660 | 660 | """ |
|
661 | 661 | Class documentation goes here. |
|
662 | 662 | """ |
|
663 | 663 | closed = pyqtSignal() |
|
664 | 664 | |
|
665 | 665 | create = False |
|
666 | 666 | name = None |
|
667 | 667 | description = None |
|
668 | 668 | |
|
669 | 669 | |
|
670 | 670 | |
|
671 | 671 | def __init__(self, parent = None): |
|
672 | 672 | """ |
|
673 | 673 | Constructor |
|
674 | 674 | """ |
|
675 | 675 | QMainWindow.__init__(self, parent) |
|
676 | 676 | self.setupUi(self) |
|
677 | 677 | self.name=None |
|
678 | 678 | |
|
679 | 679 | self.proyectNameLine.setText('My_name_is...') |
|
680 | 680 | self.descriptionTextEdit.setText('Write a description...') |
|
681 | 681 | |
|
682 | 682 | |
|
683 | 683 | @pyqtSignature("") |
|
684 | 684 | def on_cancelButton_clicked(self): |
|
685 | 685 | """ |
|
686 | 686 | Slot documentation goes here. |
|
687 | 687 | """ |
|
688 | 688 | # TODO: not implemented yet |
|
689 | 689 | #raise NotImplementedError |
|
690 | 690 | self.create = False |
|
691 | 691 | self.close() |
|
692 | 692 | |
|
693 | 693 | @pyqtSignature("") |
|
694 | 694 | def on_okButton_clicked(self): |
|
695 | 695 | """ |
|
696 | 696 | Slot documentation goes here. |
|
697 | 697 | """ |
|
698 | 698 | #self.almacena() |
|
699 | 699 | self.create = True |
|
700 | 700 | self.name = str(self.proyectNameLine.text()) |
|
701 | 701 | self.description = str(self.descriptionTextEdit.toPlainText()) |
|
702 | 702 | |
|
703 | 703 | self.close() |
|
704 | 704 | |
|
705 | 705 | # @pyqtSignature("") |
|
706 | 706 | # def on_saveButton_clicked(self): |
|
707 | 707 | # """ |
|
708 | 708 | # Slot documentation goes here. |
|
709 | 709 | # """ |
|
710 | 710 | # self.almacena() |
|
711 | 711 | ## self.close() |
|
712 | 712 | # |
|
713 | 713 | # def almacena(self): |
|
714 | 714 | # #print str(self.proyectNameLine.text()) |
|
715 | 715 | # self.nameproject=str(self.proyectNameLine.text()) |
|
716 | 716 | # self.description=str(self.descriptionTextEdit.toPlainText()) |
|
717 | 717 | # return self.nameproject,self.description |
|
718 | 718 | # |
|
719 | 719 | def closeEvent(self, event): |
|
720 | 720 | self.closed.emit() |
|
721 | 721 | event.accept() |
|
722 | 722 | |
|
723 | 723 | |
|
724 | 724 | class UnitProcess(QMainWindow, Ui_UnitProcess): |
|
725 | 725 | """ |
|
726 | 726 | Class documentation goes here. |
|
727 | 727 | """ |
|
728 | 728 | closed=pyqtSignal() |
|
729 | 729 | def __init__(self, parent = None): |
|
730 | 730 | """ |
|
731 | 731 | Constructor |
|
732 | 732 | """ |
|
733 | 733 | QMainWindow.__init__(self, parent) |
|
734 | 734 | self.setupUi(self) |
|
735 | 735 | self.getFromWindow=None |
|
736 | 736 | self.getfromWindowList=[] |
|
737 | 737 | |
|
738 | 738 | self.listUP=None |
|
739 | 739 | |
|
740 | 740 | def loadTotalList(self): |
|
741 | 741 | self.comboInputBox.clear() |
|
742 | 742 | for i in self.getfromWindowList: |
|
743 | 743 | name=i.getElementName() |
|
744 | 744 | id= i.id |
|
745 | 745 | if i.getElementName()=='ProcUnit': |
|
746 | 746 | id=int(i.id)-1 |
|
747 | 747 | self.comboInputBox.addItem(str(name)+str(id)) |
|
748 | 748 | |
|
749 | 749 | @pyqtSignature("QString") |
|
750 | 750 | def on_comboInputBox_activated(self, p0): |
|
751 | 751 | """ |
|
752 | 752 | Slot documentation goes here. |
|
753 | 753 | """ |
|
754 | 754 | |
|
755 | 755 | # TODO: not implemented yet |
|
756 | 756 | #raise NotImplementedError |
|
757 | 757 | |
|
758 | 758 | @pyqtSignature("QString") |
|
759 | 759 | def on_comboTypeBox_activated(self, p0): |
|
760 | 760 | """ |
|
761 | 761 | Slot documentation goes here. |
|
762 | 762 | """ |
|
763 | 763 | # TODO: not implemented yet |
|
764 | 764 | #raise NotImplementedError |
|
765 | 765 | |
|
766 | 766 | @pyqtSignature("") |
|
767 | 767 | def on_unitPokbut_clicked(self): |
|
768 | 768 | """ |
|
769 | 769 | Slot documentation goes here. |
|
770 | 770 | """ |
|
771 | 771 | self.close() |
|
772 | 772 | |
|
773 | 773 | @pyqtSignature("") |
|
774 | 774 | def on_unitPsavebut_clicked(self): |
|
775 | 775 | """ |
|
776 | 776 | Slot documentation goes here. |
|
777 | 777 | """ |
|
778 | 778 | |
|
779 | 779 | print "alex" |
|
780 | 780 | self.almacena() |
|
781 | 781 | |
|
782 | 782 | @pyqtSignature("") |
|
783 | 783 | def on_unitPcancelbut_clicked(self): |
|
784 | 784 | """ |
|
785 | 785 | Slot documentation goes here. |
|
786 | 786 | """ |
|
787 | 787 | # TODO: not implemented yet |
|
788 | 788 | #raise NotImplementedError |
|
789 | 789 | self.hide() |
|
790 | 790 | |
|
791 | 791 | def almacena(self): |
|
792 | 792 | self.getFromWindow=self.getfromWindowList[int(self.comboInputBox.currentIndex())] |
|
793 | 793 | #self.nameofUP= str(self.nameUptxt.text()) |
|
794 | 794 | self.typeofUP= str(self.comboTypeBox.currentText()) |
|
795 | 795 | return self.getFromWindow,self.typeofUP |
|
796 | 796 | |
|
797 | 797 | def closeEvent(self, event): |
|
798 | 798 | self.closed.emit() |
|
799 | 799 | event.accept() |
|
800 | 800 | |
|
801 | 801 | |
|
802 | 802 | |
|
803 | 803 | |
|
804 | 804 | |
|
805 | 805 | |
|
806 | 806 | |
|
807 | 807 | No newline at end of file |
@@ -1,1074 +1,1060 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | ||
|
3 |
# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\MainWindow_N |
|
|
2 | ||
|
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\MainWindow_NEWVER.ui' | |
|
4 | 4 | # |
|
5 |
# Created: Wed Dec 12 1 |
|
|
5 | # Created: Wed Dec 12 17:45:57 2012 | |
|
6 | 6 | # by: PyQt4 UI code generator 4.9.4 |
|
7 | 7 | # |
|
8 | 8 | # WARNING! All changes made in this file will be lost! |
|
9 | 9 | |
|
10 | 10 | from PyQt4 import QtCore, QtGui |
|
11 | 11 | |
|
12 | 12 | try: |
|
13 | 13 | _fromUtf8 = QtCore.QString.fromUtf8 |
|
14 | 14 | except AttributeError: |
|
15 | 15 | _fromUtf8 = lambda s: s |
|
16 | 16 | |
|
17 | 17 | class Ui_MainWindow(object): |
|
18 | 18 | def setupUi(self, MainWindow): |
|
19 | 19 | MainWindow.setObjectName(_fromUtf8("MainWindow")) |
|
20 |
MainWindow.resize(86 |
|
|
20 | MainWindow.resize(866, 587) | |
|
21 | 21 | self.centralWidget = QtGui.QWidget(MainWindow) |
|
22 | 22 | self.centralWidget.setObjectName(_fromUtf8("centralWidget")) |
|
23 | 23 | self.frame_2 = QtGui.QFrame(self.centralWidget) |
|
24 |
self.frame_2.setGeometry(QtCore.QRect(580, 0, 281, 5 |
|
|
24 | self.frame_2.setGeometry(QtCore.QRect(580, 0, 281, 531)) | |
|
25 | 25 | self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) |
|
26 | 26 | self.frame_2.setFrameShadow(QtGui.QFrame.Plain) |
|
27 | 27 | self.frame_2.setObjectName(_fromUtf8("frame_2")) |
|
28 | 28 | self.frame_6 = QtGui.QFrame(self.frame_2) |
|
29 | 29 | self.frame_6.setGeometry(QtCore.QRect(10, 10, 261, 31)) |
|
30 | 30 | self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel) |
|
31 | 31 | self.frame_6.setFrameShadow(QtGui.QFrame.Plain) |
|
32 | 32 | self.frame_6.setObjectName(_fromUtf8("frame_6")) |
|
33 | 33 | self.label_46 = QtGui.QLabel(self.frame_6) |
|
34 | 34 | self.label_46.setGeometry(QtCore.QRect(70, 0, 125, 21)) |
|
35 | 35 | font = QtGui.QFont() |
|
36 | 36 | font.setPointSize(11) |
|
37 | 37 | self.label_46.setFont(font) |
|
38 | 38 | self.label_46.setObjectName(_fromUtf8("label_46")) |
|
39 | 39 | self.treeView_2 = QtGui.QTreeView(self.frame_2) |
|
40 |
self.treeView_2.setGeometry(QtCore.QRect(10, 50, 261, 4 |
|
|
40 | self.treeView_2.setGeometry(QtCore.QRect(10, 50, 261, 471)) | |
|
41 | 41 | self.treeView_2.setObjectName(_fromUtf8("treeView_2")) |
|
42 | 42 | self.frame = QtGui.QFrame(self.centralWidget) |
|
43 |
self.frame.setGeometry(QtCore.QRect(0, 0, 251, 5 |
|
|
43 | self.frame.setGeometry(QtCore.QRect(0, 0, 251, 531)) | |
|
44 | 44 | self.frame.setFrameShape(QtGui.QFrame.StyledPanel) |
|
45 | 45 | self.frame.setFrameShadow(QtGui.QFrame.Plain) |
|
46 | 46 | self.frame.setObjectName(_fromUtf8("frame")) |
|
47 | 47 | self.frame_9 = QtGui.QFrame(self.frame) |
|
48 | 48 | self.frame_9.setGeometry(QtCore.QRect(10, 10, 231, 61)) |
|
49 | 49 | self.frame_9.setFrameShape(QtGui.QFrame.StyledPanel) |
|
50 | 50 | self.frame_9.setFrameShadow(QtGui.QFrame.Plain) |
|
51 | 51 | self.frame_9.setObjectName(_fromUtf8("frame_9")) |
|
52 | 52 | self.label = QtGui.QLabel(self.frame_9) |
|
53 | 53 | self.label.setGeometry(QtCore.QRect(70, 0, 101, 31)) |
|
54 | 54 | font = QtGui.QFont() |
|
55 | 55 | font.setPointSize(11) |
|
56 | 56 | self.label.setFont(font) |
|
57 | 57 | self.label.setObjectName(_fromUtf8("label")) |
|
58 | self.addpBtn = QtGui.QPushButton(self.frame_9) | |
|
59 | self.addpBtn.setGeometry(QtCore.QRect(10, 30, 101, 23)) | |
|
60 | self.addpBtn.setObjectName(_fromUtf8("addpBtn")) | |
|
58 | self.addprojectBtn = QtGui.QPushButton(self.frame_9) | |
|
59 | self.addprojectBtn.setGeometry(QtCore.QRect(10, 30, 101, 23)) | |
|
60 | self.addprojectBtn.setObjectName(_fromUtf8("addprojectBtn")) | |
|
61 | 61 | self.addUnitProces = QtGui.QPushButton(self.frame_9) |
|
62 | 62 | self.addUnitProces.setGeometry(QtCore.QRect(120, 30, 101, 23)) |
|
63 | 63 | self.addUnitProces.setObjectName(_fromUtf8("addUnitProces")) |
|
64 | 64 | self.treeView = QtGui.QTreeView(self.frame) |
|
65 |
self.treeView.setGeometry(QtCore.QRect(10, 80, 231, 4 |
|
|
65 | self.treeView.setGeometry(QtCore.QRect(10, 80, 231, 441)) | |
|
66 | 66 | self.treeView.setObjectName(_fromUtf8("treeView")) |
|
67 | 67 | self.frame_7 = QtGui.QFrame(self.centralWidget) |
|
68 |
self.frame_7.setGeometry(QtCore.QRect(250, 0, 331, 5 |
|
|
68 | self.frame_7.setGeometry(QtCore.QRect(250, 0, 331, 531)) | |
|
69 | 69 | self.frame_7.setFrameShape(QtGui.QFrame.StyledPanel) |
|
70 | 70 | self.frame_7.setFrameShadow(QtGui.QFrame.Plain) |
|
71 | 71 | self.frame_7.setObjectName(_fromUtf8("frame_7")) |
|
72 | self.tabWidget = QtGui.QTabWidget(self.frame_7) | |
|
73 | self.tabWidget.setGeometry(QtCore.QRect(10, 10, 311, 381)) | |
|
72 | self.tabWidgetProject = QtGui.QTabWidget(self.frame_7) | |
|
73 | self.tabWidgetProject.setEnabled(True) | |
|
74 | self.tabWidgetProject.setGeometry(QtCore.QRect(10, 10, 311, 391)) | |
|
74 | 75 | font = QtGui.QFont() |
|
75 | 76 | font.setPointSize(10) |
|
76 | self.tabWidget.setFont(font) | |
|
77 | self.tabWidget.setObjectName(_fromUtf8("tabWidget")) | |
|
77 | self.tabWidgetProject.setFont(font) | |
|
78 | self.tabWidgetProject.setObjectName(_fromUtf8("tabWidgetProject")) | |
|
78 | 79 | self.tab_5 = QtGui.QWidget() |
|
79 | 80 | self.tab_5.setObjectName(_fromUtf8("tab_5")) |
|
80 | 81 | self.frame_5 = QtGui.QFrame(self.tab_5) |
|
81 |
self.frame_5.setGeometry(QtCore.QRect(10, 1 |
|
|
82 | self.frame_5.setGeometry(QtCore.QRect(10, 130, 281, 31)) | |
|
82 | 83 | font = QtGui.QFont() |
|
83 | 84 | font.setPointSize(10) |
|
84 | 85 | self.frame_5.setFont(font) |
|
85 | 86 | self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel) |
|
86 | 87 | self.frame_5.setFrameShadow(QtGui.QFrame.Plain) |
|
87 | 88 | self.frame_5.setObjectName(_fromUtf8("frame_5")) |
|
88 | 89 | self.label_55 = QtGui.QLabel(self.frame_5) |
|
89 | 90 | self.label_55.setGeometry(QtCore.QRect(10, 10, 72, 16)) |
|
90 | 91 | font = QtGui.QFont() |
|
91 | 92 | font.setPointSize(10) |
|
92 | 93 | self.label_55.setFont(font) |
|
93 | 94 | self.label_55.setObjectName(_fromUtf8("label_55")) |
|
94 | 95 | self.readModeCmBox = QtGui.QComboBox(self.frame_5) |
|
95 | 96 | self.readModeCmBox.setGeometry(QtCore.QRect(90, 10, 71, 16)) |
|
96 | 97 | font = QtGui.QFont() |
|
97 | 98 | font.setPointSize(10) |
|
98 | 99 | self.readModeCmBox.setFont(font) |
|
99 | 100 | self.readModeCmBox.setObjectName(_fromUtf8("readModeCmBox")) |
|
100 | 101 | self.readModeCmBox.addItem(_fromUtf8("")) |
|
101 | 102 | self.readModeCmBox.addItem(_fromUtf8("")) |
|
102 | 103 | self.dataWaitLine = QtGui.QLabel(self.frame_5) |
|
103 | 104 | self.dataWaitLine.setGeometry(QtCore.QRect(170, 10, 61, 20)) |
|
104 | 105 | font = QtGui.QFont() |
|
105 | 106 | font.setPointSize(10) |
|
106 | 107 | self.dataWaitLine.setFont(font) |
|
107 | 108 | self.dataWaitLine.setObjectName(_fromUtf8("dataWaitLine")) |
|
108 | 109 | self.dataWaitTxt = QtGui.QLineEdit(self.frame_5) |
|
109 | 110 | self.dataWaitTxt.setGeometry(QtCore.QRect(240, 10, 31, 16)) |
|
110 | 111 | self.dataWaitTxt.setObjectName(_fromUtf8("dataWaitTxt")) |
|
111 | 112 | self.frame_4 = QtGui.QFrame(self.tab_5) |
|
112 |
self.frame_4.setGeometry(QtCore.QRect(10, |
|
|
113 | self.frame_4.setGeometry(QtCore.QRect(10, 60, 281, 61)) | |
|
113 | 114 | self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel) |
|
114 | 115 | self.frame_4.setFrameShadow(QtGui.QFrame.Plain) |
|
115 | 116 | self.frame_4.setObjectName(_fromUtf8("frame_4")) |
|
116 | 117 | self.dataTypeLine = QtGui.QLabel(self.frame_4) |
|
117 | 118 | self.dataTypeLine.setGeometry(QtCore.QRect(10, 10, 81, 16)) |
|
118 | 119 | font = QtGui.QFont() |
|
119 | 120 | font.setPointSize(10) |
|
120 | 121 | self.dataTypeLine.setFont(font) |
|
121 | 122 | self.dataTypeLine.setObjectName(_fromUtf8("dataTypeLine")) |
|
122 | 123 | self.dataPathline = QtGui.QLabel(self.frame_4) |
|
123 | 124 | self.dataPathline.setGeometry(QtCore.QRect(10, 40, 81, 19)) |
|
124 | 125 | font = QtGui.QFont() |
|
125 | 126 | font.setPointSize(10) |
|
126 | 127 | self.dataPathline.setFont(font) |
|
127 | 128 | self.dataPathline.setObjectName(_fromUtf8("dataPathline")) |
|
128 | 129 | self.dataTypeCmbBox = QtGui.QComboBox(self.frame_4) |
|
129 | 130 | self.dataTypeCmbBox.setGeometry(QtCore.QRect(80, 10, 141, 21)) |
|
130 | 131 | font = QtGui.QFont() |
|
131 | 132 | font.setPointSize(10) |
|
132 | 133 | self.dataTypeCmbBox.setFont(font) |
|
133 | 134 | self.dataTypeCmbBox.setObjectName(_fromUtf8("dataTypeCmbBox")) |
|
134 | 135 | self.dataTypeCmbBox.addItem(_fromUtf8("")) |
|
135 | 136 | self.dataTypeCmbBox.addItem(_fromUtf8("")) |
|
136 | 137 | self.dataPathTxt = QtGui.QLineEdit(self.frame_4) |
|
137 | 138 | self.dataPathTxt.setGeometry(QtCore.QRect(80, 40, 161, 16)) |
|
138 | 139 | self.dataPathTxt.setObjectName(_fromUtf8("dataPathTxt")) |
|
139 | 140 | self.dataPathBrowse = QtGui.QPushButton(self.frame_4) |
|
140 |
self.dataPathBrowse.setGeometry(QtCore.QRect(2 |
|
|
141 | self.dataPathBrowse.setGeometry(QtCore.QRect(249, 36, 21, 20)) | |
|
141 | 142 | self.dataPathBrowse.setObjectName(_fromUtf8("dataPathBrowse")) |
|
142 | 143 | self.dataFormatTxt = QtGui.QLineEdit(self.frame_4) |
|
143 | 144 | self.dataFormatTxt.setGeometry(QtCore.QRect(230, 10, 41, 16)) |
|
144 | 145 | self.dataFormatTxt.setObjectName(_fromUtf8("dataFormatTxt")) |
|
145 | 146 | self.frame_3 = QtGui.QFrame(self.tab_5) |
|
146 |
self.frame_3.setGeometry(QtCore.QRect(10, 10, 281, |
|
|
147 | self.frame_3.setGeometry(QtCore.QRect(10, 10, 281, 41)) | |
|
147 | 148 | self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel) |
|
148 | 149 | self.frame_3.setFrameShadow(QtGui.QFrame.Plain) |
|
149 | 150 | self.frame_3.setObjectName(_fromUtf8("frame_3")) |
|
150 | 151 | self.dataOperationModeline = QtGui.QLabel(self.frame_3) |
|
151 |
self.dataOperationModeline.setGeometry(QtCore.QRect(10, 10, 1 |
|
|
152 | self.dataOperationModeline.setGeometry(QtCore.QRect(10, 10, 111, 20)) | |
|
152 | 153 | font = QtGui.QFont() |
|
153 |
font.setPointSize(1 |
|
|
154 | font.setPointSize(12) | |
|
154 | 155 | self.dataOperationModeline.setFont(font) |
|
155 | 156 | self.dataOperationModeline.setObjectName(_fromUtf8("dataOperationModeline")) |
|
156 |
self. |
|
|
157 |
self. |
|
|
158 | font = QtGui.QFont() | |
|
159 | font.setPointSize(10) | |
|
160 | self.proConfCmbBox.setFont(font) | |
|
161 | self.proConfCmbBox.setObjectName(_fromUtf8("proConfCmbBox")) | |
|
157 | self.nameProjectTxt = QtGui.QLineEdit(self.frame_3) | |
|
158 | self.nameProjectTxt.setGeometry(QtCore.QRect(120, 10, 151, 21)) | |
|
159 | self.nameProjectTxt.setObjectName(_fromUtf8("nameProjectTxt")) | |
|
162 | 160 | self.frame_8 = QtGui.QFrame(self.tab_5) |
|
163 |
self.frame_8.setGeometry(QtCore.QRect(10, 1 |
|
|
161 | self.frame_8.setGeometry(QtCore.QRect(10, 170, 281, 81)) | |
|
164 | 162 | self.frame_8.setFrameShape(QtGui.QFrame.StyledPanel) |
|
165 | 163 | self.frame_8.setFrameShadow(QtGui.QFrame.Plain) |
|
166 | 164 | self.frame_8.setObjectName(_fromUtf8("frame_8")) |
|
167 | 165 | self.dataStartLine = QtGui.QLabel(self.frame_8) |
|
168 | 166 | self.dataStartLine.setGeometry(QtCore.QRect(10, 10, 69, 16)) |
|
169 | 167 | font = QtGui.QFont() |
|
170 | 168 | font.setPointSize(10) |
|
171 | 169 | self.dataStartLine.setFont(font) |
|
172 | 170 | self.dataStartLine.setObjectName(_fromUtf8("dataStartLine")) |
|
173 | 171 | self.dataEndline = QtGui.QLabel(self.frame_8) |
|
174 | 172 | self.dataEndline.setGeometry(QtCore.QRect(10, 30, 61, 16)) |
|
175 | 173 | font = QtGui.QFont() |
|
176 | 174 | font.setPointSize(10) |
|
177 | 175 | self.dataEndline.setFont(font) |
|
178 | 176 | self.dataEndline.setObjectName(_fromUtf8("dataEndline")) |
|
179 | 177 | self.starDateCmbBox = QtGui.QComboBox(self.frame_8) |
|
180 | 178 | self.starDateCmbBox.setGeometry(QtCore.QRect(130, 10, 141, 16)) |
|
181 | 179 | self.starDateCmbBox.setObjectName(_fromUtf8("starDateCmbBox")) |
|
182 | 180 | self.endDateCmbBox = QtGui.QComboBox(self.frame_8) |
|
183 | 181 | self.endDateCmbBox.setGeometry(QtCore.QRect(130, 30, 141, 16)) |
|
184 | 182 | self.endDateCmbBox.setObjectName(_fromUtf8("endDateCmbBox")) |
|
185 | 183 | self.LTReferenceRdBtn = QtGui.QRadioButton(self.frame_8) |
|
186 | 184 | self.LTReferenceRdBtn.setGeometry(QtCore.QRect(30, 50, 211, 21)) |
|
187 | 185 | font = QtGui.QFont() |
|
188 | 186 | font.setPointSize(8) |
|
189 | 187 | self.LTReferenceRdBtn.setFont(font) |
|
190 | 188 | self.LTReferenceRdBtn.setObjectName(_fromUtf8("LTReferenceRdBtn")) |
|
191 | 189 | self.dataOkBtn = QtGui.QPushButton(self.tab_5) |
|
192 |
self.dataOkBtn.setGeometry(QtCore.QRect(70, 3 |
|
|
190 | self.dataOkBtn.setGeometry(QtCore.QRect(70, 340, 81, 21)) | |
|
193 | 191 | self.dataOkBtn.setObjectName(_fromUtf8("dataOkBtn")) |
|
194 | 192 | self.dataCancelBtn = QtGui.QPushButton(self.tab_5) |
|
195 |
self.dataCancelBtn.setGeometry(QtCore.QRect(170, 3 |
|
|
193 | self.dataCancelBtn.setGeometry(QtCore.QRect(170, 340, 81, 21)) | |
|
196 | 194 | self.dataCancelBtn.setObjectName(_fromUtf8("dataCancelBtn")) |
|
197 | 195 | self.frame_10 = QtGui.QFrame(self.tab_5) |
|
198 |
self.frame_10.setGeometry(QtCore.QRect(10, 2 |
|
|
196 | self.frame_10.setGeometry(QtCore.QRect(10, 260, 281, 71)) | |
|
199 | 197 | self.frame_10.setFrameShape(QtGui.QFrame.StyledPanel) |
|
200 | 198 | self.frame_10.setFrameShadow(QtGui.QFrame.Plain) |
|
201 | 199 | self.frame_10.setObjectName(_fromUtf8("frame_10")) |
|
202 | 200 | self.dataInitialTimeLine = QtGui.QLabel(self.frame_10) |
|
203 | 201 | self.dataInitialTimeLine.setGeometry(QtCore.QRect(30, 10, 61, 16)) |
|
204 | 202 | font = QtGui.QFont() |
|
205 | 203 | font.setPointSize(9) |
|
206 | 204 | self.dataInitialTimeLine.setFont(font) |
|
207 | 205 | self.dataInitialTimeLine.setObjectName(_fromUtf8("dataInitialTimeLine")) |
|
208 | 206 | self.dataFinelTimeLine = QtGui.QLabel(self.frame_10) |
|
209 | 207 | self.dataFinelTimeLine.setGeometry(QtCore.QRect(30, 40, 61, 16)) |
|
210 | 208 | font = QtGui.QFont() |
|
211 | 209 | font.setPointSize(9) |
|
212 | 210 | self.dataFinelTimeLine.setFont(font) |
|
213 | 211 | self.dataFinelTimeLine.setObjectName(_fromUtf8("dataFinelTimeLine")) |
|
214 | 212 | self.startTimeEdit = QtGui.QTimeEdit(self.frame_10) |
|
215 | 213 | self.startTimeEdit.setGeometry(QtCore.QRect(150, 10, 121, 20)) |
|
216 | 214 | self.startTimeEdit.setObjectName(_fromUtf8("startTimeEdit")) |
|
217 | 215 | self.timeEdit_2 = QtGui.QTimeEdit(self.frame_10) |
|
218 | 216 | self.timeEdit_2.setGeometry(QtCore.QRect(150, 40, 121, 20)) |
|
219 | 217 | self.timeEdit_2.setObjectName(_fromUtf8("timeEdit_2")) |
|
220 | self.tabWidget.addTab(self.tab_5, _fromUtf8("")) | |
|
218 | self.tabWidgetProject.addTab(self.tab_5, _fromUtf8("")) | |
|
221 | 219 | self.tab_7 = QtGui.QWidget() |
|
222 | 220 | self.tab_7.setObjectName(_fromUtf8("tab_7")) |
|
223 |
self.tabWidget |
|
|
224 | self.tabWidget_3.setGeometry(QtCore.QRect(10, 30, 291, 311)) | |
|
225 | self.tabWidget_3.setObjectName(_fromUtf8("tabWidget_3")) | |
|
221 | self.tabWidgetVol = QtGui.QTabWidget(self.tab_7) | |
|
222 | self.tabWidgetVol.setEnabled(True) | |
|
223 | self.tabWidgetVol.setGeometry(QtCore.QRect(10, 10, 291, 331)) | |
|
224 | self.tabWidgetVol.setObjectName(_fromUtf8("tabWidgetVol")) | |
|
226 | 225 | self.tab_3 = QtGui.QWidget() |
|
227 | 226 | self.tab_3.setObjectName(_fromUtf8("tab_3")) |
|
228 | 227 | self.selecChannelopVolCEB = QtGui.QCheckBox(self.tab_3) |
|
229 | 228 | self.selecChannelopVolCEB.setGeometry(QtCore.QRect(10, 10, 121, 21)) |
|
230 | 229 | self.selecChannelopVolCEB.setObjectName(_fromUtf8("selecChannelopVolCEB")) |
|
231 | 230 | self.numberChannelopVol = QtGui.QLineEdit(self.tab_3) |
|
232 | 231 | self.numberChannelopVol.setEnabled(True) |
|
233 | 232 | self.numberChannelopVol.setGeometry(QtCore.QRect(170, 10, 91, 20)) |
|
234 | 233 | self.numberChannelopVol.setObjectName(_fromUtf8("numberChannelopVol")) |
|
235 | 234 | self.selecHeighopVolCEB = QtGui.QCheckBox(self.tab_3) |
|
236 | 235 | self.selecHeighopVolCEB.setGeometry(QtCore.QRect(10, 40, 121, 21)) |
|
237 | 236 | self.selecHeighopVolCEB.setObjectName(_fromUtf8("selecHeighopVolCEB")) |
|
238 | 237 | self.removeDCCEB = QtGui.QCheckBox(self.tab_3) |
|
239 | 238 | self.removeDCCEB.setGeometry(QtCore.QRect(10, 70, 91, 17)) |
|
240 | 239 | font = QtGui.QFont() |
|
241 | 240 | font.setPointSize(10) |
|
242 | 241 | self.removeDCCEB.setFont(font) |
|
243 | 242 | self.removeDCCEB.setObjectName(_fromUtf8("removeDCCEB")) |
|
244 | 243 | self.profileSelecopVolCEB = QtGui.QCheckBox(self.tab_3) |
|
245 | 244 | self.profileSelecopVolCEB.setGeometry(QtCore.QRect(10, 100, 111, 17)) |
|
246 | 245 | self.profileSelecopVolCEB.setObjectName(_fromUtf8("profileSelecopVolCEB")) |
|
247 | 246 | self.decodeCEB = QtGui.QCheckBox(self.tab_3) |
|
248 | 247 | self.decodeCEB.setGeometry(QtCore.QRect(10, 130, 101, 21)) |
|
249 | 248 | font = QtGui.QFont() |
|
250 | 249 | font.setPointSize(10) |
|
251 | 250 | self.decodeCEB.setFont(font) |
|
252 | 251 | self.decodeCEB.setObjectName(_fromUtf8("decodeCEB")) |
|
253 | 252 | self.coherentIntegrationCEB = QtGui.QCheckBox(self.tab_3) |
|
254 | 253 | self.coherentIntegrationCEB.setGeometry(QtCore.QRect(10, 160, 141, 17)) |
|
255 | 254 | font = QtGui.QFont() |
|
256 | 255 | font.setPointSize(10) |
|
257 | 256 | self.coherentIntegrationCEB.setFont(font) |
|
258 | 257 | self.coherentIntegrationCEB.setObjectName(_fromUtf8("coherentIntegrationCEB")) |
|
259 | 258 | self.lineHeighProfileTxtopVol = QtGui.QLineEdit(self.tab_3) |
|
260 | 259 | self.lineHeighProfileTxtopVol.setGeometry(QtCore.QRect(170, 40, 91, 20)) |
|
261 | 260 | self.lineHeighProfileTxtopVol.setObjectName(_fromUtf8("lineHeighProfileTxtopVol")) |
|
262 | 261 | self.removeDCcob = QtGui.QComboBox(self.tab_3) |
|
263 | 262 | self.removeDCcob.setGeometry(QtCore.QRect(170, 70, 91, 20)) |
|
264 | 263 | self.removeDCcob.setObjectName(_fromUtf8("removeDCcob")) |
|
265 | 264 | self.lineProfileSelecopVolCEB = QtGui.QLineEdit(self.tab_3) |
|
266 | 265 | self.lineProfileSelecopVolCEB.setGeometry(QtCore.QRect(170, 100, 91, 20)) |
|
267 | 266 | self.lineProfileSelecopVolCEB.setObjectName(_fromUtf8("lineProfileSelecopVolCEB")) |
|
268 | 267 | self.decodeCcob = QtGui.QComboBox(self.tab_3) |
|
269 | 268 | self.decodeCcob.setGeometry(QtCore.QRect(170, 130, 91, 20)) |
|
270 | 269 | self.decodeCcob.setObjectName(_fromUtf8("decodeCcob")) |
|
271 | 270 | self.numberIntegration = QtGui.QLineEdit(self.tab_3) |
|
272 | 271 | self.numberIntegration.setGeometry(QtCore.QRect(170, 160, 91, 21)) |
|
273 | 272 | self.numberIntegration.setObjectName(_fromUtf8("numberIntegration")) |
|
274 | 273 | self.dataopVolOkBtn = QtGui.QPushButton(self.tab_3) |
|
275 | 274 | self.dataopVolOkBtn.setGeometry(QtCore.QRect(60, 210, 71, 21)) |
|
276 | 275 | self.dataopVolOkBtn.setObjectName(_fromUtf8("dataopVolOkBtn")) |
|
277 | 276 | self.dataopVolCancelBtn = QtGui.QPushButton(self.tab_3) |
|
278 | 277 | self.dataopVolCancelBtn.setGeometry(QtCore.QRect(150, 210, 71, 21)) |
|
279 | 278 | self.dataopVolCancelBtn.setObjectName(_fromUtf8("dataopVolCancelBtn")) |
|
280 |
self.tabWidget |
|
|
279 | self.tabWidgetVol.addTab(self.tab_3, _fromUtf8("")) | |
|
281 | 280 | self.tab_2 = QtGui.QWidget() |
|
282 | 281 | self.tab_2.setObjectName(_fromUtf8("tab_2")) |
|
283 | 282 | self.frame_17 = QtGui.QFrame(self.tab_2) |
|
284 | 283 | self.frame_17.setGeometry(QtCore.QRect(10, 90, 251, 71)) |
|
285 | 284 | self.frame_17.setFrameShape(QtGui.QFrame.StyledPanel) |
|
286 | 285 | self.frame_17.setFrameShadow(QtGui.QFrame.Plain) |
|
287 | 286 | self.frame_17.setObjectName(_fromUtf8("frame_17")) |
|
288 | 287 | self.datalabelGraphicsVol = QtGui.QLabel(self.frame_17) |
|
289 | 288 | self.datalabelGraphicsVol.setGeometry(QtCore.QRect(10, 10, 66, 21)) |
|
290 | 289 | font = QtGui.QFont() |
|
291 | 290 | font.setPointSize(10) |
|
292 | 291 | self.datalabelGraphicsVol.setFont(font) |
|
293 | 292 | self.datalabelGraphicsVol.setObjectName(_fromUtf8("datalabelGraphicsVol")) |
|
294 | 293 | self.dataPotlabelGraphicsVol = QtGui.QLabel(self.frame_17) |
|
295 | 294 | self.dataPotlabelGraphicsVol.setGeometry(QtCore.QRect(10, 30, 66, 21)) |
|
296 | 295 | font = QtGui.QFont() |
|
297 | 296 | font.setPointSize(10) |
|
298 | 297 | self.dataPotlabelGraphicsVol.setFont(font) |
|
299 | 298 | self.dataPotlabelGraphicsVol.setObjectName(_fromUtf8("dataPotlabelGraphicsVol")) |
|
300 | 299 | self.showdataGraphicsVol = QtGui.QCheckBox(self.frame_17) |
|
301 | 300 | self.showdataGraphicsVol.setGeometry(QtCore.QRect(140, 10, 31, 26)) |
|
302 | 301 | self.showdataGraphicsVol.setText(_fromUtf8("")) |
|
303 | 302 | self.showdataGraphicsVol.setObjectName(_fromUtf8("showdataGraphicsVol")) |
|
304 | 303 | self.savedataCEBGraphicsVol = QtGui.QCheckBox(self.frame_17) |
|
305 | 304 | self.savedataCEBGraphicsVol.setGeometry(QtCore.QRect(200, 10, 31, 26)) |
|
306 | 305 | self.savedataCEBGraphicsVol.setText(_fromUtf8("")) |
|
307 | 306 | self.savedataCEBGraphicsVol.setObjectName(_fromUtf8("savedataCEBGraphicsVol")) |
|
308 | 307 | self.showPotCEBGraphicsVol = QtGui.QCheckBox(self.frame_17) |
|
309 | 308 | self.showPotCEBGraphicsVol.setGeometry(QtCore.QRect(140, 30, 31, 26)) |
|
310 | 309 | self.showPotCEBGraphicsVol.setText(_fromUtf8("")) |
|
311 | 310 | self.showPotCEBGraphicsVol.setObjectName(_fromUtf8("showPotCEBGraphicsVol")) |
|
312 | 311 | self.checkBox_18 = QtGui.QCheckBox(self.frame_17) |
|
313 | 312 | self.checkBox_18.setGeometry(QtCore.QRect(200, 30, 31, 26)) |
|
314 | 313 | self.checkBox_18.setText(_fromUtf8("")) |
|
315 | 314 | self.checkBox_18.setObjectName(_fromUtf8("checkBox_18")) |
|
316 | 315 | self.frame_19 = QtGui.QFrame(self.tab_2) |
|
317 | 316 | self.frame_19.setGeometry(QtCore.QRect(10, 170, 251, 61)) |
|
318 | 317 | self.frame_19.setFrameShape(QtGui.QFrame.StyledPanel) |
|
319 | 318 | self.frame_19.setFrameShadow(QtGui.QFrame.Plain) |
|
320 | 319 | self.frame_19.setObjectName(_fromUtf8("frame_19")) |
|
321 | 320 | self.label_13 = QtGui.QLabel(self.frame_19) |
|
322 | 321 | self.label_13.setGeometry(QtCore.QRect(10, 10, 61, 16)) |
|
323 | 322 | font = QtGui.QFont() |
|
324 | 323 | font.setPointSize(10) |
|
325 | 324 | self.label_13.setFont(font) |
|
326 | 325 | self.label_13.setObjectName(_fromUtf8("label_13")) |
|
327 | 326 | self.label_14 = QtGui.QLabel(self.frame_19) |
|
328 | 327 | self.label_14.setGeometry(QtCore.QRect(10, 30, 51, 21)) |
|
329 | 328 | font = QtGui.QFont() |
|
330 | 329 | font.setPointSize(10) |
|
331 | 330 | self.label_14.setFont(font) |
|
332 | 331 | self.label_14.setObjectName(_fromUtf8("label_14")) |
|
333 | 332 | self.lineEdit_4 = QtGui.QLineEdit(self.frame_19) |
|
334 | 333 | self.lineEdit_4.setGeometry(QtCore.QRect(90, 30, 101, 21)) |
|
335 | 334 | self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4")) |
|
336 | 335 | self.toolButton_2 = QtGui.QToolButton(self.frame_19) |
|
337 | 336 | self.toolButton_2.setGeometry(QtCore.QRect(210, 30, 31, 21)) |
|
338 | 337 | self.toolButton_2.setObjectName(_fromUtf8("toolButton_2")) |
|
339 | 338 | self.comboBox_10 = QtGui.QComboBox(self.frame_19) |
|
340 | 339 | self.comboBox_10.setGeometry(QtCore.QRect(90, 10, 151, 16)) |
|
341 | 340 | self.comboBox_10.setObjectName(_fromUtf8("comboBox_10")) |
|
342 | 341 | self.dataGraphVolOkBtn = QtGui.QPushButton(self.tab_2) |
|
343 | 342 | self.dataGraphVolOkBtn.setGeometry(QtCore.QRect(60, 240, 71, 21)) |
|
344 | 343 | self.dataGraphVolOkBtn.setObjectName(_fromUtf8("dataGraphVolOkBtn")) |
|
345 | 344 | self.dataGraphVolCancelBtn = QtGui.QPushButton(self.tab_2) |
|
346 | 345 | self.dataGraphVolCancelBtn.setGeometry(QtCore.QRect(150, 240, 71, 21)) |
|
347 | 346 | self.dataGraphVolCancelBtn.setObjectName(_fromUtf8("dataGraphVolCancelBtn")) |
|
348 | 347 | self.dataPathlabelGraphicsVol = QtGui.QLabel(self.tab_2) |
|
349 | 348 | self.dataPathlabelGraphicsVol.setGeometry(QtCore.QRect(20, 10, 66, 16)) |
|
350 | 349 | font = QtGui.QFont() |
|
351 | 350 | font.setPointSize(10) |
|
352 | 351 | self.dataPathlabelGraphicsVol.setFont(font) |
|
353 | 352 | self.dataPathlabelGraphicsVol.setObjectName(_fromUtf8("dataPathlabelGraphicsVol")) |
|
354 | 353 | self.dataPrefixlabelGraphicsVol = QtGui.QLabel(self.tab_2) |
|
355 | 354 | self.dataPrefixlabelGraphicsVol.setGeometry(QtCore.QRect(20, 40, 41, 16)) |
|
356 | 355 | font = QtGui.QFont() |
|
357 | 356 | font.setPointSize(10) |
|
358 | 357 | self.dataPrefixlabelGraphicsVol.setFont(font) |
|
359 | 358 | self.dataPrefixlabelGraphicsVol.setObjectName(_fromUtf8("dataPrefixlabelGraphicsVol")) |
|
360 | 359 | self.dataPathtxtGraphicsVol = QtGui.QLineEdit(self.tab_2) |
|
361 | 360 | self.dataPathtxtGraphicsVol.setGeometry(QtCore.QRect(70, 10, 161, 21)) |
|
362 | 361 | self.dataPathtxtGraphicsVol.setObjectName(_fromUtf8("dataPathtxtGraphicsVol")) |
|
363 | 362 | self.dataPrefixtxtGraphicsVol = QtGui.QLineEdit(self.tab_2) |
|
364 | 363 | self.dataPrefixtxtGraphicsVol.setGeometry(QtCore.QRect(70, 40, 191, 21)) |
|
365 | 364 | self.dataPrefixtxtGraphicsVol.setObjectName(_fromUtf8("dataPrefixtxtGraphicsVol")) |
|
366 | 365 | self.dataGraphicsVolPathBrowse = QtGui.QToolButton(self.tab_2) |
|
367 | 366 | self.dataGraphicsVolPathBrowse.setGeometry(QtCore.QRect(240, 10, 21, 21)) |
|
368 | 367 | self.dataGraphicsVolPathBrowse.setObjectName(_fromUtf8("dataGraphicsVolPathBrowse")) |
|
369 | 368 | self.label_6 = QtGui.QLabel(self.tab_2) |
|
370 | 369 | self.label_6.setGeometry(QtCore.QRect(20, 70, 31, 16)) |
|
371 | 370 | font = QtGui.QFont() |
|
372 | 371 | font.setPointSize(10) |
|
373 | 372 | self.label_6.setFont(font) |
|
374 | 373 | self.label_6.setObjectName(_fromUtf8("label_6")) |
|
375 | 374 | self.label_7 = QtGui.QLabel(self.tab_2) |
|
376 | 375 | self.label_7.setGeometry(QtCore.QRect(140, 70, 41, 16)) |
|
377 | 376 | font = QtGui.QFont() |
|
378 | 377 | font.setPointSize(10) |
|
379 | 378 | self.label_7.setFont(font) |
|
380 | 379 | self.label_7.setObjectName(_fromUtf8("label_7")) |
|
381 | 380 | self.label_8 = QtGui.QLabel(self.tab_2) |
|
382 | 381 | self.label_8.setGeometry(QtCore.QRect(210, 70, 41, 16)) |
|
383 | 382 | font = QtGui.QFont() |
|
384 | 383 | font.setPointSize(10) |
|
385 | 384 | self.label_8.setFont(font) |
|
386 | 385 | self.label_8.setObjectName(_fromUtf8("label_8")) |
|
387 |
self.tabWidget |
|
|
386 | self.tabWidgetVol.addTab(self.tab_2, _fromUtf8("")) | |
|
388 | 387 | self.tab_4 = QtGui.QWidget() |
|
389 | 388 | self.tab_4.setObjectName(_fromUtf8("tab_4")) |
|
390 | 389 | self.frame_15 = QtGui.QFrame(self.tab_4) |
|
391 | 390 | self.frame_15.setGeometry(QtCore.QRect(10, 20, 251, 71)) |
|
392 | 391 | self.frame_15.setFrameShape(QtGui.QFrame.StyledPanel) |
|
393 | 392 | self.frame_15.setFrameShadow(QtGui.QFrame.Plain) |
|
394 | 393 | self.frame_15.setObjectName(_fromUtf8("frame_15")) |
|
395 | 394 | self.dataPathlabelOutVol = QtGui.QLabel(self.frame_15) |
|
396 | 395 | self.dataPathlabelOutVol.setGeometry(QtCore.QRect(20, 10, 31, 16)) |
|
397 | 396 | self.dataPathlabelOutVol.setObjectName(_fromUtf8("dataPathlabelOutVol")) |
|
398 | 397 | self.dataPathtxtOutVol = QtGui.QLineEdit(self.frame_15) |
|
399 | 398 | self.dataPathtxtOutVol.setGeometry(QtCore.QRect(62, 10, 131, 20)) |
|
400 | 399 | self.dataPathtxtOutVol.setObjectName(_fromUtf8("dataPathtxtOutVol")) |
|
401 | 400 | self.dataOutVolPathBrowse = QtGui.QToolButton(self.frame_15) |
|
402 | 401 | self.dataOutVolPathBrowse.setGeometry(QtCore.QRect(210, 10, 25, 19)) |
|
403 | 402 | self.dataOutVolPathBrowse.setObjectName(_fromUtf8("dataOutVolPathBrowse")) |
|
404 | 403 | self.dataSufixlabelOutVol = QtGui.QLabel(self.frame_15) |
|
405 | 404 | self.dataSufixlabelOutVol.setGeometry(QtCore.QRect(20, 40, 41, 16)) |
|
406 | 405 | self.dataSufixlabelOutVol.setObjectName(_fromUtf8("dataSufixlabelOutVol")) |
|
407 | 406 | self.dataSufixtxtOutVol = QtGui.QLineEdit(self.frame_15) |
|
408 | 407 | self.dataSufixtxtOutVol.setGeometry(QtCore.QRect(60, 40, 171, 20)) |
|
409 | 408 | self.dataSufixtxtOutVol.setObjectName(_fromUtf8("dataSufixtxtOutVol")) |
|
410 | 409 | self.datasaveVolOkBtn = QtGui.QPushButton(self.tab_4) |
|
411 | 410 | self.datasaveVolOkBtn.setGeometry(QtCore.QRect(60, 120, 71, 21)) |
|
412 | 411 | self.datasaveVolOkBtn.setObjectName(_fromUtf8("datasaveVolOkBtn")) |
|
413 | 412 | self.datasaveVolCancelBtn = QtGui.QPushButton(self.tab_4) |
|
414 | 413 | self.datasaveVolCancelBtn.setGeometry(QtCore.QRect(150, 120, 71, 21)) |
|
415 | 414 | self.datasaveVolCancelBtn.setObjectName(_fromUtf8("datasaveVolCancelBtn")) |
|
416 |
self.tabWidget |
|
|
417 | self.addOpUpselec = QtGui.QComboBox(self.tab_7) | |
|
418 | self.addOpUpselec.setGeometry(QtCore.QRect(10, 1, 91, 20)) | |
|
419 | self.addOpUpselec.setObjectName(_fromUtf8("addOpUpselec")) | |
|
420 | self.tabWidget.addTab(self.tab_7, _fromUtf8("")) | |
|
415 | self.tabWidgetVol.addTab(self.tab_4, _fromUtf8("")) | |
|
416 | self.tabWidgetProject.addTab(self.tab_7, _fromUtf8("")) | |
|
421 | 417 | self.tab_6 = QtGui.QWidget() |
|
422 | 418 | self.tab_6.setObjectName(_fromUtf8("tab_6")) |
|
423 |
self.tabWidget |
|
|
424 | self.tabWidget_4.setGeometry(QtCore.QRect(10, 30, 291, 311)) | |
|
425 | self.tabWidget_4.setObjectName(_fromUtf8("tabWidget_4")) | |
|
419 | self.tabWidgetSpec = QtGui.QTabWidget(self.tab_6) | |
|
420 | self.tabWidgetSpec.setEnabled(True) | |
|
421 | self.tabWidgetSpec.setGeometry(QtCore.QRect(10, 10, 291, 331)) | |
|
422 | self.tabWidgetSpec.setObjectName(_fromUtf8("tabWidgetSpec")) | |
|
426 | 423 | self.tab_8 = QtGui.QWidget() |
|
427 | 424 | self.tab_8.setObjectName(_fromUtf8("tab_8")) |
|
428 | 425 | self.nFFTPointOpSpecCEB = QtGui.QCheckBox(self.tab_8) |
|
429 | 426 | self.nFFTPointOpSpecCEB.setGeometry(QtCore.QRect(10, 10, 111, 21)) |
|
430 | 427 | self.nFFTPointOpSpecCEB.setObjectName(_fromUtf8("nFFTPointOpSpecCEB")) |
|
431 | 428 | self.selecChannelopSpecCEB = QtGui.QCheckBox(self.tab_8) |
|
432 | 429 | self.selecChannelopSpecCEB.setGeometry(QtCore.QRect(10, 40, 111, 17)) |
|
433 | 430 | font = QtGui.QFont() |
|
434 | 431 | font.setPointSize(10) |
|
435 | 432 | self.selecChannelopSpecCEB.setFont(font) |
|
436 | 433 | self.selecChannelopSpecCEB.setObjectName(_fromUtf8("selecChannelopSpecCEB")) |
|
437 | 434 | self.IncohIntOpSpecCEB = QtGui.QCheckBox(self.tab_8) |
|
438 | 435 | self.IncohIntOpSpecCEB.setGeometry(QtCore.QRect(10, 70, 151, 17)) |
|
439 | 436 | font = QtGui.QFont() |
|
440 | 437 | font.setPointSize(10) |
|
441 | 438 | self.IncohIntOpSpecCEB.setFont(font) |
|
442 | 439 | self.IncohIntOpSpecCEB.setObjectName(_fromUtf8("IncohIntOpSpecCEB")) |
|
443 | 440 | self.DecoderOpSpecCEB = QtGui.QCheckBox(self.tab_8) |
|
444 | 441 | self.DecoderOpSpecCEB.setGeometry(QtCore.QRect(10, 100, 141, 17)) |
|
445 | 442 | font = QtGui.QFont() |
|
446 | 443 | font.setPointSize(10) |
|
447 | 444 | self.DecoderOpSpecCEB.setFont(font) |
|
448 | 445 | self.DecoderOpSpecCEB.setObjectName(_fromUtf8("DecoderOpSpecCEB")) |
|
449 | 446 | self.checkBox_52 = QtGui.QCheckBox(self.tab_8) |
|
450 | 447 | self.checkBox_52.setGeometry(QtCore.QRect(10, 130, 141, 17)) |
|
451 | 448 | font = QtGui.QFont() |
|
452 | 449 | font.setPointSize(10) |
|
453 | 450 | self.checkBox_52.setFont(font) |
|
454 | 451 | self.checkBox_52.setObjectName(_fromUtf8("checkBox_52")) |
|
455 | 452 | self.valuenFFTPointOpSpec = QtGui.QLineEdit(self.tab_8) |
|
456 | 453 | self.valuenFFTPointOpSpec.setGeometry(QtCore.QRect(200, 10, 71, 20)) |
|
457 | 454 | self.valuenFFTPointOpSpec.setObjectName(_fromUtf8("valuenFFTPointOpSpec")) |
|
458 | 455 | self.numberChannelopSpec = QtGui.QLineEdit(self.tab_8) |
|
459 | 456 | self.numberChannelopSpec.setGeometry(QtCore.QRect(200, 40, 71, 20)) |
|
460 | 457 | self.numberChannelopSpec.setObjectName(_fromUtf8("numberChannelopSpec")) |
|
461 | 458 | self.valueIncohIntOpSpec = QtGui.QLineEdit(self.tab_8) |
|
462 | 459 | self.valueIncohIntOpSpec.setGeometry(QtCore.QRect(200, 70, 71, 20)) |
|
463 | 460 | self.valueIncohIntOpSpec.setObjectName(_fromUtf8("valueIncohIntOpSpec")) |
|
464 | 461 | self.comboBox_23 = QtGui.QComboBox(self.tab_8) |
|
465 | 462 | self.comboBox_23.setGeometry(QtCore.QRect(200, 100, 71, 20)) |
|
466 | 463 | self.comboBox_23.setObjectName(_fromUtf8("comboBox_23")) |
|
467 | 464 | self.comboBox_23.addItem(_fromUtf8("")) |
|
468 | 465 | self.comboBox_23.addItem(_fromUtf8("")) |
|
469 | 466 | self.comboBox_23.addItem(_fromUtf8("")) |
|
470 | 467 | self.lineEdit_33 = QtGui.QLineEdit(self.tab_8) |
|
471 | 468 | self.lineEdit_33.setGeometry(QtCore.QRect(200, 130, 71, 20)) |
|
472 | 469 | self.lineEdit_33.setObjectName(_fromUtf8("lineEdit_33")) |
|
473 | 470 | self.dataopSpecOkBtn = QtGui.QPushButton(self.tab_8) |
|
474 | 471 | self.dataopSpecOkBtn.setGeometry(QtCore.QRect(50, 180, 71, 21)) |
|
475 | 472 | self.dataopSpecOkBtn.setObjectName(_fromUtf8("dataopSpecOkBtn")) |
|
476 | 473 | self.dataopSpecCancelBtn = QtGui.QPushButton(self.tab_8) |
|
477 | 474 | self.dataopSpecCancelBtn.setGeometry(QtCore.QRect(160, 180, 71, 21)) |
|
478 | 475 | self.dataopSpecCancelBtn.setObjectName(_fromUtf8("dataopSpecCancelBtn")) |
|
479 |
self.tabWidget |
|
|
476 | self.tabWidgetSpec.addTab(self.tab_8, _fromUtf8("")) | |
|
480 | 477 | self.tab_10 = QtGui.QWidget() |
|
481 | 478 | self.tab_10.setObjectName(_fromUtf8("tab_10")) |
|
482 | 479 | self.dataGraphSpecCancelBtn = QtGui.QPushButton(self.tab_10) |
|
483 | 480 | self.dataGraphSpecCancelBtn.setGeometry(QtCore.QRect(160, 240, 71, 21)) |
|
484 | 481 | self.dataGraphSpecCancelBtn.setObjectName(_fromUtf8("dataGraphSpecCancelBtn")) |
|
485 | 482 | self.frame_40 = QtGui.QFrame(self.tab_10) |
|
486 | 483 | self.frame_40.setGeometry(QtCore.QRect(10, 80, 261, 91)) |
|
487 | 484 | self.frame_40.setFrameShape(QtGui.QFrame.StyledPanel) |
|
488 | 485 | self.frame_40.setFrameShadow(QtGui.QFrame.Plain) |
|
489 | 486 | self.frame_40.setObjectName(_fromUtf8("frame_40")) |
|
490 | 487 | self.RTIPlotGraphLabel = QtGui.QLabel(self.frame_40) |
|
491 | 488 | self.RTIPlotGraphLabel.setGeometry(QtCore.QRect(10, 0, 66, 16)) |
|
492 | 489 | font = QtGui.QFont() |
|
493 | 490 | font.setPointSize(10) |
|
494 | 491 | self.RTIPlotGraphLabel.setFont(font) |
|
495 | 492 | self.RTIPlotGraphLabel.setObjectName(_fromUtf8("RTIPlotGraphLabel")) |
|
496 | 493 | self.CrossSpectraPlotGraphLabel = QtGui.QLabel(self.frame_40) |
|
497 | 494 | self.CrossSpectraPlotGraphLabel.setGeometry(QtCore.QRect(10, 40, 111, 21)) |
|
498 | 495 | self.CrossSpectraPlotGraphLabel.setObjectName(_fromUtf8("CrossSpectraPlotGraphLabel")) |
|
499 | 496 | self.SpectraPlotGraphLabel = QtGui.QLabel(self.frame_40) |
|
500 | 497 | self.SpectraPlotGraphLabel.setGeometry(QtCore.QRect(10, 20, 91, 16)) |
|
501 | 498 | self.SpectraPlotGraphLabel.setObjectName(_fromUtf8("SpectraPlotGraphLabel")) |
|
502 | 499 | self.label_86 = QtGui.QLabel(self.frame_40) |
|
503 | 500 | self.label_86.setGeometry(QtCore.QRect(10, 60, 66, 21)) |
|
504 | 501 | self.label_86.setObjectName(_fromUtf8("label_86")) |
|
505 | 502 | self.RTIPlotGraphCEB = QtGui.QCheckBox(self.frame_40) |
|
506 | 503 | self.RTIPlotGraphCEB.setGeometry(QtCore.QRect(150, 0, 31, 26)) |
|
507 | 504 | self.RTIPlotGraphCEB.setText(_fromUtf8("")) |
|
508 | 505 | self.RTIPlotGraphCEB.setObjectName(_fromUtf8("RTIPlotGraphCEB")) |
|
509 | 506 | self.checkBox_58 = QtGui.QCheckBox(self.frame_40) |
|
510 | 507 | self.checkBox_58.setGeometry(QtCore.QRect(210, 0, 31, 26)) |
|
511 | 508 | self.checkBox_58.setText(_fromUtf8("")) |
|
512 | 509 | self.checkBox_58.setObjectName(_fromUtf8("checkBox_58")) |
|
513 | 510 | self.SpectraPlotGraphCEB = QtGui.QCheckBox(self.frame_40) |
|
514 | 511 | self.SpectraPlotGraphCEB.setGeometry(QtCore.QRect(150, 20, 31, 26)) |
|
515 | 512 | self.SpectraPlotGraphCEB.setText(_fromUtf8("")) |
|
516 | 513 | self.SpectraPlotGraphCEB.setObjectName(_fromUtf8("SpectraPlotGraphCEB")) |
|
517 | 514 | self.checkBox_60 = QtGui.QCheckBox(self.frame_40) |
|
518 | 515 | self.checkBox_60.setGeometry(QtCore.QRect(210, 20, 31, 26)) |
|
519 | 516 | self.checkBox_60.setText(_fromUtf8("")) |
|
520 | 517 | self.checkBox_60.setObjectName(_fromUtf8("checkBox_60")) |
|
521 | 518 | self.CrossSpectraPlotGraphceb = QtGui.QCheckBox(self.frame_40) |
|
522 | 519 | self.CrossSpectraPlotGraphceb.setGeometry(QtCore.QRect(150, 40, 31, 21)) |
|
523 | 520 | self.CrossSpectraPlotGraphceb.setText(_fromUtf8("")) |
|
524 | 521 | self.CrossSpectraPlotGraphceb.setObjectName(_fromUtf8("CrossSpectraPlotGraphceb")) |
|
525 | 522 | self.checkBox_62 = QtGui.QCheckBox(self.frame_40) |
|
526 | 523 | self.checkBox_62.setGeometry(QtCore.QRect(210, 40, 31, 26)) |
|
527 | 524 | self.checkBox_62.setText(_fromUtf8("")) |
|
528 | 525 | self.checkBox_62.setObjectName(_fromUtf8("checkBox_62")) |
|
529 | 526 | self.checkBox_63 = QtGui.QCheckBox(self.frame_40) |
|
530 | 527 | self.checkBox_63.setGeometry(QtCore.QRect(150, 60, 20, 26)) |
|
531 | 528 | self.checkBox_63.setText(_fromUtf8("")) |
|
532 | 529 | self.checkBox_63.setObjectName(_fromUtf8("checkBox_63")) |
|
533 | 530 | self.checkBox_64 = QtGui.QCheckBox(self.frame_40) |
|
534 | 531 | self.checkBox_64.setGeometry(QtCore.QRect(210, 60, 31, 26)) |
|
535 | 532 | self.checkBox_64.setText(_fromUtf8("")) |
|
536 | 533 | self.checkBox_64.setObjectName(_fromUtf8("checkBox_64")) |
|
537 | 534 | self.dataGraphSpecOkBtn = QtGui.QPushButton(self.tab_10) |
|
538 | 535 | self.dataGraphSpecOkBtn.setGeometry(QtCore.QRect(60, 240, 71, 21)) |
|
539 | 536 | self.dataGraphSpecOkBtn.setObjectName(_fromUtf8("dataGraphSpecOkBtn")) |
|
540 | 537 | self.frame_41 = QtGui.QFrame(self.tab_10) |
|
541 | 538 | self.frame_41.setGeometry(QtCore.QRect(10, 180, 261, 51)) |
|
542 | 539 | self.frame_41.setFrameShape(QtGui.QFrame.StyledPanel) |
|
543 | 540 | self.frame_41.setFrameShadow(QtGui.QFrame.Plain) |
|
544 | 541 | self.frame_41.setObjectName(_fromUtf8("frame_41")) |
|
545 | 542 | self.label_87 = QtGui.QLabel(self.frame_41) |
|
546 | 543 | self.label_87.setGeometry(QtCore.QRect(10, 10, 61, 16)) |
|
547 | 544 | font = QtGui.QFont() |
|
548 | 545 | font.setPointSize(10) |
|
549 | 546 | self.label_87.setFont(font) |
|
550 | 547 | self.label_87.setObjectName(_fromUtf8("label_87")) |
|
551 | 548 | self.label_88 = QtGui.QLabel(self.frame_41) |
|
552 | 549 | self.label_88.setGeometry(QtCore.QRect(10, 30, 51, 21)) |
|
553 | 550 | font = QtGui.QFont() |
|
554 | 551 | font.setPointSize(10) |
|
555 | 552 | self.label_88.setFont(font) |
|
556 | 553 | self.label_88.setObjectName(_fromUtf8("label_88")) |
|
557 | 554 | self.lineEdit_37 = QtGui.QLineEdit(self.frame_41) |
|
558 | 555 | self.lineEdit_37.setGeometry(QtCore.QRect(90, 30, 111, 16)) |
|
559 | 556 | self.lineEdit_37.setObjectName(_fromUtf8("lineEdit_37")) |
|
560 | 557 | self.toolButton_18 = QtGui.QToolButton(self.frame_41) |
|
561 | 558 | self.toolButton_18.setGeometry(QtCore.QRect(210, 30, 21, 16)) |
|
562 | 559 | self.toolButton_18.setObjectName(_fromUtf8("toolButton_18")) |
|
563 | 560 | self.comboBox_27 = QtGui.QComboBox(self.frame_41) |
|
564 | 561 | self.comboBox_27.setGeometry(QtCore.QRect(90, 10, 141, 16)) |
|
565 | 562 | self.comboBox_27.setObjectName(_fromUtf8("comboBox_27")) |
|
566 | 563 | self.label_78 = QtGui.QLabel(self.tab_10) |
|
567 | 564 | self.label_78.setGeometry(QtCore.QRect(20, 10, 66, 16)) |
|
568 | 565 | font = QtGui.QFont() |
|
569 | 566 | font.setPointSize(10) |
|
570 | 567 | self.label_78.setFont(font) |
|
571 | 568 | self.label_78.setObjectName(_fromUtf8("label_78")) |
|
572 | 569 | self.label_79 = QtGui.QLabel(self.tab_10) |
|
573 | 570 | self.label_79.setGeometry(QtCore.QRect(20, 40, 41, 16)) |
|
574 | 571 | font = QtGui.QFont() |
|
575 | 572 | font.setPointSize(10) |
|
576 | 573 | self.label_79.setFont(font) |
|
577 | 574 | self.label_79.setObjectName(_fromUtf8("label_79")) |
|
578 | 575 | self.lineEdit_35 = QtGui.QLineEdit(self.tab_10) |
|
579 | 576 | self.lineEdit_35.setGeometry(QtCore.QRect(70, 10, 161, 16)) |
|
580 | 577 | self.lineEdit_35.setObjectName(_fromUtf8("lineEdit_35")) |
|
581 | 578 | self.lineEdit_36 = QtGui.QLineEdit(self.tab_10) |
|
582 | 579 | self.lineEdit_36.setGeometry(QtCore.QRect(70, 40, 201, 16)) |
|
583 | 580 | self.lineEdit_36.setObjectName(_fromUtf8("lineEdit_36")) |
|
584 | 581 | self.toolButton_17 = QtGui.QToolButton(self.tab_10) |
|
585 | 582 | self.toolButton_17.setGeometry(QtCore.QRect(250, 10, 21, 20)) |
|
586 | 583 | self.toolButton_17.setObjectName(_fromUtf8("toolButton_17")) |
|
587 | 584 | self.label_80 = QtGui.QLabel(self.tab_10) |
|
588 | 585 | self.label_80.setGeometry(QtCore.QRect(20, 60, 31, 16)) |
|
589 | 586 | font = QtGui.QFont() |
|
590 | 587 | font.setPointSize(10) |
|
591 | 588 | self.label_80.setFont(font) |
|
592 | 589 | self.label_80.setObjectName(_fromUtf8("label_80")) |
|
593 | 590 | self.label_81 = QtGui.QLabel(self.tab_10) |
|
594 | 591 | self.label_81.setGeometry(QtCore.QRect(150, 60, 41, 16)) |
|
595 | 592 | font = QtGui.QFont() |
|
596 | 593 | font.setPointSize(10) |
|
597 | 594 | self.label_81.setFont(font) |
|
598 | 595 | self.label_81.setObjectName(_fromUtf8("label_81")) |
|
599 | 596 | self.label_82 = QtGui.QLabel(self.tab_10) |
|
600 | 597 | self.label_82.setGeometry(QtCore.QRect(210, 60, 41, 16)) |
|
601 | 598 | font = QtGui.QFont() |
|
602 | 599 | font.setPointSize(10) |
|
603 | 600 | self.label_82.setFont(font) |
|
604 | 601 | self.label_82.setObjectName(_fromUtf8("label_82")) |
|
605 |
self.tabWidget |
|
|
602 | self.tabWidgetSpec.addTab(self.tab_10, _fromUtf8("")) | |
|
606 | 603 | self.tab_11 = QtGui.QWidget() |
|
607 | 604 | self.tab_11.setObjectName(_fromUtf8("tab_11")) |
|
608 | 605 | self.label_22 = QtGui.QLabel(self.tab_11) |
|
609 | 606 | self.label_22.setGeometry(QtCore.QRect(140, 100, 58, 16)) |
|
610 | 607 | self.label_22.setObjectName(_fromUtf8("label_22")) |
|
611 | 608 | self.frame_47 = QtGui.QFrame(self.tab_11) |
|
612 | 609 | self.frame_47.setGeometry(QtCore.QRect(10, 20, 261, 71)) |
|
613 | 610 | self.frame_47.setFrameShape(QtGui.QFrame.StyledPanel) |
|
614 | 611 | self.frame_47.setFrameShadow(QtGui.QFrame.Plain) |
|
615 | 612 | self.frame_47.setObjectName(_fromUtf8("frame_47")) |
|
616 | 613 | self.label_20 = QtGui.QLabel(self.frame_47) |
|
617 | 614 | self.label_20.setGeometry(QtCore.QRect(20, 10, 22, 16)) |
|
618 | 615 | self.label_20.setObjectName(_fromUtf8("label_20")) |
|
619 | 616 | self.lineEdit_11 = QtGui.QLineEdit(self.frame_47) |
|
620 | 617 | self.lineEdit_11.setGeometry(QtCore.QRect(50, 10, 151, 20)) |
|
621 | 618 | self.lineEdit_11.setObjectName(_fromUtf8("lineEdit_11")) |
|
622 | 619 | self.toolButton_5 = QtGui.QToolButton(self.frame_47) |
|
623 | 620 | self.toolButton_5.setGeometry(QtCore.QRect(220, 10, 25, 19)) |
|
624 | 621 | self.toolButton_5.setObjectName(_fromUtf8("toolButton_5")) |
|
625 | 622 | self.label_21 = QtGui.QLabel(self.frame_47) |
|
626 | 623 | self.label_21.setGeometry(QtCore.QRect(20, 40, 24, 16)) |
|
627 | 624 | self.label_21.setObjectName(_fromUtf8("label_21")) |
|
628 | 625 | self.lineEdit_12 = QtGui.QLineEdit(self.frame_47) |
|
629 | 626 | self.lineEdit_12.setGeometry(QtCore.QRect(50, 40, 191, 20)) |
|
630 | 627 | self.lineEdit_12.setObjectName(_fromUtf8("lineEdit_12")) |
|
631 | 628 | self.frame_49 = QtGui.QFrame(self.tab_11) |
|
632 | 629 | self.frame_49.setGeometry(QtCore.QRect(10, 130, 261, 41)) |
|
633 | 630 | self.frame_49.setFrameShape(QtGui.QFrame.StyledPanel) |
|
634 | 631 | self.frame_49.setFrameShadow(QtGui.QFrame.Plain) |
|
635 | 632 | self.frame_49.setObjectName(_fromUtf8("frame_49")) |
|
636 | 633 | self.datasaveSpecOkBtn = QtGui.QPushButton(self.frame_49) |
|
637 | 634 | self.datasaveSpecOkBtn.setGeometry(QtCore.QRect(30, 10, 71, 21)) |
|
638 | 635 | self.datasaveSpecOkBtn.setObjectName(_fromUtf8("datasaveSpecOkBtn")) |
|
639 | 636 | self.datasaveSpecCancelBtn = QtGui.QPushButton(self.frame_49) |
|
640 | 637 | self.datasaveSpecCancelBtn.setGeometry(QtCore.QRect(130, 10, 71, 21)) |
|
641 | 638 | self.datasaveSpecCancelBtn.setObjectName(_fromUtf8("datasaveSpecCancelBtn")) |
|
642 |
self.tabWidget |
|
|
643 | self.addOpSpecUpselec = QtGui.QComboBox(self.tab_6) | |
|
644 | self.addOpSpecUpselec.setGeometry(QtCore.QRect(10, 2, 91, 20)) | |
|
645 | self.addOpSpecUpselec.setObjectName(_fromUtf8("addOpSpecUpselec")) | |
|
646 | self.tabWidget.addTab(self.tab_6, _fromUtf8("")) | |
|
639 | self.tabWidgetSpec.addTab(self.tab_11, _fromUtf8("")) | |
|
640 | self.tabWidgetProject.addTab(self.tab_6, _fromUtf8("")) | |
|
647 | 641 | self.tab_9 = QtGui.QWidget() |
|
648 | 642 | self.tab_9.setObjectName(_fromUtf8("tab_9")) |
|
649 |
self.tabWidget |
|
|
650 |
self.tabWidget |
|
|
651 |
self.tabWidget |
|
|
643 | self.tabWidgetCor = QtGui.QTabWidget(self.tab_9) | |
|
644 | self.tabWidgetCor.setGeometry(QtCore.QRect(10, 10, 291, 311)) | |
|
645 | self.tabWidgetCor.setObjectName(_fromUtf8("tabWidgetCor")) | |
|
652 | 646 | self.tab_12 = QtGui.QWidget() |
|
653 | 647 | self.tab_12.setObjectName(_fromUtf8("tab_12")) |
|
654 | 648 | self.checkBox_53 = QtGui.QCheckBox(self.tab_12) |
|
655 | 649 | self.checkBox_53.setGeometry(QtCore.QRect(20, 30, 91, 17)) |
|
656 | 650 | font = QtGui.QFont() |
|
657 | 651 | font.setPointSize(10) |
|
658 | 652 | self.checkBox_53.setFont(font) |
|
659 | 653 | self.checkBox_53.setObjectName(_fromUtf8("checkBox_53")) |
|
660 | 654 | self.comboBox_24 = QtGui.QComboBox(self.tab_12) |
|
661 | 655 | self.comboBox_24.setGeometry(QtCore.QRect(160, 30, 111, 20)) |
|
662 | 656 | self.comboBox_24.setObjectName(_fromUtf8("comboBox_24")) |
|
663 | 657 | self.dataopCorrOkBtn = QtGui.QPushButton(self.tab_12) |
|
664 | 658 | self.dataopCorrOkBtn.setGeometry(QtCore.QRect(50, 160, 71, 21)) |
|
665 | 659 | self.dataopCorrOkBtn.setObjectName(_fromUtf8("dataopCorrOkBtn")) |
|
666 | 660 | self.dataopCorrCancelBtn = QtGui.QPushButton(self.tab_12) |
|
667 | 661 | self.dataopCorrCancelBtn.setGeometry(QtCore.QRect(170, 160, 71, 21)) |
|
668 | 662 | self.dataopCorrCancelBtn.setObjectName(_fromUtf8("dataopCorrCancelBtn")) |
|
669 |
self.tabWidget |
|
|
663 | self.tabWidgetCor.addTab(self.tab_12, _fromUtf8("")) | |
|
670 | 664 | self.tab_13 = QtGui.QWidget() |
|
671 | 665 | self.tab_13.setObjectName(_fromUtf8("tab_13")) |
|
672 | 666 | self.frame_44 = QtGui.QFrame(self.tab_13) |
|
673 | 667 | self.frame_44.setGeometry(QtCore.QRect(10, 70, 261, 21)) |
|
674 | 668 | self.frame_44.setFrameShape(QtGui.QFrame.StyledPanel) |
|
675 | 669 | self.frame_44.setFrameShadow(QtGui.QFrame.Plain) |
|
676 | 670 | self.frame_44.setObjectName(_fromUtf8("frame_44")) |
|
677 | 671 | self.label_95 = QtGui.QLabel(self.frame_44) |
|
678 | 672 | self.label_95.setGeometry(QtCore.QRect(10, 0, 31, 16)) |
|
679 | 673 | font = QtGui.QFont() |
|
680 | 674 | font.setPointSize(10) |
|
681 | 675 | self.label_95.setFont(font) |
|
682 | 676 | self.label_95.setObjectName(_fromUtf8("label_95")) |
|
683 | 677 | self.label_96 = QtGui.QLabel(self.frame_44) |
|
684 | 678 | self.label_96.setGeometry(QtCore.QRect(130, 0, 41, 16)) |
|
685 | 679 | font = QtGui.QFont() |
|
686 | 680 | font.setPointSize(10) |
|
687 | 681 | self.label_96.setFont(font) |
|
688 | 682 | self.label_96.setObjectName(_fromUtf8("label_96")) |
|
689 | 683 | self.label_97 = QtGui.QLabel(self.frame_44) |
|
690 | 684 | self.label_97.setGeometry(QtCore.QRect(190, 0, 41, 16)) |
|
691 | 685 | font = QtGui.QFont() |
|
692 | 686 | font.setPointSize(10) |
|
693 | 687 | self.label_97.setFont(font) |
|
694 | 688 | self.label_97.setObjectName(_fromUtf8("label_97")) |
|
695 | 689 | self.frame_42 = QtGui.QFrame(self.tab_13) |
|
696 | 690 | self.frame_42.setGeometry(QtCore.QRect(10, 160, 261, 61)) |
|
697 | 691 | self.frame_42.setFrameShape(QtGui.QFrame.StyledPanel) |
|
698 | 692 | self.frame_42.setFrameShadow(QtGui.QFrame.Plain) |
|
699 | 693 | self.frame_42.setObjectName(_fromUtf8("frame_42")) |
|
700 | 694 | self.label_89 = QtGui.QLabel(self.frame_42) |
|
701 | 695 | self.label_89.setGeometry(QtCore.QRect(10, 10, 61, 16)) |
|
702 | 696 | font = QtGui.QFont() |
|
703 | 697 | font.setPointSize(10) |
|
704 | 698 | self.label_89.setFont(font) |
|
705 | 699 | self.label_89.setObjectName(_fromUtf8("label_89")) |
|
706 | 700 | self.label_90 = QtGui.QLabel(self.frame_42) |
|
707 | 701 | self.label_90.setGeometry(QtCore.QRect(10, 30, 51, 21)) |
|
708 | 702 | font = QtGui.QFont() |
|
709 | 703 | font.setPointSize(10) |
|
710 | 704 | self.label_90.setFont(font) |
|
711 | 705 | self.label_90.setObjectName(_fromUtf8("label_90")) |
|
712 | 706 | self.lineEdit_38 = QtGui.QLineEdit(self.frame_42) |
|
713 | 707 | self.lineEdit_38.setGeometry(QtCore.QRect(90, 30, 101, 16)) |
|
714 | 708 | self.lineEdit_38.setObjectName(_fromUtf8("lineEdit_38")) |
|
715 | 709 | self.toolButton_19 = QtGui.QToolButton(self.frame_42) |
|
716 | 710 | self.toolButton_19.setGeometry(QtCore.QRect(200, 30, 21, 16)) |
|
717 | 711 | self.toolButton_19.setObjectName(_fromUtf8("toolButton_19")) |
|
718 | 712 | self.comboBox_28 = QtGui.QComboBox(self.frame_42) |
|
719 | 713 | self.comboBox_28.setGeometry(QtCore.QRect(90, 10, 131, 16)) |
|
720 | 714 | self.comboBox_28.setObjectName(_fromUtf8("comboBox_28")) |
|
721 | 715 | self.frame_43 = QtGui.QFrame(self.tab_13) |
|
722 | 716 | self.frame_43.setGeometry(QtCore.QRect(10, 100, 261, 51)) |
|
723 | 717 | self.frame_43.setFrameShape(QtGui.QFrame.StyledPanel) |
|
724 | 718 | self.frame_43.setFrameShadow(QtGui.QFrame.Plain) |
|
725 | 719 | self.frame_43.setObjectName(_fromUtf8("frame_43")) |
|
726 | 720 | self.label_91 = QtGui.QLabel(self.frame_43) |
|
727 | 721 | self.label_91.setGeometry(QtCore.QRect(20, 10, 66, 21)) |
|
728 | 722 | font = QtGui.QFont() |
|
729 | 723 | font.setPointSize(10) |
|
730 | 724 | self.label_91.setFont(font) |
|
731 | 725 | self.label_91.setObjectName(_fromUtf8("label_91")) |
|
732 | 726 | self.checkBox_67 = QtGui.QCheckBox(self.frame_43) |
|
733 | 727 | self.checkBox_67.setGeometry(QtCore.QRect(140, 10, 31, 26)) |
|
734 | 728 | self.checkBox_67.setText(_fromUtf8("")) |
|
735 | 729 | self.checkBox_67.setObjectName(_fromUtf8("checkBox_67")) |
|
736 | 730 | self.checkBox_68 = QtGui.QCheckBox(self.frame_43) |
|
737 | 731 | self.checkBox_68.setGeometry(QtCore.QRect(190, 10, 31, 26)) |
|
738 | 732 | self.checkBox_68.setText(_fromUtf8("")) |
|
739 | 733 | self.checkBox_68.setObjectName(_fromUtf8("checkBox_68")) |
|
740 | 734 | self.dataGraphCorrOkBtn = QtGui.QPushButton(self.tab_13) |
|
741 | 735 | self.dataGraphCorrOkBtn.setGeometry(QtCore.QRect(60, 230, 71, 21)) |
|
742 | 736 | self.dataGraphCorrOkBtn.setObjectName(_fromUtf8("dataGraphCorrOkBtn")) |
|
743 | 737 | self.dataGraphCorrCancelBtn = QtGui.QPushButton(self.tab_13) |
|
744 | 738 | self.dataGraphCorrCancelBtn.setGeometry(QtCore.QRect(150, 230, 71, 21)) |
|
745 | 739 | self.dataGraphCorrCancelBtn.setObjectName(_fromUtf8("dataGraphCorrCancelBtn")) |
|
746 | 740 | self.label_98 = QtGui.QLabel(self.tab_13) |
|
747 | 741 | self.label_98.setGeometry(QtCore.QRect(20, 10, 66, 16)) |
|
748 | 742 | font = QtGui.QFont() |
|
749 | 743 | font.setPointSize(10) |
|
750 | 744 | self.label_98.setFont(font) |
|
751 | 745 | self.label_98.setObjectName(_fromUtf8("label_98")) |
|
752 | 746 | self.label_99 = QtGui.QLabel(self.tab_13) |
|
753 | 747 | self.label_99.setGeometry(QtCore.QRect(20, 40, 41, 16)) |
|
754 | 748 | font = QtGui.QFont() |
|
755 | 749 | font.setPointSize(10) |
|
756 | 750 | self.label_99.setFont(font) |
|
757 | 751 | self.label_99.setObjectName(_fromUtf8("label_99")) |
|
758 | 752 | self.lineEdit_39 = QtGui.QLineEdit(self.tab_13) |
|
759 | 753 | self.lineEdit_39.setGeometry(QtCore.QRect(80, 10, 141, 21)) |
|
760 | 754 | self.lineEdit_39.setObjectName(_fromUtf8("lineEdit_39")) |
|
761 | 755 | self.toolButton_20 = QtGui.QToolButton(self.tab_13) |
|
762 | 756 | self.toolButton_20.setGeometry(QtCore.QRect(250, 10, 21, 21)) |
|
763 | 757 | self.toolButton_20.setObjectName(_fromUtf8("toolButton_20")) |
|
764 | 758 | self.lineEdit_40 = QtGui.QLineEdit(self.tab_13) |
|
765 | 759 | self.lineEdit_40.setGeometry(QtCore.QRect(70, 40, 201, 21)) |
|
766 | 760 | self.lineEdit_40.setObjectName(_fromUtf8("lineEdit_40")) |
|
767 |
self.tabWidget |
|
|
761 | self.tabWidgetCor.addTab(self.tab_13, _fromUtf8("")) | |
|
768 | 762 | self.tab_14 = QtGui.QWidget() |
|
769 | 763 | self.tab_14.setObjectName(_fromUtf8("tab_14")) |
|
770 | 764 | self.label_17 = QtGui.QLabel(self.tab_14) |
|
771 | 765 | self.label_17.setGeometry(QtCore.QRect(140, 100, 58, 16)) |
|
772 | 766 | self.label_17.setObjectName(_fromUtf8("label_17")) |
|
773 | 767 | self.frame_46 = QtGui.QFrame(self.tab_14) |
|
774 | 768 | self.frame_46.setGeometry(QtCore.QRect(10, 20, 261, 71)) |
|
775 | 769 | self.frame_46.setFrameShape(QtGui.QFrame.StyledPanel) |
|
776 | 770 | self.frame_46.setFrameShadow(QtGui.QFrame.Plain) |
|
777 | 771 | self.frame_46.setObjectName(_fromUtf8("frame_46")) |
|
778 | 772 | self.label_18 = QtGui.QLabel(self.frame_46) |
|
779 | 773 | self.label_18.setGeometry(QtCore.QRect(20, 10, 22, 16)) |
|
780 | 774 | self.label_18.setObjectName(_fromUtf8("label_18")) |
|
781 | 775 | self.lineEdit_9 = QtGui.QLineEdit(self.frame_46) |
|
782 | 776 | self.lineEdit_9.setGeometry(QtCore.QRect(50, 10, 151, 20)) |
|
783 | 777 | self.lineEdit_9.setObjectName(_fromUtf8("lineEdit_9")) |
|
784 | 778 | self.toolButton_4 = QtGui.QToolButton(self.frame_46) |
|
785 | 779 | self.toolButton_4.setGeometry(QtCore.QRect(220, 10, 25, 19)) |
|
786 | 780 | self.toolButton_4.setObjectName(_fromUtf8("toolButton_4")) |
|
787 | 781 | self.label_19 = QtGui.QLabel(self.frame_46) |
|
788 | 782 | self.label_19.setGeometry(QtCore.QRect(20, 40, 24, 16)) |
|
789 | 783 | self.label_19.setObjectName(_fromUtf8("label_19")) |
|
790 | 784 | self.lineEdit_10 = QtGui.QLineEdit(self.frame_46) |
|
791 | 785 | self.lineEdit_10.setGeometry(QtCore.QRect(50, 40, 191, 20)) |
|
792 | 786 | self.lineEdit_10.setObjectName(_fromUtf8("lineEdit_10")) |
|
793 | 787 | self.frame_50 = QtGui.QFrame(self.tab_14) |
|
794 | 788 | self.frame_50.setGeometry(QtCore.QRect(10, 140, 261, 41)) |
|
795 | 789 | self.frame_50.setFrameShape(QtGui.QFrame.StyledPanel) |
|
796 | 790 | self.frame_50.setFrameShadow(QtGui.QFrame.Plain) |
|
797 | 791 | self.frame_50.setObjectName(_fromUtf8("frame_50")) |
|
798 | 792 | self.datasaveCorrOkBtn = QtGui.QPushButton(self.frame_50) |
|
799 | 793 | self.datasaveCorrOkBtn.setGeometry(QtCore.QRect(30, 10, 71, 21)) |
|
800 | 794 | self.datasaveCorrOkBtn.setObjectName(_fromUtf8("datasaveCorrOkBtn")) |
|
801 | 795 | self.dataSaveCorrCancelBtn = QtGui.QPushButton(self.frame_50) |
|
802 | 796 | self.dataSaveCorrCancelBtn.setGeometry(QtCore.QRect(150, 10, 71, 21)) |
|
803 | 797 | self.dataSaveCorrCancelBtn.setObjectName(_fromUtf8("dataSaveCorrCancelBtn")) |
|
804 |
self.tabWidget |
|
|
805 | self.comboBox_2 = QtGui.QComboBox(self.tab_9) | |
|
806 | self.comboBox_2.setGeometry(QtCore.QRect(10, 2, 91, 20)) | |
|
807 | self.comboBox_2.setObjectName(_fromUtf8("comboBox_2")) | |
|
808 | self.tabWidget.addTab(self.tab_9, _fromUtf8("")) | |
|
798 | self.tabWidgetCor.addTab(self.tab_14, _fromUtf8("")) | |
|
799 | self.tabWidgetProject.addTab(self.tab_9, _fromUtf8("")) | |
|
809 | 800 | self.tabWidget_2 = QtGui.QTabWidget(self.frame_7) |
|
810 |
self.tabWidget_2.setGeometry(QtCore.QRect(10, |
|
|
801 | self.tabWidget_2.setGeometry(QtCore.QRect(10, 400, 311, 121)) | |
|
811 | 802 | self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2")) |
|
812 | 803 | self.tab = QtGui.QWidget() |
|
813 | 804 | self.tab.setObjectName(_fromUtf8("tab")) |
|
814 | 805 | self.textEdit = Qsci.QsciScintilla(self.tab) |
|
815 |
self.textEdit.setGeometry(QtCore.QRect(10, 10, 291, |
|
|
806 | self.textEdit.setGeometry(QtCore.QRect(10, 10, 291, 81)) | |
|
816 | 807 | self.textEdit.setToolTip(_fromUtf8("")) |
|
817 | 808 | self.textEdit.setWhatsThis(_fromUtf8("")) |
|
818 | 809 | self.textEdit.setObjectName(_fromUtf8("textEdit")) |
|
819 | 810 | self.tabWidget_2.addTab(self.tab, _fromUtf8("")) |
|
820 | 811 | MainWindow.setCentralWidget(self.centralWidget) |
|
821 | 812 | self.menuBar = QtGui.QMenuBar(MainWindow) |
|
822 |
self.menuBar.setGeometry(QtCore.QRect(0, 0, 86 |
|
|
813 | self.menuBar.setGeometry(QtCore.QRect(0, 0, 866, 21)) | |
|
823 | 814 | self.menuBar.setObjectName(_fromUtf8("menuBar")) |
|
824 | 815 | self.menuFILE = QtGui.QMenu(self.menuBar) |
|
825 | 816 | self.menuFILE.setObjectName(_fromUtf8("menuFILE")) |
|
826 | 817 | self.menuRUN = QtGui.QMenu(self.menuBar) |
|
827 | 818 | self.menuRUN.setObjectName(_fromUtf8("menuRUN")) |
|
828 | 819 | self.menuOPTIONS = QtGui.QMenu(self.menuBar) |
|
829 | 820 | self.menuOPTIONS.setObjectName(_fromUtf8("menuOPTIONS")) |
|
830 | 821 | self.menuHELP = QtGui.QMenu(self.menuBar) |
|
831 | 822 | self.menuHELP.setObjectName(_fromUtf8("menuHELP")) |
|
832 | 823 | MainWindow.setMenuBar(self.menuBar) |
|
833 | self.toolBar_2 = QtGui.QToolBar(MainWindow) | |
|
834 | self.toolBar_2.setObjectName(_fromUtf8("toolBar_2")) | |
|
835 | MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar_2) | |
|
836 | 824 | self.toolBar = QtGui.QToolBar(MainWindow) |
|
837 | 825 | self.toolBar.setObjectName(_fromUtf8("toolBar")) |
|
838 | 826 | MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) |
|
839 |
self. |
|
|
840 |
self. |
|
|
841 |
self. |
|
|
842 |
self. |
|
|
843 |
self. |
|
|
844 |
self. |
|
|
845 |
self. |
|
|
846 |
self. |
|
|
847 |
self. |
|
|
848 |
self. |
|
|
849 |
self. |
|
|
850 |
self. |
|
|
851 |
self. |
|
|
852 |
self. |
|
|
853 |
self. |
|
|
854 |
self. |
|
|
855 |
self. |
|
|
856 |
self. |
|
|
857 |
self.act |
|
|
827 | self.menuFileAbrirObj = QtGui.QAction(MainWindow) | |
|
828 | self.menuFileAbrirObj.setObjectName(_fromUtf8("menuFileAbrirObj")) | |
|
829 | self.menuFileCrearObj = QtGui.QAction(MainWindow) | |
|
830 | self.menuFileCrearObj.setObjectName(_fromUtf8("menuFileCrearObj")) | |
|
831 | self.menuFileGuardarObj = QtGui.QAction(MainWindow) | |
|
832 | self.menuFileGuardarObj.setObjectName(_fromUtf8("menuFileGuardarObj")) | |
|
833 | self.menuRUNStartObj = QtGui.QAction(MainWindow) | |
|
834 | self.menuRUNStartObj.setObjectName(_fromUtf8("menuRUNStartObj")) | |
|
835 | self.menuRUNPausaObj = QtGui.QAction(MainWindow) | |
|
836 | self.menuRUNPausaObj.setObjectName(_fromUtf8("menuRUNPausaObj")) | |
|
837 | self.menuOptConfigLogfileObj = QtGui.QAction(MainWindow) | |
|
838 | self.menuOptConfigLogfileObj.setObjectName(_fromUtf8("menuOptConfigLogfileObj")) | |
|
839 | self.menuOptConfigserverObj = QtGui.QAction(MainWindow) | |
|
840 | self.menuOptConfigserverObj.setObjectName(_fromUtf8("menuOptConfigserverObj")) | |
|
841 | self.menuHELPAboutObj = QtGui.QAction(MainWindow) | |
|
842 | self.menuHELPAboutObj.setObjectName(_fromUtf8("menuHELPAboutObj")) | |
|
843 | self.menuHELPPrfObj = QtGui.QAction(MainWindow) | |
|
844 | self.menuHELPPrfObj.setObjectName(_fromUtf8("menuHELPPrfObj")) | |
|
845 | self.actOpenObj = QtGui.QAction(MainWindow) | |
|
858 | 846 | icon = QtGui.QIcon() |
|
859 |
icon.addPixmap(QtGui.QPixmap(_fromUtf8("../ |
|
|
860 |
self.act |
|
|
861 |
self.act |
|
|
862 |
self.act |
|
|
847 | icon.addPixmap(QtGui.QPixmap(_fromUtf8("../figure/Open Sign.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
848 | self.actOpenObj.setIcon(icon) | |
|
849 | self.actOpenObj.setObjectName(_fromUtf8("actOpenObj")) | |
|
850 | self.actSaveObj = QtGui.QAction(MainWindow) | |
|
863 | 851 | icon1 = QtGui.QIcon() |
|
864 |
icon1.addPixmap(QtGui.QPixmap(_fromUtf8("../ |
|
|
865 |
self.act |
|
|
866 |
self.act |
|
|
867 |
self.act |
|
|
852 | icon1.addPixmap(QtGui.QPixmap(_fromUtf8("../figure/guardar.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
853 | self.actSaveObj.setIcon(icon1) | |
|
854 | self.actSaveObj.setObjectName(_fromUtf8("actSaveObj")) | |
|
855 | self.actPlayObj = QtGui.QAction(MainWindow) | |
|
868 | 856 | icon2 = QtGui.QIcon() |
|
869 |
icon2.addPixmap(QtGui.QPixmap(_fromUtf8("../ |
|
|
870 |
self.act |
|
|
871 |
self.act |
|
|
872 |
self.act |
|
|
857 | icon2.addPixmap(QtGui.QPixmap(_fromUtf8("../figure/play.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
858 | self.actPlayObj.setIcon(icon2) | |
|
859 | self.actPlayObj.setObjectName(_fromUtf8("actPlayObj")) | |
|
860 | self.actStopObj = QtGui.QAction(MainWindow) | |
|
873 | 861 | icon3 = QtGui.QIcon() |
|
874 |
icon3.addPixmap(QtGui.QPixmap(_fromUtf8("../ |
|
|
875 |
self.act |
|
|
876 |
self.act |
|
|
877 |
self.act |
|
|
862 | icon3.addPixmap(QtGui.QPixmap(_fromUtf8("../figure/stop.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
863 | self.actStopObj.setIcon(icon3) | |
|
864 | self.actStopObj.setObjectName(_fromUtf8("actStopObj")) | |
|
865 | self.actCreateObj = QtGui.QAction(MainWindow) | |
|
878 | 866 | icon4 = QtGui.QIcon() |
|
879 |
icon4.addPixmap(QtGui.QPixmap(_fromUtf8("../ |
|
|
880 |
self.act |
|
|
881 |
self.act |
|
|
882 |
self. |
|
|
883 |
self. |
|
|
884 |
self.menuFILE.addAction(self. |
|
|
885 |
self.menuFILE.addAction(self. |
|
|
886 |
self.menuFILE.addAction(self. |
|
|
887 |
self.menuFILE.addAction(self. |
|
|
888 |
self.menuRUN.addAction(self. |
|
|
889 |
self.menuRUN.addAction(self. |
|
|
890 |
self.menuOPTIONS.addAction(self. |
|
|
891 |
self.menuOPTIONS.addAction(self. |
|
|
892 |
self.menuHELP.addAction(self. |
|
|
893 |
self.menuHELP.addAction(self. |
|
|
867 | icon4.addPixmap(QtGui.QPixmap(_fromUtf8("../figure/Crear.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) | |
|
868 | self.actCreateObj.setIcon(icon4) | |
|
869 | self.actCreateObj.setObjectName(_fromUtf8("actCreateObj")) | |
|
870 | self.menuFileCerrarObj = QtGui.QAction(MainWindow) | |
|
871 | self.menuFileCerrarObj.setObjectName(_fromUtf8("menuFileCerrarObj")) | |
|
872 | self.menuFILE.addAction(self.menuFileAbrirObj) | |
|
873 | self.menuFILE.addAction(self.menuFileCrearObj) | |
|
874 | self.menuFILE.addAction(self.menuFileGuardarObj) | |
|
875 | self.menuFILE.addAction(self.menuFileCerrarObj) | |
|
876 | self.menuRUN.addAction(self.menuRUNStartObj) | |
|
877 | self.menuRUN.addAction(self.menuRUNPausaObj) | |
|
878 | self.menuOPTIONS.addAction(self.menuOptConfigLogfileObj) | |
|
879 | self.menuOPTIONS.addAction(self.menuOptConfigserverObj) | |
|
880 | self.menuHELP.addAction(self.menuHELPAboutObj) | |
|
881 | self.menuHELP.addAction(self.menuHELPPrfObj) | |
|
894 | 882 | self.menuBar.addAction(self.menuFILE.menuAction()) |
|
895 | 883 | self.menuBar.addAction(self.menuRUN.menuAction()) |
|
896 | 884 | self.menuBar.addAction(self.menuOPTIONS.menuAction()) |
|
897 | 885 | self.menuBar.addAction(self.menuHELP.menuAction()) |
|
898 | 886 | self.toolBar.addSeparator() |
|
887 | self.toolBar.addAction(self.actOpenObj) | |
|
899 | 888 | self.toolBar.addSeparator() |
|
900 |
self.toolBar.addAction(self.act |
|
|
901 | self.toolBar.addSeparator() | |
|
902 | self.toolBar.addAction(self.actioncreateObj) | |
|
889 | self.toolBar.addAction(self.actCreateObj) | |
|
903 | 890 | self.toolBar.addSeparator() |
|
904 | 891 | self.toolBar.addSeparator() |
|
905 |
self.toolBar.addAction(self.act |
|
|
892 | self.toolBar.addAction(self.actSaveObj) | |
|
906 | 893 | self.toolBar.addSeparator() |
|
907 | 894 | self.toolBar.addSeparator() |
|
908 |
self.toolBar.addAction(self.act |
|
|
895 | self.toolBar.addAction(self.actPlayObj) | |
|
909 | 896 | self.toolBar.addSeparator() |
|
910 | 897 | self.toolBar.addSeparator() |
|
911 |
self.toolBar.addAction(self.act |
|
|
898 | self.toolBar.addAction(self.actStopObj) | |
|
912 | 899 | self.toolBar.addSeparator() |
|
913 | 900 | |
|
914 | 901 | self.retranslateUi(MainWindow) |
|
915 | self.tabWidget.setCurrentIndex(0) | |
|
916 |
self.tabWidget |
|
|
917 |
self.tabWidget |
|
|
918 |
self.tabWidget |
|
|
902 | self.tabWidgetProject.setCurrentIndex(0) | |
|
903 | self.tabWidgetVol.setCurrentIndex(0) | |
|
904 | self.tabWidgetSpec.setCurrentIndex(0) | |
|
905 | self.tabWidgetCor.setCurrentIndex(2) | |
|
919 | 906 | self.tabWidget_2.setCurrentIndex(0) |
|
920 | 907 | QtCore.QMetaObject.connectSlotsByName(MainWindow) |
|
921 | 908 | |
|
922 | 909 | def retranslateUi(self, MainWindow): |
|
923 | 910 | MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) |
|
924 | 911 | self.label_46.setText(QtGui.QApplication.translate("MainWindow", "Project Properties", None, QtGui.QApplication.UnicodeUTF8)) |
|
925 | 912 | self.label.setText(QtGui.QApplication.translate("MainWindow", "Project Explorer", None, QtGui.QApplication.UnicodeUTF8)) |
|
926 | self.addpBtn.setText(QtGui.QApplication.translate("MainWindow", "PROJECT", None, QtGui.QApplication.UnicodeUTF8)) | |
|
913 | self.addprojectBtn.setText(QtGui.QApplication.translate("MainWindow", "PROJECT", None, QtGui.QApplication.UnicodeUTF8)) | |
|
927 | 914 | self.addUnitProces.setText(QtGui.QApplication.translate("MainWindow", "PROCESSING UNIT", None, QtGui.QApplication.UnicodeUTF8)) |
|
928 | 915 | self.label_55.setText(QtGui.QApplication.translate("MainWindow", "Read Mode:", None, QtGui.QApplication.UnicodeUTF8)) |
|
929 | 916 | self.readModeCmBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "OffLine", None, QtGui.QApplication.UnicodeUTF8)) |
|
930 | 917 | self.readModeCmBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "OnLine", None, QtGui.QApplication.UnicodeUTF8)) |
|
931 | 918 | self.dataWaitLine.setText(QtGui.QApplication.translate("MainWindow", "Wait(sec):", None, QtGui.QApplication.UnicodeUTF8)) |
|
932 | 919 | self.dataTypeLine.setText(QtGui.QApplication.translate("MainWindow", "Data type :", None, QtGui.QApplication.UnicodeUTF8)) |
|
933 | 920 | self.dataPathline.setText(QtGui.QApplication.translate("MainWindow", "Data Path :", None, QtGui.QApplication.UnicodeUTF8)) |
|
934 | 921 | self.dataTypeCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) |
|
935 | 922 | self.dataTypeCmbBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "Spectra", None, QtGui.QApplication.UnicodeUTF8)) |
|
936 | 923 | self.dataPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
937 |
self.dataOperationModeline.setText(QtGui.QApplication.translate("MainWindow", "Project |
|
|
924 | self.dataOperationModeline.setText(QtGui.QApplication.translate("MainWindow", "Project Name :", None, QtGui.QApplication.UnicodeUTF8)) | |
|
938 | 925 | self.dataStartLine.setText(QtGui.QApplication.translate("MainWindow", "Start date :", None, QtGui.QApplication.UnicodeUTF8)) |
|
939 | 926 | self.dataEndline.setText(QtGui.QApplication.translate("MainWindow", "End date :", None, QtGui.QApplication.UnicodeUTF8)) |
|
940 | 927 | self.LTReferenceRdBtn.setText(QtGui.QApplication.translate("MainWindow", "Local time frame of reference", None, QtGui.QApplication.UnicodeUTF8)) |
|
941 | 928 | self.dataOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
942 | 929 | self.dataCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
943 | 930 | self.dataInitialTimeLine.setText(QtGui.QApplication.translate("MainWindow", "Start Time:", None, QtGui.QApplication.UnicodeUTF8)) |
|
944 | 931 | self.dataFinelTimeLine.setText(QtGui.QApplication.translate("MainWindow", "Final Time:", None, QtGui.QApplication.UnicodeUTF8)) |
|
945 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) | |
|
932 | self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tab_5), QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) | |
|
946 | 933 | self.selecChannelopVolCEB.setText(QtGui.QApplication.translate("MainWindow", "Select Channels", None, QtGui.QApplication.UnicodeUTF8)) |
|
947 | 934 | self.selecHeighopVolCEB.setText(QtGui.QApplication.translate("MainWindow", "Select Heights", None, QtGui.QApplication.UnicodeUTF8)) |
|
948 | 935 | self.removeDCCEB.setText(QtGui.QApplication.translate("MainWindow", "Remove DC", None, QtGui.QApplication.UnicodeUTF8)) |
|
949 | 936 | self.profileSelecopVolCEB.setText(QtGui.QApplication.translate("MainWindow", "Profile Selector", None, QtGui.QApplication.UnicodeUTF8)) |
|
950 | 937 | self.decodeCEB.setText(QtGui.QApplication.translate("MainWindow", "Decodification", None, QtGui.QApplication.UnicodeUTF8)) |
|
951 | 938 | self.coherentIntegrationCEB.setText(QtGui.QApplication.translate("MainWindow", "Coherent Integration", None, QtGui.QApplication.UnicodeUTF8)) |
|
952 | 939 | self.dataopVolOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
953 | 940 | self.dataopVolCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
954 |
self.tabWidget |
|
|
941 | self.tabWidgetVol.setTabText(self.tabWidgetVol.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) | |
|
955 | 942 | self.datalabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) |
|
956 | 943 | self.dataPotlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Potencia", None, QtGui.QApplication.UnicodeUTF8)) |
|
957 | 944 | self.label_13.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) |
|
958 | 945 | self.label_14.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) |
|
959 | 946 | self.toolButton_2.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
960 | 947 | self.dataGraphVolOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
961 | 948 | self.dataGraphVolCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
962 | 949 | self.dataPathlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
963 | 950 | self.dataPrefixlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) |
|
964 | 951 | self.dataGraphicsVolPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
965 | 952 | self.label_6.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) |
|
966 | 953 | self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) |
|
967 | 954 | self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) |
|
968 |
self.tabWidget |
|
|
955 | self.tabWidgetVol.setTabText(self.tabWidgetVol.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) | |
|
969 | 956 | self.dataPathlabelOutVol.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
970 | 957 | self.dataOutVolPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
971 | 958 | self.dataSufixlabelOutVol.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) |
|
972 | 959 | self.datasaveVolOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
973 | 960 | self.datasaveVolCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
974 |
self.tabWidget |
|
|
975 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) | |
|
961 | self.tabWidgetVol.setTabText(self.tabWidgetVol.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) | |
|
962 | self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tab_7), QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) | |
|
976 | 963 | self.nFFTPointOpSpecCEB.setText(QtGui.QApplication.translate("MainWindow", "nFFTPoints", None, QtGui.QApplication.UnicodeUTF8)) |
|
977 | 964 | self.selecChannelopSpecCEB.setText(QtGui.QApplication.translate("MainWindow", "Select Channel", None, QtGui.QApplication.UnicodeUTF8)) |
|
978 | 965 | self.IncohIntOpSpecCEB.setText(QtGui.QApplication.translate("MainWindow", "Incoh. Integration", None, QtGui.QApplication.UnicodeUTF8)) |
|
979 | 966 | self.DecoderOpSpecCEB.setText(QtGui.QApplication.translate("MainWindow", "Decoder", None, QtGui.QApplication.UnicodeUTF8)) |
|
980 | 967 | self.checkBox_52.setText(QtGui.QApplication.translate("MainWindow", "Operation 4", None, QtGui.QApplication.UnicodeUTF8)) |
|
981 | 968 | self.comboBox_23.setItemText(0, QtGui.QApplication.translate("MainWindow", "Barker 3", None, QtGui.QApplication.UnicodeUTF8)) |
|
982 | 969 | self.comboBox_23.setItemText(1, QtGui.QApplication.translate("MainWindow", "Barker 7", None, QtGui.QApplication.UnicodeUTF8)) |
|
983 | 970 | self.comboBox_23.setItemText(2, QtGui.QApplication.translate("MainWindow", "From File", None, QtGui.QApplication.UnicodeUTF8)) |
|
984 | 971 | self.dataopSpecOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
985 | 972 | self.dataopSpecCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
986 |
self.tabWidget |
|
|
973 | self.tabWidgetSpec.setTabText(self.tabWidgetSpec.indexOf(self.tab_8), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) | |
|
987 | 974 | self.dataGraphSpecCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
988 | 975 | self.RTIPlotGraphLabel.setText(QtGui.QApplication.translate("MainWindow", "RTI", None, QtGui.QApplication.UnicodeUTF8)) |
|
989 | 976 | self.CrossSpectraPlotGraphLabel.setText(QtGui.QApplication.translate("MainWindow", "CROSS-CORRELATION+", None, QtGui.QApplication.UnicodeUTF8)) |
|
990 | 977 | self.SpectraPlotGraphLabel.setText(QtGui.QApplication.translate("MainWindow", "CROSS-SPECTRA", None, QtGui.QApplication.UnicodeUTF8)) |
|
991 | 978 | self.label_86.setText(QtGui.QApplication.translate("MainWindow", "NOISE", None, QtGui.QApplication.UnicodeUTF8)) |
|
992 | 979 | self.dataGraphSpecOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
993 | 980 | self.label_87.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) |
|
994 | 981 | self.label_88.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) |
|
995 | 982 | self.toolButton_18.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
996 | 983 | self.label_78.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
997 | 984 | self.label_79.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) |
|
998 | 985 | self.toolButton_17.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
999 | 986 | self.label_80.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) |
|
1000 | 987 | self.label_81.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) |
|
1001 | 988 | self.label_82.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) |
|
1002 |
self.tabWidget |
|
|
989 | self.tabWidgetSpec.setTabText(self.tabWidgetSpec.indexOf(self.tab_10), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1003 | 990 | self.label_22.setText(QtGui.QApplication.translate("MainWindow", "Data format", None, QtGui.QApplication.UnicodeUTF8)) |
|
1004 | 991 | self.label_20.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
1005 | 992 | self.toolButton_5.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
1006 | 993 | self.label_21.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) |
|
1007 | 994 | self.datasaveSpecOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
1008 | 995 | self.datasaveSpecCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
1009 |
self.tabWidget |
|
|
1010 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), QtGui.QApplication.translate("MainWindow", "Spectra", None, QtGui.QApplication.UnicodeUTF8)) | |
|
996 | self.tabWidgetSpec.setTabText(self.tabWidgetSpec.indexOf(self.tab_11), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) | |
|
997 | self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tab_6), QtGui.QApplication.translate("MainWindow", "Spectra", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1011 | 998 | self.checkBox_53.setText(QtGui.QApplication.translate("MainWindow", "Integration", None, QtGui.QApplication.UnicodeUTF8)) |
|
1012 | 999 | self.dataopCorrOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
1013 | 1000 | self.dataopCorrCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
1014 |
self.tabWidget |
|
|
1001 | self.tabWidgetCor.setTabText(self.tabWidgetCor.indexOf(self.tab_12), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1015 | 1002 | self.label_95.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) |
|
1016 | 1003 | self.label_96.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) |
|
1017 | 1004 | self.label_97.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) |
|
1018 | 1005 | self.label_89.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) |
|
1019 | 1006 | self.label_90.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) |
|
1020 | 1007 | self.toolButton_19.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
1021 | 1008 | self.label_91.setText(QtGui.QApplication.translate("MainWindow", "POTENCIA", None, QtGui.QApplication.UnicodeUTF8)) |
|
1022 | 1009 | self.dataGraphCorrOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
1023 | 1010 | self.dataGraphCorrCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
1024 | 1011 | self.label_98.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
1025 | 1012 | self.label_99.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) |
|
1026 | 1013 | self.toolButton_20.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
1027 |
self.tabWidget |
|
|
1014 | self.tabWidgetCor.setTabText(self.tabWidgetCor.indexOf(self.tab_13), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1028 | 1015 | self.label_17.setText(QtGui.QApplication.translate("MainWindow", "Data format", None, QtGui.QApplication.UnicodeUTF8)) |
|
1029 | 1016 | self.label_18.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
1030 | 1017 | self.toolButton_4.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) |
|
1031 | 1018 | self.label_19.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) |
|
1032 | 1019 | self.datasaveCorrOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) |
|
1033 | 1020 | self.dataSaveCorrCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) |
|
1034 |
self.tabWidget |
|
|
1035 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), QtGui.QApplication.translate("MainWindow", "Correlation", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1021 | self.tabWidgetCor.setTabText(self.tabWidgetCor.indexOf(self.tab_14), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1022 | self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tab_9), QtGui.QApplication.translate("MainWindow", "Correlation", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1036 | 1023 | self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Ouput Branch", None, QtGui.QApplication.UnicodeUTF8)) |
|
1037 | 1024 | self.menuFILE.setTitle(QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) |
|
1038 | 1025 | self.menuRUN.setTitle(QtGui.QApplication.translate("MainWindow", "Run", None, QtGui.QApplication.UnicodeUTF8)) |
|
1039 | 1026 | self.menuOPTIONS.setTitle(QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8)) |
|
1040 | 1027 | self.menuHELP.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) |
|
1041 | self.toolBar_2.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar_2", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1042 | 1028 | self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8)) |
|
1043 |
self. |
|
|
1044 |
self. |
|
|
1045 |
self. |
|
|
1046 |
self. |
|
|
1047 |
self. |
|
|
1048 |
self. |
|
|
1049 |
self. |
|
|
1050 |
self. |
|
|
1051 |
self. |
|
|
1052 |
self.act |
|
|
1053 |
self.act |
|
|
1054 |
self.act |
|
|
1055 |
self.act |
|
|
1056 |
self.act |
|
|
1057 |
self.act |
|
|
1058 |
self.act |
|
|
1059 |
self.act |
|
|
1060 |
self.act |
|
|
1061 |
self.act |
|
|
1062 |
self. |
|
|
1029 | self.menuFileAbrirObj.setText(QtGui.QApplication.translate("MainWindow", "Abrir", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1030 | self.menuFileCrearObj.setText(QtGui.QApplication.translate("MainWindow", "Crear", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1031 | self.menuFileGuardarObj.setText(QtGui.QApplication.translate("MainWindow", "Guardar", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1032 | self.menuRUNStartObj.setText(QtGui.QApplication.translate("MainWindow", "start", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1033 | self.menuRUNPausaObj.setText(QtGui.QApplication.translate("MainWindow", "pausa", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1034 | self.menuOptConfigLogfileObj.setText(QtGui.QApplication.translate("MainWindow", "configLogfileObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1035 | self.menuOptConfigserverObj.setText(QtGui.QApplication.translate("MainWindow", "configServerFTP", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1036 | self.menuHELPAboutObj.setText(QtGui.QApplication.translate("MainWindow", "aboutObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1037 | self.menuHELPPrfObj.setText(QtGui.QApplication.translate("MainWindow", "prfObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1038 | self.actOpenObj.setText(QtGui.QApplication.translate("MainWindow", "openObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1039 | self.actOpenObj.setToolTip(QtGui.QApplication.translate("MainWindow", "open file", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1040 | self.actSaveObj.setText(QtGui.QApplication.translate("MainWindow", "saveObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1041 | self.actSaveObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Save", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1042 | self.actPlayObj.setText(QtGui.QApplication.translate("MainWindow", "playObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1043 | self.actPlayObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Play", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1044 | self.actStopObj.setText(QtGui.QApplication.translate("MainWindow", "stopObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1045 | self.actStopObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Stop", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1046 | self.actCreateObj.setText(QtGui.QApplication.translate("MainWindow", "createObj", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1047 | self.actCreateObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Create", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1048 | self.menuFileCerrarObj.setText(QtGui.QApplication.translate("MainWindow", "Cerrar", None, QtGui.QApplication.UnicodeUTF8)) | |
|
1063 | 1049 | |
|
1064 | 1050 | from PyQt4 import Qsci |
|
1065 | 1051 | |
|
1066 | 1052 | if __name__ == "__main__": |
|
1067 | 1053 | import sys |
|
1068 | 1054 | app = QtGui.QApplication(sys.argv) |
|
1069 | 1055 | MainWindow = QtGui.QMainWindow() |
|
1070 | 1056 | ui = Ui_MainWindow() |
|
1071 | 1057 | ui.setupUi(MainWindow) |
|
1072 | 1058 | MainWindow.show() |
|
1073 | 1059 | sys.exit(app.exec_()) |
|
1074 | 1060 |
General Comments 0
You need to be logged in to leave comments.
Login now