From f0e2ebb4337fb264c9a54d11496428f8298fff85 2012-12-03 20:21:30 From: Alexander Valdez Date: 2012-12-03 20:21:30 Subject: [PATCH] VERSION1-GUI -CARPETAS : VIEWER,VIEWCONTROLLER -Test: testSignalChainGUI.py --- diff --git a/schainpy/gui/__init__.py b/schainpy/gui/__init__.py new file mode 100644 index 0000000..6eac6ef --- /dev/null +++ b/schainpy/gui/__init__.py @@ -0,0 +1 @@ +from viewcontroller import * \ No newline at end of file diff --git a/schainpy/gui/testSignalChainGUI.py b/schainpy/gui/testSignalChainGUI.py new file mode 100644 index 0000000..ef7e935 --- /dev/null +++ b/schainpy/gui/testSignalChainGUI.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +#from PyQt4 import QtCore, QtGui +from PyQt4.QtGui import QApplication +#from PyQt4.QtCore import pyqtSignature +#from Controller.workspace import Workspace +#from Controller.mainwindow import InitWindow +#from Controller.initwindow import InitWindow +#from Controller.window import window +from viewcontroller.mainwindow import MainWindow +#import time + +def main(): + import sys + app = QApplication(sys.argv) + #wnd=InitWindow() + wnd=MainWindow() + #wnd=Workspace() + wnd.show() + sys.exit(app.exec_()) + + +if __name__ == "__main__": + main() diff --git a/schainpy/gui/viewcontroller/__init__.py b/schainpy/gui/viewcontroller/__init__.py new file mode 100644 index 0000000..1d4d561 --- /dev/null +++ b/schainpy/gui/viewcontroller/__init__.py @@ -0,0 +1 @@ +from viewcontroller import * \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/controller1.py b/schainpy/gui/viewcontroller/controller1.py new file mode 100644 index 0000000..ea29145 --- /dev/null +++ b/schainpy/gui/viewcontroller/controller1.py @@ -0,0 +1,358 @@ +''' +Created on September , 2012 +@author: +''' +from xml.etree.ElementTree import Element, SubElement, ElementTree +from xmlprint import prettify +from xml.etree import ElementTree as ET +import sys + +class Project(): + + id = None + name = None + description = None + readBranchObjList = None + procBranchObjList = None + + def __init__(self): + +# self.id = id +# self.name = name +# self.description = description + + self.readBranchObjList = [] + self.procBranchObjList = [] + + def setParms(self, id, name, description): + + self.id = id + self.name = name + self.description = description + + def addReadBranch(self,id, dpath, dataformat, opMode,readMode, startDate='', endDate='', startTime='', endTime=''): + + #id = len(self.readBranchObjList) + 1 + + readBranchObj = ReadBranch(id, dpath, dataformat, opMode , readMode, startDate, endDate, startTime, endTime) + + self.readBranchObjList.append(readBranchObj) + + return readBranchObj + + def addProcBranch(self, id,name): + + # id = len(self.procBranchObjList) + 1 + + procBranchObj = ProcBranch(id, name) + + self.procBranchObjList.append(procBranchObj) + + return procBranchObj + + def makeXml(self): + + projectElement = Element('Project') + projectElement.set('id', str(self.id)) + projectElement.set('name', self.name) + #projectElement.set('description', self.description) + + se = SubElement(projectElement, 'description',description=self.description)#ESTO ES LO ULTIMO QUE SE TRABAJO + #se.text = self.description #ULTIMA MODIFICACION PARA SACAR UN SUB ELEMENT + + for readBranchObj in self.readBranchObjList: + readBranchObj.makeXml(projectElement) + + for branchObj in self.procBranchObjList: + branchObj.makeXml(projectElement) + + self.projectElement = projectElement + + def writeXml(self, filename): + + self.makeXml() + ElementTree(self.projectElement).write(filename, method='xml') + #print prettify(self.projectElement) + +class ReadBranch(): + + id = None + dpath = None + dataformat = None + opMode =None + readMode = None + startDate = None + endDate = None + startTime = None + endTime = None + + def __init__(self, id, dpath, dataformat,opMode, readMode, startDate, endDate, startTime, endTime): + + self.id = id + self.dpath = dpath + self.dataformat = dataformat + self.opMode = opMode + self.readMode = readMode + self.startDate = startDate + self.endDate = endDate + self.startTime = startTime + self.endTime = endTime + + def makeXml(self, projectElement): + + readBranchElement = SubElement(projectElement, 'readBranch') + readBranchElement.set('id', str(self.id)) + + ########################################################################## + se = SubElement(readBranchElement, 'parameter', name='dpath' , value=self.dpath) + se = SubElement(readBranchElement, 'parameter', name='dataformat', value=self.dataformat) + se = SubElement(readBranchElement, 'parameter', name='opMode' , value=self.opMode) + se = SubElement(readBranchElement, 'parameter', name='startDate' , value=self.startDate) + se = SubElement(readBranchElement, 'parameter', name='endDate' , value=self.endDate) + se = SubElement(readBranchElement, 'parameter', name='startTime' , value=self.startTime) + se = SubElement(readBranchElement, 'parameter', name='endTime' , value=self.endTime) + se = SubElement(readBranchElement, 'parameter', name='readMode' , value=str(self.readMode)) + +class ProcBranch(): + + id = None + name = None + + upObjList = None + upsubObjList=None + + def __init__(self, id, name): + + self.id = id + self.name = name + + self.upObjList = [] + self.upsubObjList = [] + + def addUP(self,id, name, type): + + #id = len(self.upObjList) + 1 + + upObj = UP(id, name, type) + + self.upObjList.append(upObj) + + return upObj + + def addUPSUB(self,id, name, type): + + # id = len(self.upsubObjList) + 1 + + upsubObj = UPSUB(id, name, type) + + self.upsubObjList.append(upsubObj) + + return upsubObj + + def makeXml(self, projectElement): + + procBranchElement = SubElement(projectElement, 'procBranch') + procBranchElement.set('id', str(self.id)) + procBranchElement.set('name', self.name) + + for upObj in self.upObjList: + upObj.makeXml(procBranchElement) + + for upsubObj in self.upsubObjList: + upsubObj.makeXml(procBranchElement) + +class UP(): + + id = None + name = None + type = None + upsubObjList=None + opObjList = None + + def __init__(self, id, name, type): + + self.id = id + self.name = name + self.type = type + self.upsubObjList=[] + self.up2subObjList=[] + self.opObjList = [] + + def addOperation(self,id, name, priority): + + #id = len(self.opObjList) + 1 + + opObj = Operation(id, name, priority) + + self.opObjList.append(opObj) + + return opObj + + def addUPSUB(self,id, name, type): + +# id = len(self.upsubObjList) + 1 + + upsubObj = UPSUB(id, name, type) + + self.upsubObjList.append(upsubObj) + + return upsubObj + + def addUP2SUB(self,id, name, type): + +# id = len(self.upsubObjList) + 1 + + up2subObj = UP2SUB(id, name, type) + + self.up2subObjList.append(up2subObj) + + return up2subObj + + def makeXml(self, procBranchElement): + + upElement = SubElement(procBranchElement, 'UP') + upElement.set('id', str(self.id)) + upElement.set('name', self.name) + upElement.set('type', self.type) + + for opObj in self.opObjList: + opObj.makeXml(upElement) + + for upsubObj in self.upsubObjList: + upsubObj.makeXml(upElement) + +class UPSUB(): + + id = None + name = None + type = None + opObjList = None + up2subObjList=None + + + def __init__(self, id, name, type): + + self.id = id + self.name = name + self.type = type + self.up2subObjList = [] + self.opObjList = [] + + def addOperation(self, name, priority): + + id = len(self.opObjList) + 1 + + opObj = Operation(id, name, priority) + + self.opObjList.append(opObj) + + return opObj + + + def addUP2SUB(self,id, name, type): +# +# id = len(self.opObjList) + 1 + up2subObj = UP2SUB(id, name, type) + + self.up2subObjList.append(up2subObj) + + return up2subObj + + def makeXml(self, upElement): + + upsubElement = SubElement(upElement, 'UPSUB') + upsubElement.set('id', str(self.id)) + upsubElement.set('name', self.name) + upsubElement.set('type', self.type) + + for opObj in self.opObjList: + opObj.makeXml(upsubElement) + + for up2subObj in self.up2subObjList: + up2subObj.makeXml(upsubElement) + +class UP2SUB(): + + id = None + name = None + type = None + opObjList = None + + def __init__(self, id, name, type): + + self.id = id + self.name = name + self.type = type + self.opObjList = [] + + def addOperation(self, name, priority): + + id = len(self.opObjList) + 1 + + opObj = Operation(id, name, priority) + + self.opObjList.append(opObj) + + return opObj + + def makeXml(self,upsubElement): + up2subElement = SubElement(upsubElement, 'UPD2SUB') + up2subElement.set('id', str(self.id)) + up2subElement.set('name', self.name) + up2subElement.set('type', self.type) + + for opObj in self.opObjList: + opObj.makeXml(up2subElement) + +class Operation(): + + id = 0 + name = None + priority = None + parmObjList = [] + + def __init__(self, id, name, priority): + + self.id = id + self.name = name + self.priority = priority + + self.parmObjList = [] + + def addParameter(self, name, value): + + id = len(self.parmObjList) + 1 + + parmObj = Parameter(id, name, value) + + self.parmObjList.append(parmObj) + + return parmObj + + def makeXml(self, upElement): + + opElement = SubElement(upElement, 'Operation') + opElement.set('id', str(self.id)) + opElement.set('name', self.name) + opElement.set('priority', str(self.priority)) + + for parmObj in self.parmObjList: + parmObj.makeXml(opElement) + +class Parameter(): + + id = None + name = None + value = None + + def __init__(self, id, name, value): + + self.id = id + self.name = name + self.value = value + + def makeXml(self, opElement): + + parmElement = SubElement(opElement, 'Parameter') + parmElement.set('name', self.name) + parmElement.set('value', self.value) \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/initwindow.py b/schainpy/gui/viewcontroller/initwindow.py new file mode 100644 index 0000000..2fdb27a --- /dev/null +++ b/schainpy/gui/viewcontroller/initwindow.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- + +""" +Module implementing Pantalla. +""" +from PyQt4.QtGui import QMainWindow +from PyQt4.QtCore import pyqtSignature +from workspace import Workspace +#from mainwindow import Workspace +from GUI.ui_initwindow import Ui_InitWindow + +class InitWindow(QMainWindow, Ui_InitWindow): + """ + Class documentation goes here. + """ + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + + + @pyqtSignature("") + def on_pushButton_2_clicked(self): + """ + Close First Window + """ + self.close() + + @pyqtSignature("") + def on_pushButton_clicked(self): + """ + Show Workspace Window + """ + self.showmeconfig() + + def showmeconfig(self): + ''' + Method to call Workspace + ''' + self.config=Workspace() + self.config.closed.connect(self.show) + self.config.show() + self.hide() + + + diff --git a/schainpy/gui/viewcontroller/mainwindow.py b/schainpy/gui/viewcontroller/mainwindow.py new file mode 100644 index 0000000..ac84e9e --- /dev/null +++ b/schainpy/gui/viewcontroller/mainwindow.py @@ -0,0 +1,1034 @@ +# -*- coding: utf-8 -*- +""" +Module implementing MainWindow. +#+ ######################INTERFAZ DE USUARIO V1.1################## +""" +from PyQt4.QtGui import QMainWindow +from PyQt4.QtCore import pyqtSignature +from PyQt4.QtCore import pyqtSignal + +from PyQt4 import QtCore +from PyQt4 import QtGui + +from timeconversions import Doy2Date + +from modelProperties import person_class +from modelProperties import TreeItem + + +from viewer.ui_window import Ui_window +from viewer.ui_mainwindow import Ui_MainWindow +from viewer.ui_workspace import Ui_Workspace +from viewer.ui_initwindow import Ui_InitWindow + +from controller1 import Project,ReadBranch,ProcBranch,UP,UPSUB,UP2SUB,Operation,Parameter + +import os + +HORIZONTAL_HEADERS = ("ITEM :"," DATOS : " ) + +HORIZONTAL = ("RAMA :",) + +class MainWindow(QMainWindow, Ui_MainWindow): + """ + Class documentation goes here. + #*##################VENTANA CUERPO DEL PROGRAMA#################### + """ + closed=pyqtSignal() + def __init__(self, parent = None): + """ + Constructor + 1-CARGA DE ARCHIVOS DE CONFIGURACION SI EXISTIERA.SI EXISTE EL ARCHIVO PROYECT.xml + 2- ESTABLECE CIERTOS PARAMETROS PARA PRUEBAS + 3- CARGA LAS VARIABLES DE LA CLASE CON LOS PARAMETROS SELECCIONADOS + 4-VALIDACION DE LA RUTA DE LOS DATOS Y DEL PROYECTO + 5-CARGA LOS DOYS ENCONTRADOS PARA SELECCIONAR EL RANGO + 6-CARGA UN PROYECTO + """ + + print "Inicio de Programa" + QMainWindow.__init__(self, parent) + + self.setupUi(self) + + QtGui.QToolTip.setFont(QtGui.QFont('SansSerif', 10)) + self.addoBtn.setToolTip('Add_Unit_Process') + self.addbBtn.setToolTip('Add_Branch') + self.addpBtn.setToolTip('Add_New_Project') + self.ventanaproject=0 + + self.var=0 + self.variableList=[] # Lista de DOYs + self.iniciodisplay=0 + self.year=0 + self.OpMode=0 + self.starTem=0 + self.endTem=0 +#*###################1######################## + if os.path.isfile("Proyect.xml"): + self.getParam() + self.textedit.append("Parameters were loaded from configuration file") +#*###################2######################## + else: + self.setParam() +#*###################3######################### + self.setVariables() +#*###################4######################### + self.statusDpath = self.existDir(self.dataPath) + #self.statusRpath = self.dir_exists(self.var_Rpath, self) +#*###################5 ######################## + self.loadYears() + self.loadDays() +#================================ + + self.model = QtGui.QStandardItemModel() + self.treeView.setModel(self.model) + self.treeView.clicked.connect(self.treefunction1) +#==========Project==========# + self.projectObjList= [] + self.ProjectObj=0 + self.Pro=0 + self.proObjList=[] + self.valuep=1 + self.namep=0 + self.idp=0 + self.refresh=0 + self.countBperPObjList= [] +#===========Branch==========# + self.branchObjList=[] + self.BranchObj=0 + self.braObjList=[] + self.Bra=0 + self.idb=0 + self.nameb=0 + self.countVperBObjList= [] +#===========Voltage==========# + self.voltageObjList=[] + self.VoltageObj=0 + self.Vol=0 + self.volObjList=[] + self.idv=0 + self.namev=0 +#===========Spectra==========# + self.spectraObjList=[] + self.SpectraObj=0 + self.Spec=0 + self.specObjList=[] + self.ids=0 + self.names=0 +#===========Correlation==========# + self.correlationObjList=[] + self.CorrelationObj=0 + self.Cor=0 + self.corObjList=[] + self.idc=0 + self.namec=0 + self.datatype=0 + +#================= + #self.window=Window() + self.Workspace=Workspace() + #self.DataType=0 + + +#*################### + + def treefunction1(self, index): + a= index.model().itemFromIndex(index).text() + print a + b=a[8:10] + self.valuep=b + c=a[0:7] + self.namep=c + +# def ventanaconfigura(self): +# ''' +# METODO QUE SE ENCARGA DE LLAMAR A LA CLASE +# VENTANA CONFIGURACION DE PROYECTO +# ''' +# self.Luna =Workspace(self) +# self.Luna.closed.connect(self.show) +# self.Luna.show() +# self.hide() + +# def closeEvent(self, event): +# self.closed.emit() +# event.accept() + + #+######################BARRA DE MENU################### + + # *####################MENU FILE ######################### + + @pyqtSignature("") + def on_actionabrirObj_triggered(self): + """ + Ubicado en la Barra de Menu, OPCION FILE, CARGA UN ARCHIVO DE CONFIGURACION ANTERIOR + """ + # TODO: not implemented yet + #raise NotImplementedError + + + @pyqtSignature("") + def on_actioncrearObj_triggered(self): + """ + CREACION DE UN NUEVO EXPERIMENTO + """ + self.on_addpBtn_clicked() + + @pyqtSignature("") + def on_actionguardarObj_triggered(self): + """ + GUARDAR EL ARCHIVO DE CONFIGURACION XML + """ + # TODO: not implemented yet + #raise NotImplementedError + self.SaveConfig() + + @pyqtSignature("") + def on_actionCerrarObj_triggered(self): + """ + CERRAR LA APLICACION GUI + """ + self.close() + +#*######################### MENU RUN ################## + + @pyqtSignature("") + def on_actionStartObj_triggered(self): + """ + EMPEZAR EL PROCESAMIENTO. + """ + # TODO: not implemented yet + #raise NotImplementedErr + + @pyqtSignature("") + def on_actionPausaObj_triggered(self): + """ + PAUSAR LAS OPERACIONES + """ + # TODO: not implemented yet + # raise NotImplemente + +#*###################MENU OPTIONS###################### + + @pyqtSignature("") + def on_actionconfigLogfileObj_triggered(self): + """ + Slot Documentation goes here + """ + self.Luna = Workspace(self) + #print self.Luna.dirCmbBox.currentText() + + @pyqtSignature("") + def on_actionconfigserverObj_triggered(self): + """ + CONFIGURACION DE SERVIDOR. + """ + # TODO: not implemented yet + #raise NotImplementedError + +#*################# MENU HELPS########################## + + @pyqtSignature("") + def on_actionAboutObj_triggered(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + + @pyqtSignature("") + def on_actionPrfObj_triggered(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + +#+################################################## + + @pyqtSignature("") + def on_actionOpenObj_triggered(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise No + + @pyqtSignature("") + def on_actioncreateObj_triggered(self): + """ + Slot documentation goes here. + """ + self.on_addpBtn_clicked() + + @pyqtSignature("") + def on_actionstopObj_triggered(self): + """ + CARGA UN ARCHIVO DE CONFIGURACION ANTERIOR + """ + # TODO: not implemented yet + #raise NotImplementedError + + @pyqtSignature("") + def on_actionPlayObj_triggered(self): + """ + EMPEZAR EL PROCESAMIENTO. + """ + # TODO: not implemented yet + #raise NotImplementedError + +#*################VENTANA EXPLORADOR DE PROYECTOS###################### + + @pyqtSignature("") + def on_addpBtn_clicked(self): + """ + AADIR UN NUEVO PROYECTO + """ + self.windowshow() + self.idp += 1 + self.Pro=Project() + self.proObjList.append(self.Pro) + self.parentItem=self.model.invisibleRootItem() + self.ProjectObj = QtGui.QStandardItem(QtCore.QString("Project %0").arg(self.idp)) + self.parentItem.appendRow(self.ProjectObj) + self.projectObjList.append(self.ProjectObj) + self.parentItem=self.ProjectObj + + @pyqtSignature("") + def on_addbBtn_clicked(self): + """ + AÑADIR UNA RAMA DE PROCESAMIENTO + """ + #print self.valuep + #print self.namep + #print self.valueb + + #if self.namep ==str("Project"): + self.idb += 1 + self.Bra=self.proObjList[int(self.valuep)-1].addProcBranch(id=self.idb,name='Branch') + self.braObjList.append(self.Bra) + self.parentItem=self.projectObjList[int(self.valuep)-1] + #= + self.countBperPObjList.append(self.valuep) +# LisBperP=self.countBperPObjList + + self.BranchObj= QtGui.QStandardItem(QtCore.QString("Branch %1 ").arg(self.idb)) + self.parentItem.appendRow(self.BranchObj) + self.branchObjList.append(self.BranchObj) + self.parentItem=self.BranchObj + + @pyqtSignature("") + def on_addoBtn_clicked(self): + """ + AÑADIR UN TIPO DE PROCESAMIENTO. + """ + if self.namep ==str("Project"): + self.totalTree() +#===================== + if self.namep ==str("Voltage"): + self.ids += 1 + self.Spec=self.volObjList[int(self.valuep)-1].addUPSUB(id=self.ids, name='Spectra', type='Pri') + self.specObjList.append(self.Spec) + self.parentItem=self.voltageObjList[int(self.valuep)-1] + self.SpectraObj= QtGui.QStandardItem(QtCore.QString("Spectra %2").arg(self.ids)) + self.parentItem.appendRow(self.SpectraObj) + self.spectraObjList.append(self.SpectraObj) + self.parentItem=self.SpectraObj + + if self.namep ==str("Spectra"): + self.idc += 1 + self.Cor=self.specObjList[int(self.valuep)-1].addUP2SUB(id=self.idc, name='Correlation', type='Pri') + self.corObjList.append(self.Cor) + self.parentItem=self.spectraObjList[int(self.valuep)-1] + self.CorrelationObj= QtGui.QStandardItem(QtCore.QString("Correlation %3").arg(self.idc)) + self.parentItem.appendRow(self.CorrelationObj) + self.correlationObjList.append(self.CorrelationObj) + self.parentItem=self.CorrelationObj + + if self.namep == str("Branch "): + if self.DataType== str("r"): + self.idv += 1 + if len(self.valuep)==0: + print "construir rama" + else: + self.Vol=self.braObjList[int(self.valuep)-1].addUP(id=self.idv, name='Voltage', type='Pri') + self.volObjList.append(self.Vol) + self.parentItem=self.branchObjList[int(self.valuep)-1] + self.VoltageObj= QtGui.QStandardItem(QtCore.QString("Voltage %2").arg(self.idv)) + self.parentItem.appendRow(self.VoltageObj) + self.voltageObjList.append(self.VoltageObj) + self.parentItem=self.VoltageObj + + if self.DataType== str("pdata"): + self.ids += 1 + if len(self.valuep)==0: + print "construir rama" + else: + self.Spec=self.braObjList[int(self.valuep)-1].addUPSUB(id=self.ids, name='Spectra', type='Pri') + self.specObjList.append(self.Spec) + self.parentItem=self.branchObjList[int(self.valuep)-1] + self.SpectraObj= QtGui.QStandardItem(QtCore.QString("Spectra %2").arg(self.ids)) + self.parentItem.appendRow(self.SpectraObj) + self.spectraObjList.append(self.SpectraObj) + self.parentItem=self.SpectraObj + + def totalTree(self): + b= self.proObjList[int(self.valuep)-1] + b.procBranchObjList # Objetos de tipo Branch + print "Project"+str(self.valuep) +"Branch", + for i in range(0 , len(b.procBranchObjList)): + print b.procBranchObjList[i].id, #objetos de tipo branch 1,2,3 o 4,5 o 6 + print "" + for i in range(0 , len(b.procBranchObjList)): + print "Branch"+ str(b.procBranchObjList[i].id) + + for i in range(0 , len(b.procBranchObjList)): + print b.procBranchObjList[i].id + c= self.braObjList[(b.procBranchObjList[i].id)-1] + c.upsubObjList + for i in range(0,len(c.upsubObjList)): + print "Spectra"+str(c.upsubObjList[i].id), +#*********************VENTANA CONFIGURACION DE PROYECTOS************************************ + +#***********************PESTAÑA DE PROYECTOS************************ + +#*************************MODO BASICO O AVANZADO***************** + + @pyqtSignature("QString") + def on_operationModeCmbBox_activated(self, p0): + """ + Slot documentation goes here. + """ + pass + +#***********************TIPOS DE DATOS A GRABAR****************************** + + @pyqtSignature("int") + def on_dataFormatCmbBox_activated(self,index): + """ + SE EJECUTA CUANDO SE ELIGE UN ITEM DE LA LISTA + ADEMAS SE CARGA LA LISTA DE DIAS SEGUN EL TIPO DE ARCHIVO SELECCIONADO + """ + self.dataFormatTxt.setReadOnly(True) + if index == 0: + self.DataType ='r' + elif index == 1: + self.DataType ='pdata' + else : + self.DataType ='' + self.dataFormatTxt.setReadOnly(False) + self.dataFormatTxt.setText(self.DataType) +# self.loadDays(self) + + @pyqtSignature("") + def on_dataPathBrowse_clicked(self): + """ + OBTENCION DE LA RUTA DE DATOS + """ + self.dataPath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) + self.dataPathTxt.setText(self.dataPath) + self.statusDpath=self.existDir(self.dataPath) + self.loadYears() + self.loadDays() + + @pyqtSignature("int") + def on_starDateCmbBox_activated(self, index): + """ + SELECCION DEL RANGO DE FECHAS -STAR DATE + """ + var_StopDay_index=self.endDateCmbBox.count() - self.endDateCmbBox.currentIndex() + self.endDateCmbBox.clear() + for i in self.variableList[index:]: + self.endDateCmbBox.addItem(i) + self.endDateCmbBox.setCurrentIndex(self.endDateCmbBox.count() - var_StopDay_index) + self.getsubList() + + @pyqtSignature("int") + def on_endDateCmbBox_activated(self, index): + """ + SELECCION DEL RANGO DE FECHAS-END DATE + """ + var_StartDay_index=self.starDateCmbBox.currentIndex() + var_end_index = self.endDateCmbBox.count() - index + self.starDateCmbBox.clear() + for i in self.variableList[:len(self.variableList) - var_end_index + 1]: + self.starDateCmbBox.addItem(i) + self.starDateCmbBox.setCurrentIndex(var_StartDay_index) + self.getsubList() #Se carga var_sublist[] con el rango de las fechas seleccionadas + + @pyqtSignature("QString") + def on_readModeCmBox_activated(self, p0): + """ + Slot documentation goes here. + """ + print self.readModeCmBox.currentText() + + @pyqtSignature("int") + def on_initialTimeSlider_valueChanged(self, initvalue): + """ + SELECCION DE LA HORA DEL EXPERIMENTO -INITIAL TIME + """ + self.iniciodisplay=initvalue + self.initialtimeLcd.display(initvalue) + self.starTem=initvalue + + @pyqtSignature("int") + def on_finalTimeSlider_valueChanged(self, finalvalue): + """ + SELECCION DE LA HORA DEL EXPERIMENTO -FINAL TIME + """ + finalvalue = self.iniciodisplay + finalvalue + if finalvalue >24: + finalvalue = 24 + self.finaltimeLcd.display(finalvalue) + self.endTem=finalvalue + + @pyqtSignature("QString") + def on_yearCmbBox_activated(self, year): + """ + SELECCION DEL AÑO + """ + self.year = year + #print self.year + + @pyqtSignature("") + def on_dataCancelBtn_clicked(self): + """ + SAVE- BUTTON CANCEL + """ + # TODO: not implemented yet + #raise NotImplementedError + + @pyqtSignature("") + def on_dataOkBtn_clicked(self): + """ + SAVE-BUTTON OK + """ + #print self.ventanaproject.almacena() + print "alex" + print self.Workspace.dirCmbBox.currentText() + self.model_2=treeModel() + #lines = unicode(self.textEdit_2.toPlainText()).split('\n') + #print lines + if self.ventanaproject.almacena()==None: + name=str(self.namep) + name=str(self.ventanaproject.almacena()) + + self.model_2.setParams(name=name, + directorio=str(self.dataPathTxt.text()), + workspace=str(self.Workspace.dirCmbBox.currentText()), + opmode=str(self.operationModeCmbBox.currentText()), + remode=str(self.readModeCmBox.currentText()), + dataformat=str(self.dataFormatTxt.text()), + date=str(self.starDateCmbBox.currentText())+"-"+str(self.endDateCmbBox.currentText()), + initTime=str( self.starTem), + endTime=str(self.endTem), + timezone="Local" ) + # Summary=str(self.textEdit_2.textCursor())) + self.model_2.arbol() + self.treeView_2.setModel(self.model_2) + self.treeView_2.expandAll() + +#*############METODOS PARA EL PATH-YEAR-DAYS########################### + + def existDir(self, var_dir): + """ + METODO PARA VERIFICAR SI LA RUTA EXISTE-VAR_DIR + VARIABLE DIRECCION + """ + if os.path.isdir(var_dir): + return True + else: + self.textEdit.append("Incorrect path:" + str(var_dir)) + return False + + def loadYears(self): + """ + METODO PARA SELECCIONAR EL AÑO + """ + self.variableList=[] + self.yearCmbBox.clear() + if self.statusDpath == False: + self.dataOkBtn.setEnabled(False) + return + if self.DataType == '': + return + + Dirlist = os.listdir(self.dataPath) + + for y in range(0, len(Dirlist)): + fyear= Dirlist[y] + fyear = fyear[1:5] + Dirlist[y]=fyear + + Dirlist=list(set(Dirlist)) + Dirlist.sort() + + if len(Dirlist) == 0: + self.textEdit.append("File not found") + self.dataOkBtn.setEnabled(False) + return + #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) + for i in range(0, (len(Dirlist))): + self.variableList.append(Dirlist[i]) + for i in self.variableList: + self.yearCmbBox.addItem(i) + + def loadDays(self): + """ + METODO PARA CARGAR LOS DIAS + """ + self.variableList=[] + self.starDateCmbBox.clear() + self.endDateCmbBox.clear() + + Dirlist = os.listdir(self.dataPath) + Dirlist.sort() + + for a in range(0, len(Dirlist)): + fname= Dirlist[a] + Doy=fname[5:8] + fname = fname[1:5] + print fname + fecha=Doy2Date(int(fname),int(Doy)) + fechaList=fecha.change2date() + #print fechaList[0] + Dirlist[a]=fname+"-"+str(fechaList[0])+"-"+str(fechaList[1]) + #+"-"+ fechaList[0]+"-"+fechaList[1] + +#---------------AQUI TIENE QUE SER MODIFICADO--------# + + + + + + #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) + for i in range(0, (len(Dirlist))): + self.variableList.append(Dirlist[i]) + + for i in self.variableList: + self.starDateCmbBox.addItem(i) + self.endDateCmbBox.addItem(i) + self.endDateCmbBox.setCurrentIndex(self.starDateCmbBox.count()-1) + + self.getsubList() + self.dataOkBtn.setEnabled(True) + + def getsubList(self): + """ + OBTIENE EL RANDO DE LAS FECHAS SELECCIONADAS + """ + self.subList=[] + for i in self.variableList[self.starDateCmbBox.currentIndex():self.starDateCmbBox.currentIndex() + self.endDateCmbBox.currentIndex()+1]: + self.subList.append(i) + +#*################ METODO PARA GUARDAR ARCHIVO DE CONFIGURACION ################# +# def SaveConfig(self): +# +# desc = "Este es un test" +# filename=str(self.workspace.dirCmbBox.currentText())+"\\"+"Config"+str(self.valuep)+".xml" +# projectObj=self.proObjList[int(self.valuep)-1] +# projectObj.setParms(id =int(self.valuep),name=str(self.namep),description=desc) +# print self.valuep +# print self.namep +# +# readBranchObj = projectObj.addReadBranch(id=str(self.valuep), +# dpath=str(self.dataPathTxt.text()), +# dataformat=str(self.dataFormatTxt.text()), +# opMode=str(self.operationModeCmbBox.currentText()), +# readMode=str(self.readModeCmBox.currentText()), +# startDate=str(self.starDateCmbBox.currentText()), +# endDate=str(self.endDateCmbBox.currentText()), +# startTime=str(self.starTem), +# endTime=str(self.endTem)) +# +# +# branchNumber= len(projectObj.procBranchObjList) #Numero de Ramas +# #=======================readBranchObj============== +# for i in range(0,branchNumber): +# projectObj.procBranchObjList[i] +# idb=projectObj.procBranchObjList[i].id +# # opObjTotal={} +# +# for j in range(0,branchNumber): +# idb=projectObj.procBranchObjList[j].id +# branch=self.braObjList[(idb)-1] +# branch.upObjList +# volNumber=len(branch.upObjList) +# for i in range(0,volNumber): +# unitProcess=branch.upObjList[i] +# idv=branch.upObjList[i].id +# +# opObj11 = unitProcess.addOperation(id=1,name='removeDC', priority=1) +# opObj11.addParameter(name='type', value='1') +# opObj2 = unitProcess.addOperation(id=2,name='removeInterference', priority=1) +# opObj3 = unitProcess.addOperation(id=3,name='removeSatelites', priority=1) +# opObj4 = unitProcess.addOperation(id=4,name='coherent Integration', priority=1) +# +# projectObj.writeXml(filename) +# +#*############METODOS PARA INICIALIZAR-CONFIGURAR-CARGAR ARCHIVO-CARGAR VARIABLES######################## + + def setParam(self): + """ + INICIALIZACION DE PARAMETROS PARA PRUEBAS + """ + #self.dataProyectTxt.setText('Test') + self.dataFormatTxt.setText('r') + self.dataPathTxt.setText('C:\\Users\\alex\\Documents\\ROJ\\ew_drifts') + self.dataWaitTxt.setText('0') + + def make_parameters_conf(self): + """ + ARCHIVO DE CONFIGURACION cCRA parameters.conf + """ + pass + + def getParam(self): + """ + CARGA Proyect.xml + """ + print "Archivo XML AUN No adjuntado" + + def setVariables(self): + """ + ACTUALIZACION DEL VALOR DE LAS VARIABLES CON LOS PARAMETROS SELECCIONADOS + """ + self.dataPath = str(self.dataPathTxt.text()) #0 + self.DataType= str(self.dataFormatTxt.text()) #3 + + def windowshow(self): + self.ventanaproject= Window(self) + self.ventanaproject.closed.connect(self.show) + self.ventanaproject.show() +# self.window() +# self.window.closed.connect(self.show) +# self.window.show() + #self.hide() + + def closeEvent(self, event): + self.closed.emit() + event.accept() + + +class treeModel(QtCore.QAbstractItemModel): + ''' + a model to display a few names, ordered by encabezado + ''' + name=None + directorio=None + workspace=None + opmode=None + remode=None + dataformat=None + date=None + initTime=None + endTime=None + timezone=None + #Summary=None + + def __init__(self ,parent=None): + super(treeModel, self).__init__(parent) + self.people = [] + + def arbol(self): + for caracteristica,principal, descripcion in (("Properties","Name",self.name), + ("Properties","Data Path",self.directorio), + ("Properties","Workspace",self.workspace), + ("Properties","Operation Mode ",self.opmode), + ("Parameters", "Read Mode ",self.remode), + ("Parameters", "DataFormat ",self.dataformat), + ("Parameters", "Date ",self.date), + ("Parameters", "Init Time ",self.initTime), + ("Parameters", "Final Time ",self.endTime), + ("Parameters", " Time zone ",self.timezone), + ("Parameters", "Profiles ","1"), + # ("Description", "Summary ", self.Summary), + ): + person = person_class(caracteristica, principal, descripcion) + self.people.append(person) + + self.rootItem = TreeItem(None, "ALL", None) + self.parents = {0 : self.rootItem} + self.setupModelData() + + #def veamos(self): + # self.update= MainWindow(self) + # self.update.dataProyectTxt.text() + # return self.update.dataProyectTxt.text() + def setParams(self,name,directorio,workspace,opmode,remode,dataformat,date,initTime,endTime,timezone): + self.name=name + self.workspace=workspace + self.directorio= directorio + self.opmode=opmode + self.remode=remode + self.dataformat=dataformat + self.date=date + self.initTime=initTime + self.endTime=endTime + self.timezone=timezone + #self.Summary=Summary + + + def columnCount(self, parent=None): + if parent and parent.isValid(): + return parent.internalPointer().columnCount() + else: + return len(HORIZONTAL_HEADERS) + + def data(self, index, role): + if not index.isValid(): + return QtCore.QVariant() + + item = index.internalPointer() + if role == QtCore.Qt.DisplayRole: + return item.data(index.column()) + if role == QtCore.Qt.UserRole: + if item: + return item.person + + return QtCore.QVariant() + + def headerData(self, column, orientation, role): + if (orientation == QtCore.Qt.Horizontal and + role == QtCore.Qt.DisplayRole): + try: + return QtCore.QVariant(HORIZONTAL_HEADERS[column]) + except IndexError: + pass + + return QtCore.QVariant() + + def index(self, row, column, parent): + if not self.hasIndex(row, column, parent): + return QtCore.QModelIndex() + + if not parent.isValid(): + parentItem = self.rootItem + else: + parentItem = parent.internalPointer() + + childItem = parentItem.child(row) + if childItem: + return self.createIndex(row, column, childItem) + else: + return QtCore.QModelIndex() + + def parent(self, index): + if not index.isValid(): + return QtCore.QModelIndex() + + childItem = index.internalPointer() + if not childItem: + return QtCore.QModelIndex() + + parentItem = childItem.parent() + + if parentItem == self.rootItem: + return QtCore.QModelIndex() + + return self.createIndex(parentItem.row(), 0, parentItem) + + def rowCount(self, parent=QtCore.QModelIndex()): + if parent.column() > 0: + return 0 + if not parent.isValid(): + p_Item = self.rootItem + else: + p_Item = parent.internalPointer() + return p_Item.childCount() + + def setupModelData(self): + for person in self.people: + if person.descripcion: + encabezado = person.caracteristica + + + if not self.parents.has_key(encabezado): + newparent = TreeItem(None, encabezado, self.rootItem) + self.rootItem.appendChild(newparent) + + self.parents[encabezado] = newparent + + parentItem = self.parents[encabezado] + newItem = TreeItem(person, "", parentItem) + parentItem.appendChild(newItem) + + def searchModel(self, person): + ''' + get the modelIndex for a given appointment + ''' + def searchNode(node): + ''' + a function called recursively, looking at all nodes beneath node + ''' + for child in node.childItems: + if person == child.person: + index = self.createIndex(child.row(), 0, child) + return index + + if child.childCount() > 0: + result = searchNode(child) + if result: + return result + + retarg = searchNode(self.parents[0]) + #print retarg + return retarg + + def find_GivenName(self, principal): + app = None + for person in self.people: + if person.principal == principal: + app = person + break + if app != None: + index = self.searchModel(app) + return (True, index) + return (False, None) + + + +class Workspace(QMainWindow, Ui_Workspace): + """ + Class documentation goes here. + """ + closed=pyqtSignal() + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + self.setupUi(self) + #*####### DIRECTORIO DE TRABAJO #########*# + self.dirCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "C:\WorkSpaceGui", None, QtGui.QApplication.UnicodeUTF8)) + self.dir=str("C:\WorkSpaceGui") + self.dirCmbBox.addItem(self.dir) + + @pyqtSignature("") + def on_dirBrowsebtn_clicked(self): + """ + Slot documentation goes here. + """ + self.dirBrowse = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) + self.dirCmbBox.addItem(self.dirBrowse) + + @pyqtSignature("") + def on_dirButton_clicked(self): + """ + Slot documentation goes here. + """ + + @pyqtSignature("") + def on_dirOkbtn_clicked(self): + """ + VISTA DE INTERFAZ GRÁFICA + """ + self.showmemainwindow() + + + @pyqtSignature("") + def on_dirCancelbtn_clicked(self): + """ + Cerrar + """ + self.close() + + def showmemainwindow(self): + self.Dialog= MainWindow(self) + self.Dialog.closed.connect(self.show) + self.Dialog.show() + self.hide() + + def closeEvent(self, event): + self.closed.emit() + event.accept() + + +class InitWindow(QMainWindow, Ui_InitWindow): + """ + Class documentation goes here. + """ + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + self.setupUi(self) + + + @pyqtSignature("") + def on_pushButton_2_clicked(self): + """ + Close First Window + """ + self.close() + + @pyqtSignature("") + def on_pushButton_clicked(self): + """ + Show Workspace Window + """ + self.showmeconfig() + + def showmeconfig(self): + ''' + Method to call Workspace + ''' + + self.config=Workspace(self) + self.config.closed.connect(self.show) + self.config.show() + self.hide() + + +class Window(QMainWindow, Ui_window): + """ + Class documentation goes here. + """ + closed=pyqtSignal() + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + self.setupUi(self) + self.name=0 + self.nameproject=None + + @pyqtSignature("") + def on_cancelButton_clicked(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + self.hide() + + @pyqtSignature("") + def on_okButton_clicked(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + self.almacena() + print self.nameproject + self.close() + + + def almacena(self): + #print str(self.proyectNameLine.text()) + self.nameproject=str(self.proyectNameLine.text()) + return self.nameproject + + def closeEvent(self, event): + self.closed.emit() + event.accept() + + + + + + \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/modelProperties.py b/schainpy/gui/viewcontroller/modelProperties.py new file mode 100644 index 0000000..f97fed0 --- /dev/null +++ b/schainpy/gui/viewcontroller/modelProperties.py @@ -0,0 +1,58 @@ +from PyQt4 import QtCore + +class person_class(object): + ''' + a trivial custom data object + ''' + def __init__(self, caracteristica, principal, descripcion): + self.caracteristica = caracteristica + self.principal = principal + self.descripcion = descripcion + + def __repr__(self): + return "PERSON - %s %s"% (self.principal, self.caracteristica) + +class TreeItem(object): + ''' + a python object used to return row/column data, and keep note of + it's parents and/or children + ''' + def __init__(self, person, header, parentItem): + self.person = person + self.parentItem = parentItem + self.header = header + self.childItems = [] + + def appendChild(self, item): + self.childItems.append(item) + + def child(self, row): + return self.childItems[row] + + def childCount(self): + return len(self.childItems) + + def columnCount(self): + return 2 + + def data(self, column): + if self.person == None: + if column == 0: + return QtCore.QVariant(self.header) + if column == 1: + return QtCore.QVariant("") + else: + if column == 0: + return QtCore.QVariant(self.person.principal) + if column == 1: + return QtCore.QVariant(self.person.descripcion) + return QtCore.QVariant() + + def parent(self): + return self.parentItem + + def row(self): + if self.parentItem: + return self.parentItem.childItems.index(self) + return 0 + \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/timeconversions.py b/schainpy/gui/viewcontroller/timeconversions.py new file mode 100644 index 0000000..564defa --- /dev/null +++ b/schainpy/gui/viewcontroller/timeconversions.py @@ -0,0 +1,427 @@ +""" +The TIME_CONVERSIONS.py module gathers classes and functions for time system transformations +(e.g. between seconds from 1970 to datetime format). + +MODULES CALLED: +NUMPY, TIME, DATETIME, CALENDAR + +MODIFICATION HISTORY: +Created by Ing. Freddy Galindo (frederickgalindo@gmail.com). ROJ Aug 13, 2009. +""" + +import numpy as np +import time as tm +import datetime as dt +import calendar as cr + +class Time: + """ + time(year,month,dom,hour,min,secs) + + An object represents a date and time of certain event.. + + Parameters + ---------- + YEAR = Number of the desired year. Year must be valid values from the civil calendar. + Years B.C.E must be represented as negative integers. Years in the common era are repre- + sented as positive integers. In particular, note that there is no year 0 in the civil + calendar. 1 B.C.E. (-1) is followed by 1 C.E. (1). + + MONTH = Number of desired month (1=Jan, ..., 12=December). + + DOM = Number of day of the month. + + HOUR = Number of the hour of the day. By default hour=0 + + MINS = Number of the minute of the hour. By default min=0 + + SECS = Number of the second of the minute. By default secs=0. + + Examples + -------- + time_info = time(2008,9,30,12,30,00) + + time_info = time(2008,9,30) + """ + + def __init__(self,year=None,month=None,dom=None,hour=0,mins=0,secs=0): + # If one the first three inputs are not defined, it takes the current date. + date = tm.localtime() + if year==None:year=date[0] + if month==None:month=date[1] + if dom==None:dom=date[2] + + # Converting to arrays + year = np.array([year]); month = np.array([month]); dom = np.array([dom]) + hour = np.array([hour]); mins = np.array([mins]); secs = np.array([secs]) + + # Defining time information object. + self.year = np.atleast_1d(year) + self.month = np.atleast_1d(month) + self.dom = np.atleast_1d(dom) + self.hour = np.atleast_1d(hour) + self.mins = np.atleast_1d(mins) + self.secs = np.atleast_1d(secs) + + def change2julday(self): + """ + Converts a datetime to Julian days. + """ + + # Defining constants + greg = 2299171 # incorrect Julian day for Oct, 25, 1582. + min_calendar = -4716 + max_calendar = 5000000 + + min_year = np.nanmin(self.year) + max_year = np.nanmax(self.year) + if (min_yearmax_calendar): + print "Value of Julian date is out of allowed range" + return -1 + + noyear = np.sum(self.year==0) + if noyear>0: + print "There is no year zero in the civil calendar" + return -1 + + # Knowing if the year is less than 0. + bc = self.year<0 + + # Knowing if the month is less than March. + inJanFeb = self.month<=2 + + jy = self.year + bc - inJanFeb + jm = self.month + (1 + 12*inJanFeb) + + # Computing Julian days. + jul= np.floor(365.25*jy) + np.floor(30.6001*jm) + (self.dom+1720995.0) + + # Test whether to change to Gregorian Calendar + if np.min(jul) >= greg: + ja = np.int32(0.01*jy) + jul = jul + 2 - ja + np.int32(0.25*ja) + else: + gregchange = np.where(jul >= greg) + if gregchange[0].size>0: + ja = np.int32(0.01 + jy[gregchange]) + jy[grechange] = jy[gregchange] + 2 - ja + np.int32(0.25*ja) + + # Determining machine-specific parameters affecting floating-point. + eps = 0.0 # Replace this line for a function to get precision. + eps = abs(jul)*0.0 > eps + + jul = jul + (self.hour/24. -0.5) + (self.mins/1440.) + (self.secs/86400.) + eps + + return jul[0] + + def change2secs(self): + """ + Converts datetime to number of seconds respect to 1970. + """ + + year = self.year + if year.size>1: year = year[0] + + month = self.month + if month.size>1: month = month[0] + + dom = self.dom + if dom.size>1: dom = dom[0] + + # Resizing hour, mins and secs if it was necessary. + hour = self.hour + if hour.size>1:hour = hour[0] + if hour.size==1:hour = np.resize(hour,year.size) + + mins = self.mins + if mins.size>1:mins = mins[0] + if mins.size==1:mins = np.resize(mins,year.size) + + secs = self.secs + if secs.size>1:secs = secs[0] + if secs.size==1:secs = np.resize(secs,year.size) + + # Using time.mktime to compute seconds respect to 1970. + secs1970 = np.zeros(year.size) + for ii in np.arange(year.size): + secs1970[ii] = tm.mktime((int(year[ii]),int(month[ii]),int(dom[ii]),\ + int(hour[ii]),int(mins[ii]),int(secs[ii]),0,0,0)) + + secs1970 = np.int32(secs1970 - tm.timezone) + + return secs1970 + + def change2strdate(self,mode=1): + """ + change2strdate method converts a date and time of certain event to date string. The + string format is like localtime (e.g. Fri Oct 9 15:00:19 2009). + + Parameters + ---------- + None. + + Return + ------ + + Modification History + -------------------- + Created by Freddy R. Galindo, ROJ, 09 October 2009. + + """ + + secs = np.atleast_1d(self.change2secs()) + strdate = [] + for ii in np.arange(np.size(secs)): + secs_tmp = tm.localtime(secs[ii] + tm.timezone) + if mode==1: + strdate.append(tm.strftime("%d-%b-%Y (%j) %H:%M:%S",secs_tmp)) + elif mode==2: + strdate.append(tm.strftime("%d-%b-%Y (%j)",secs_tmp)) + + strdate = np.array(strdate) + + return strdate + + +class Secs: + """ + secs(secs): + + An object represents the number of seconds respect to 1970. + + Parameters + ---------- + + SECS = A scalar or array giving the number of seconds respect to 1970. + + Example: + -------- + secs_info = secs(1251241373) + + secs_info = secs([1251241373,1251241383,1251241393]) + """ + def __init__(self,secs): + self.secs = secs + + def change2julday(self): + """ + Convert seconds from 1970 to Julian days. + """ + + secs_1970 = time(1970,1,1,0,0,0).change2julday() + + julian = self.secs/86400.0 + secs_1970 + + return julian + + def change2time(self): + """ + Converts seconds from 1970 to datetime. + """ + + secs1970 = np.atleast_1d(self.secs) + + datetime = np.zeros((9,secs1970.size)) + for ii in np.arange(secs1970.size): + tuple = tm.gmtime(secs1970[ii]) + datetime[0,ii] = tuple[0] + datetime[1,ii] = tuple[1] + datetime[2,ii] = tuple[2] + datetime[3,ii] = tuple[3] + datetime[4,ii] = tuple[4] + datetime[5,ii] = tuple[5] + datetime[6,ii] = tuple[6] + datetime[7,ii] = tuple[7] + datetime[8,ii] = tuple[8] + + datetime = np.int32(datetime) + + return datetime + + +class Julian: + """ + julian(julian): + + An object represents julian days. + + Parameters + ---------- + + JULIAN = A scalar or array giving the julina days. + + Example: + -------- + julian_info = julian(2454740) + + julian_info = julian([2454740,2454760,2454780]) + """ + def __init__(self,julian): + self.julian = np.atleast_1d(julian) + + def change2time(self): + """ + change2time method converts from julian day to calendar date and time. + + Return + ------ + year = An array giving the year of the desired julian day. + month = An array giving the month of the desired julian day. + dom = An array giving the day of the desired julian day. + hour = An array giving the hour of the desired julian day. + mins = An array giving the minute of the desired julian day. + secs = An array giving the second of the desired julian day. + + Examples + -------- + >> jd = 2455119.0 + >> [yy,mo,dd,hh,mi,ss] = TimeTools.julian(jd).change2time() + >> print [yy,mo,dd,hh,mi,ss] + [2009] [10] [ 14.] [ 12.] [ 0.] [ 0.] + + Modification history + -------------------- + Translated from "Numerical Recipies in C", by William H. Press, Brian P. Flannery, + Saul A. Teukolsky, and William T. Vetterling. Cambridge University Press, 1988. + Converted to Python by Freddy R. Galindo, ROJ, 06 October 2009. + """ + + min_julian = -1095 + max_julian = 1827933925 + if (np.min(self.julian) < min_julian) or (np.max(self.julian) > max_julian): + print 'Value of Julian date is out of allowed range.' + return None + + # Beginning of Gregorian calendar + igreg = 2299161 + julLong = np.floor(self.julian + 0.5) + minJul = np.min(julLong) + + if (minJul >= igreg): + # All are Gregorian + jalpha = np.int32(((julLong - 1867216) - 0.25)/36524.25) + ja = julLong + 1 + jalpha - np.int32(0.25*jalpha) + else: + ja = julLong + gregChange = np.where(julLong >= igreg) + if gregChange[0].size>0: + jalpha = np.int32(((julLong[gregChange]-1867216) - 0.25)/36524.25) + ja[gregChange] = julLong[gregChange]+1+jalpha-np.int32(0.25*jalpha) + + # clear memory. + jalpha = -1 + + jb = ja + 1524 + jc = np.int32(6680. + ((jb-2439870)-122.1)/365.25) + jd = np.int32(365.*jc + (0.25*jc)) + je = np.int32((jb - jd)/30.6001) + + dom = jb - jd - np.int32(30.6001*je) + month = je - 1 + month = ((month - 1) % 12) + 1 + month = np.atleast_1d(month) + year = jc - 4715 + year = year - (month > 2)*1 + year = year - (year <= 0)*1 + year = np.atleast_1d(year) + + # Getting hours, minutes, seconds + fraction = self.julian + 0.5 - julLong + eps_0 = dom*0.0 + 1.0e-12 + eps_1 = 1.0e-12*np.abs(julLong) + eps = (eps_0>eps_1)*eps_0 + (eps_0<=eps_1)*eps_1 + + hour_0 = dom*0 + 23 + hour_2 = dom*0 + 0 + hour_1 = np.floor(fraction*24.0 + eps) + hour = ((hour_1>hour_0)*23) + ((hour_1<=hour_0)*hour_1) + hour = ((hour_1=hour_2)*hour_1) + + fraction = fraction - (hour/24.0) + mins_0 = dom*0 + 59 + mins_2 = dom*0 + 0 + mins_1 = np.floor(fraction*1440.0 + eps) + mins = ((mins_1>mins_0)*59) + ((mins_1<=mins_0)*mins_1) + mins = ((mins_1=mins_2)*mins_1) + + secs_2 = dom*0 + 0 + secs_1 = (fraction - mins/1440.0)*86400.0 + secs = ((secs_1=secs_2)*secs_1) + + return year, month,dom, hour, mins, secs + + def change2secs(self): + """ + Converts from Julian days to seconds from 1970. + """ + + jul_1970 = Time(1970,1,1,0,0,0).change2julday() + + secs = np.int32((self.julian - jul_1970)*86400) + + return secs + + def change2lst(self,longitude=-76.8667): + """ + CT2LST converts from local civil time to local mean sideral time + + longitude = The longitude in degrees (east of Greenwich) of the place for which + the local sideral time is desired, scalar. The Greenwich mean sideral time (GMST) + can be found by setting longitude=0. + """ + + # Useful constants, see Meus, p. 84 + c = np.array([280.46061837, 360.98564736629, 0.000387933, 38710000.0]) + jd2000 = 2451545.0 + t0 = self.julian - jd2000 + t = t0/36525. + + # Computing GST in seconds + theta = c[0] + (c[1]*t0) + (t**2)*(c[2]-t/c[3]) + + # Computing LST in hours + lst = (theta + longitude)/15.0 + neg = np.where(lst < 0.0) + if neg[0].size>0:lst[neg] = 24.0 + (lst[neg] % 24) + lst = lst % 24.0 + + return lst + + +class date2doy: + def __init__(self,year,month,day): + self.year = year + self.month = month + self.day = day + + def change2doy(self): + if cr.isleap(self.year) == True: + tfactor = 1 + else: + tfactor = 2 + + day = self.day + month = self.month + + doy = np.floor((275*month)/9.0) - (tfactor*np.floor((month+9)/12.0)) + day - 30 + + return np.int32(doy) + + +class Doy2Date: + def __init__(self,year,doy): + self.year = year + self.doy = doy + + def change2date(self): + months = np.arange(12) + 1 + + first_dem = date2doy(self.year,months,1) + first_dem = first_dem.change2doy() + + imm = np.where((self.doy - first_dem) > 0) + + month = imm[0].size + dom = self.doy -first_dem[month - 1] + 1 + + return month, dom diff --git a/schainpy/gui/viewcontroller/window.py b/schainpy/gui/viewcontroller/window.py new file mode 100644 index 0000000..b3ba543 --- /dev/null +++ b/schainpy/gui/viewcontroller/window.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- + +""" +Module implementing Window. +""" +from PyQt4.QtCore import pyqtSignal +from PyQt4.QtGui import QMainWindow +from PyQt4.QtCore import pyqtSignature +from GUI.ui_window import Ui_window + +#closed=pyqtSignal() + +class Window(QMainWindow, Ui_window): + """ + Class documentation goes here. + """ + closed=pyqtSignal() + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + self.setupUi(self) + self.name=0 + + + @pyqtSignature("") + def on_cancelButton_clicked(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + self.close() + + @pyqtSignature("") + def on_okButton_clicked(self): + """ + Slot documentation goes here. + """ + # TODO: not implemented yet + #raise NotImplementedError + # self.almacena() + self.close() + + + def almacena(self): + #print str(self.proyectNameLine.text()) + return str(self.proyectNameLine.text()) + + def closeEvent(self, event): + self.closed.emit() + event.accept() + \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/workspace.py b/schainpy/gui/viewcontroller/workspace.py new file mode 100644 index 0000000..0190db9 --- /dev/null +++ b/schainpy/gui/viewcontroller/workspace.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- + +from PyQt4.QtGui import QMainWindow +from PyQt4.QtCore import pyqtSignature +from PyQt4.QtCore import pyqtSignal +from PyQt4 import QtGui +from mainwindow import MainWindow +from GUI.ui_workspace import Ui_Workspace + +class Workspace(QMainWindow, Ui_Workspace): + """ + Class documentation goes here. + """ + closed=pyqtSignal() + def __init__(self, parent = None): + """ + Constructor + """ + QMainWindow.__init__(self, parent) + self.setupUi(self) + #*####### DIRECTORIO DE TRABAJO #########*# + self.dirCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "C:\WorkSpaceGui", None, QtGui.QApplication.UnicodeUTF8)) + self.dir=str("C:\WorkSpaceGui") + self.dirCmbBox.addItem(self.dir) + + @pyqtSignature("") + def on_dirBrowsebtn_clicked(self): + """ + Slot documentation goes here. + """ + self.dirBrowse = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) + self.dirCmbBox.addItem(self.dirBrowse) + + @pyqtSignature("") + def on_dirButton_clicked(self): + """ + Slot documentation goes here. + """ + + @pyqtSignature("") + def on_dirOkbtn_clicked(self): + """ + VISTA DE INTERFAZ GRÁFICA + """ + self.showmemainwindow() + + + @pyqtSignature("") + def on_dirCancelbtn_clicked(self): + """ + Cerrar + """ + self.close() + + def showmemainwindow(self): + self.Dialog= MainWindow(self) + self.Dialog.show() + self.hide() + + def closeEvent(self, event): + self.closed.emit() + event.accept() + + + + \ No newline at end of file diff --git a/schainpy/gui/viewcontroller/xmlprint.py b/schainpy/gui/viewcontroller/xmlprint.py new file mode 100644 index 0000000..925523e --- /dev/null +++ b/schainpy/gui/viewcontroller/xmlprint.py @@ -0,0 +1,14 @@ +''' +Created on Septembre, 2012 + +@author: roj-idl71 +''' +from xml.etree import ElementTree +from xml.dom import minidom + +def prettify(elem): + """Return a pretty-printed XML string for the Element. + """ + rough_string = ElementTree.tostring(elem, 'utf-8') + reparsed = minidom.parseString(rough_string) + return reparsed.toprettyxml(indent=" ") \ No newline at end of file diff --git a/schainpy/gui/viewer/__init__.py b/schainpy/gui/viewer/__init__.py new file mode 100644 index 0000000..3cc695d --- /dev/null +++ b/schainpy/gui/viewer/__init__.py @@ -0,0 +1,4 @@ +import ui_initwindow +import ui_workspace +import ui_mainwindow +import ui_window \ No newline at end of file diff --git a/schainpy/gui/viewer/ui_initwindow.py b/schainpy/gui/viewer/ui_initwindow.py new file mode 100644 index 0000000..1b73b85 --- /dev/null +++ b/schainpy/gui/viewer/ui_initwindow.py @@ -0,0 +1,104 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\GUIV1\Pantalla.ui' +# +# Created: Tue Aug 28 15:10:06 2012 +# by: PyQt4 UI code generator 4.9.4 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + +class Ui_InitWindow(object): + def setupUi(self, form): + form.setObjectName(_fromUtf8("form")) + form.resize(622, 516) + self.centralWidget = QtGui.QWidget(form) + self.centralWidget.setObjectName(_fromUtf8("centralWidget")) + self.gridLayout = QtGui.QGridLayout(self.centralWidget) + self.gridLayout.setObjectName(_fromUtf8("gridLayout")) + self.verticalLayout_2 = QtGui.QVBoxLayout() + self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) + self.verticalLayout = QtGui.QVBoxLayout() + self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) + self.label = QtGui.QLabel(self.centralWidget) + font = QtGui.QFont() + font.setPointSize(21) + self.label.setFont(font) + self.label.setObjectName(_fromUtf8("label")) + self.verticalLayout.addWidget(self.label) + self.line = QtGui.QFrame(self.centralWidget) + self.line.setFrameShape(QtGui.QFrame.HLine) + self.line.setFrameShadow(QtGui.QFrame.Sunken) + self.line.setObjectName(_fromUtf8("line")) + self.verticalLayout.addWidget(self.line) + self.label_2 = QtGui.QLabel(self.centralWidget) + self.label_2.setText(_fromUtf8("")) + self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8("../../Downloads/IMAGENES/w.jpg"))) + self.label_2.setScaledContents(True) + self.label_2.setObjectName(_fromUtf8("label_2")) + self.verticalLayout.addWidget(self.label_2) + self.verticalLayout_2.addLayout(self.verticalLayout) + self.horizontalLayout_2 = QtGui.QHBoxLayout() + self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) + spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem) + self.pushButton_2 = QtGui.QPushButton(self.centralWidget) + self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) + self.horizontalLayout.addWidget(self.pushButton_2) + self.pushButton = QtGui.QPushButton(self.centralWidget) + self.pushButton.setObjectName(_fromUtf8("pushButton")) + self.horizontalLayout.addWidget(self.pushButton) + spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem1) + self.horizontalLayout_2.addLayout(self.horizontalLayout) + self.verticalLayout_2.addLayout(self.horizontalLayout_2) + self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1) + form.setCentralWidget(self.centralWidget) + self.statusBar = QtGui.QStatusBar(form) + self.statusBar.setObjectName(_fromUtf8("statusBar")) + form.setStatusBar(self.statusBar) + self.actionImage = QtGui.QAction(form) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/newPrefix/Imagui/ROJ.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionImage.setIcon(icon) + self.actionImage.setObjectName(_fromUtf8("actionImage")) + self.actionOpen = QtGui.QAction(form) + self.actionOpen.setObjectName(_fromUtf8("actionOpen")) + self.actionClose = QtGui.QAction(form) + self.actionClose.setObjectName(_fromUtf8("actionClose")) + self.actionOpen_2 = QtGui.QAction(form) + self.actionOpen_2.setObjectName(_fromUtf8("actionOpen_2")) + + self.retranslateUi(form) + QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL(_fromUtf8("clicked()")), form.close) + QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), form.show) + QtCore.QMetaObject.connectSlotsByName(form) + + def retranslateUi(self, form): + form.setWindowTitle(QtGui.QApplication.translate("form", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.label.setText(QtGui.QApplication.translate("form", "Interfaz Grafica -REV. 1.0", None, QtGui.QApplication.UnicodeUTF8)) + self.pushButton_2.setText(QtGui.QApplication.translate("form", "Exit", None, QtGui.QApplication.UnicodeUTF8)) + self.pushButton.setText(QtGui.QApplication.translate("form", "Continue", None, QtGui.QApplication.UnicodeUTF8)) + self.actionImage.setText(QtGui.QApplication.translate("form", "image", None, QtGui.QApplication.UnicodeUTF8)) + self.actionImage.setToolTip(QtGui.QApplication.translate("form", "show Image", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOpen.setText(QtGui.QApplication.translate("form", "Open", None, QtGui.QApplication.UnicodeUTF8)) + self.actionClose.setText(QtGui.QApplication.translate("form", "Close", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOpen_2.setText(QtGui.QApplication.translate("form", "Open", None, QtGui.QApplication.UnicodeUTF8)) + +if __name__ == "__main__": + import sys + app = QtGui.QApplication(sys.argv) + form = QtGui.QMainWindow() + ui = Ui_InitWindow() + ui.setupUi(form) + form.show() + sys.exit(app.exec_()) + diff --git a/schainpy/gui/viewer/ui_mainwindow.py b/schainpy/gui/viewer/ui_mainwindow.py new file mode 100644 index 0000000..ad66685 --- /dev/null +++ b/schainpy/gui/viewer/ui_mainwindow.py @@ -0,0 +1,1438 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\MainWindow28nov.ui' +# +# Created: Mon Dec 03 15:13:49 2012 +# by: PyQt4 UI code generator 4.9.4 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + +class Ui_MainWindow(object): + def setupUi(self, MainWindow): + MainWindow.setObjectName(_fromUtf8("MainWindow")) + MainWindow.resize(852, 569) + self.centralWidget = QtGui.QWidget(MainWindow) + self.centralWidget.setObjectName(_fromUtf8("centralWidget")) + self.frame_2 = QtGui.QFrame(self.centralWidget) + self.frame_2.setGeometry(QtCore.QRect(570, 0, 281, 511)) + self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_2.setFrameShadow(QtGui.QFrame.Plain) + self.frame_2.setObjectName(_fromUtf8("frame_2")) + self.frame_6 = QtGui.QFrame(self.frame_2) + self.frame_6.setGeometry(QtCore.QRect(10, 10, 261, 31)) + self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_6.setFrameShadow(QtGui.QFrame.Plain) + self.frame_6.setObjectName(_fromUtf8("frame_6")) + self.label_46 = QtGui.QLabel(self.frame_6) + self.label_46.setGeometry(QtCore.QRect(70, 0, 125, 21)) + font = QtGui.QFont() + font.setPointSize(11) + self.label_46.setFont(font) + self.label_46.setObjectName(_fromUtf8("label_46")) + self.frame_7 = QtGui.QFrame(self.frame_2) + self.frame_7.setGeometry(QtCore.QRect(10, 50, 261, 451)) + self.frame_7.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_7.setFrameShadow(QtGui.QFrame.Plain) + self.frame_7.setObjectName(_fromUtf8("frame_7")) + self.treeView_2 = QtGui.QTreeView(self.frame_7) + self.treeView_2.setGeometry(QtCore.QRect(10, 10, 241, 431)) + self.treeView_2.setObjectName(_fromUtf8("treeView_2")) + self.frame = QtGui.QFrame(self.centralWidget) + self.frame.setGeometry(QtCore.QRect(0, 0, 251, 511)) + self.frame.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame.setFrameShadow(QtGui.QFrame.Plain) + self.frame.setObjectName(_fromUtf8("frame")) + self.frame_9 = QtGui.QFrame(self.frame) + self.frame_9.setGeometry(QtCore.QRect(10, 10, 231, 61)) + self.frame_9.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_9.setFrameShadow(QtGui.QFrame.Plain) + self.frame_9.setObjectName(_fromUtf8("frame_9")) + self.label = QtGui.QLabel(self.frame_9) + self.label.setGeometry(QtCore.QRect(50, 0, 141, 31)) + font = QtGui.QFont() + font.setPointSize(11) + self.label.setFont(font) + self.label.setObjectName(_fromUtf8("label")) + self.addpBtn = QtGui.QPushButton(self.frame_9) + self.addpBtn.setGeometry(QtCore.QRect(10, 30, 61, 23)) + self.addpBtn.setObjectName(_fromUtf8("addpBtn")) + self.addbBtn = QtGui.QPushButton(self.frame_9) + self.addbBtn.setGeometry(QtCore.QRect(80, 30, 71, 23)) + self.addbBtn.setObjectName(_fromUtf8("addbBtn")) + self.addoBtn = QtGui.QPushButton(self.frame_9) + self.addoBtn.setGeometry(QtCore.QRect(160, 30, 61, 23)) + self.addoBtn.setObjectName(_fromUtf8("addoBtn")) + self.scrollArea = QtGui.QScrollArea(self.frame) + self.scrollArea.setGeometry(QtCore.QRect(10, 80, 231, 421)) + self.scrollArea.setWidgetResizable(True) + self.scrollArea.setObjectName(_fromUtf8("scrollArea")) + self.scrollAreaWidgetContents = QtGui.QWidget() + self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 229, 419)) + self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) + self.verticalLayout_4 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) + self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) + self.treeView = QtGui.QTreeView(self.scrollAreaWidgetContents) + self.treeView.setObjectName(_fromUtf8("treeView")) + self.verticalLayout_4.addWidget(self.treeView) + self.scrollArea.setWidget(self.scrollAreaWidgetContents) + self.frame_11 = QtGui.QFrame(self.centralWidget) + self.frame_11.setGeometry(QtCore.QRect(260, 0, 301, 391)) + self.frame_11.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_11.setFrameShadow(QtGui.QFrame.Plain) + self.frame_11.setObjectName(_fromUtf8("frame_11")) + self.tabWidget = QtGui.QTabWidget(self.frame_11) + self.tabWidget.setGeometry(QtCore.QRect(10, 10, 281, 371)) + font = QtGui.QFont() + font.setPointSize(10) + self.tabWidget.setFont(font) + self.tabWidget.setObjectName(_fromUtf8("tabWidget")) + self.tab_5 = QtGui.QWidget() + self.tab_5.setObjectName(_fromUtf8("tab_5")) + self.frame_5 = QtGui.QFrame(self.tab_5) + self.frame_5.setGeometry(QtCore.QRect(10, 120, 261, 31)) + font = QtGui.QFont() + font.setPointSize(10) + self.frame_5.setFont(font) + self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_5.setFrameShadow(QtGui.QFrame.Plain) + self.frame_5.setObjectName(_fromUtf8("frame_5")) + self.label_55 = QtGui.QLabel(self.frame_5) + self.label_55.setGeometry(QtCore.QRect(10, 10, 72, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_55.setFont(font) + self.label_55.setObjectName(_fromUtf8("label_55")) + self.readModeCmBox = QtGui.QComboBox(self.frame_5) + self.readModeCmBox.setGeometry(QtCore.QRect(90, 10, 71, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.readModeCmBox.setFont(font) + self.readModeCmBox.setObjectName(_fromUtf8("readModeCmBox")) + self.readModeCmBox.addItem(_fromUtf8("")) + self.readModeCmBox.addItem(_fromUtf8("")) + self.dataWaitLine = QtGui.QLabel(self.frame_5) + self.dataWaitLine.setGeometry(QtCore.QRect(167, 10, 61, 20)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataWaitLine.setFont(font) + self.dataWaitLine.setObjectName(_fromUtf8("dataWaitLine")) + self.dataWaitTxt = QtGui.QLineEdit(self.frame_5) + self.dataWaitTxt.setGeometry(QtCore.QRect(230, 10, 21, 20)) + self.dataWaitTxt.setObjectName(_fromUtf8("dataWaitTxt")) + self.frame_4 = QtGui.QFrame(self.tab_5) + self.frame_4.setGeometry(QtCore.QRect(10, 60, 261, 51)) + self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_4.setFrameShadow(QtGui.QFrame.Plain) + self.frame_4.setObjectName(_fromUtf8("frame_4")) + self.dataFormatLine = QtGui.QLabel(self.frame_4) + self.dataFormatLine.setGeometry(QtCore.QRect(10, 10, 81, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataFormatLine.setFont(font) + self.dataFormatLine.setObjectName(_fromUtf8("dataFormatLine")) + self.dataPathline = QtGui.QLabel(self.frame_4) + self.dataPathline.setGeometry(QtCore.QRect(10, 30, 81, 19)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataPathline.setFont(font) + self.dataPathline.setObjectName(_fromUtf8("dataPathline")) + self.dataFormatCmbBox = QtGui.QComboBox(self.frame_4) + self.dataFormatCmbBox.setGeometry(QtCore.QRect(90, 10, 101, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataFormatCmbBox.setFont(font) + self.dataFormatCmbBox.setObjectName(_fromUtf8("dataFormatCmbBox")) + self.dataFormatCmbBox.addItem(_fromUtf8("")) + self.dataFormatCmbBox.addItem(_fromUtf8("")) + self.dataPathTxt = QtGui.QLineEdit(self.frame_4) + self.dataPathTxt.setGeometry(QtCore.QRect(90, 30, 131, 16)) + self.dataPathTxt.setObjectName(_fromUtf8("dataPathTxt")) + self.dataPathBrowse = QtGui.QPushButton(self.frame_4) + self.dataPathBrowse.setGeometry(QtCore.QRect(230, 30, 20, 16)) + self.dataPathBrowse.setObjectName(_fromUtf8("dataPathBrowse")) + self.dataFormatTxt = QtGui.QLineEdit(self.frame_4) + self.dataFormatTxt.setGeometry(QtCore.QRect(200, 10, 51, 16)) + self.dataFormatTxt.setObjectName(_fromUtf8("dataFormatTxt")) + self.frame_3 = QtGui.QFrame(self.tab_5) + self.frame_3.setGeometry(QtCore.QRect(10, 10, 261, 41)) + self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_3.setFrameShadow(QtGui.QFrame.Plain) + self.frame_3.setObjectName(_fromUtf8("frame_3")) + self.dataOperationModeline = QtGui.QLabel(self.frame_3) + self.dataOperationModeline.setGeometry(QtCore.QRect(10, 10, 101, 19)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataOperationModeline.setFont(font) + self.dataOperationModeline.setObjectName(_fromUtf8("dataOperationModeline")) + self.operationModeCmbBox = QtGui.QComboBox(self.frame_3) + self.operationModeCmbBox.setGeometry(QtCore.QRect(120, 10, 131, 20)) + font = QtGui.QFont() + font.setPointSize(10) + self.operationModeCmbBox.setFont(font) + self.operationModeCmbBox.setObjectName(_fromUtf8("operationModeCmbBox")) + self.operationModeCmbBox.addItem(_fromUtf8("")) + self.operationModeCmbBox.addItem(_fromUtf8("")) + self.frame_8 = QtGui.QFrame(self.tab_5) + self.frame_8.setGeometry(QtCore.QRect(10, 160, 261, 71)) + self.frame_8.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_8.setFrameShadow(QtGui.QFrame.Plain) + self.frame_8.setObjectName(_fromUtf8("frame_8")) + self.dataYearLine = QtGui.QLabel(self.frame_8) + self.dataYearLine.setGeometry(QtCore.QRect(10, 10, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataYearLine.setFont(font) + self.dataYearLine.setObjectName(_fromUtf8("dataYearLine")) + self.dataStartLine = QtGui.QLabel(self.frame_8) + self.dataStartLine.setGeometry(QtCore.QRect(80, 10, 69, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataStartLine.setFont(font) + self.dataStartLine.setObjectName(_fromUtf8("dataStartLine")) + self.dataEndline = QtGui.QLabel(self.frame_8) + self.dataEndline.setGeometry(QtCore.QRect(170, 10, 61, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataEndline.setFont(font) + self.dataEndline.setObjectName(_fromUtf8("dataEndline")) + self.yearCmbBox = QtGui.QComboBox(self.frame_8) + self.yearCmbBox.setGeometry(QtCore.QRect(10, 30, 61, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.yearCmbBox.setFont(font) + self.yearCmbBox.setObjectName(_fromUtf8("yearCmbBox")) + self.starDateCmbBox = QtGui.QComboBox(self.frame_8) + self.starDateCmbBox.setGeometry(QtCore.QRect(80, 30, 81, 16)) + self.starDateCmbBox.setObjectName(_fromUtf8("starDateCmbBox")) + self.endDateCmbBox = QtGui.QComboBox(self.frame_8) + self.endDateCmbBox.setGeometry(QtCore.QRect(170, 30, 81, 16)) + self.endDateCmbBox.setObjectName(_fromUtf8("endDateCmbBox")) + self.LTReferenceRdBtn = QtGui.QRadioButton(self.frame_8) + self.LTReferenceRdBtn.setGeometry(QtCore.QRect(90, 50, 161, 16)) + font = QtGui.QFont() + font.setPointSize(8) + self.LTReferenceRdBtn.setFont(font) + self.LTReferenceRdBtn.setObjectName(_fromUtf8("LTReferenceRdBtn")) + self.frame_10 = QtGui.QFrame(self.tab_5) + self.frame_10.setGeometry(QtCore.QRect(10, 240, 261, 51)) + self.frame_10.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_10.setFrameShadow(QtGui.QFrame.Plain) + self.frame_10.setObjectName(_fromUtf8("frame_10")) + self.initialTimeSlider = QtGui.QSlider(self.frame_10) + self.initialTimeSlider.setGeometry(QtCore.QRect(70, 10, 141, 20)) + self.initialTimeSlider.setMaximum(24) + self.initialTimeSlider.setOrientation(QtCore.Qt.Horizontal) + self.initialTimeSlider.setObjectName(_fromUtf8("initialTimeSlider")) + self.dataInitialTimeLine = QtGui.QLabel(self.frame_10) + self.dataInitialTimeLine.setGeometry(QtCore.QRect(10, 10, 61, 16)) + font = QtGui.QFont() + font.setPointSize(9) + self.dataInitialTimeLine.setFont(font) + self.dataInitialTimeLine.setObjectName(_fromUtf8("dataInitialTimeLine")) + self.dataFinelTimeLine = QtGui.QLabel(self.frame_10) + self.dataFinelTimeLine.setGeometry(QtCore.QRect(10, 30, 61, 16)) + font = QtGui.QFont() + font.setPointSize(9) + self.dataFinelTimeLine.setFont(font) + self.dataFinelTimeLine.setObjectName(_fromUtf8("dataFinelTimeLine")) + self.finalTimeSlider = QtGui.QSlider(self.frame_10) + self.finalTimeSlider.setGeometry(QtCore.QRect(70, 30, 141, 20)) + self.finalTimeSlider.setMaximum(24) + self.finalTimeSlider.setOrientation(QtCore.Qt.Horizontal) + self.finalTimeSlider.setObjectName(_fromUtf8("finalTimeSlider")) + self.initialtimeLcd = QtGui.QLCDNumber(self.frame_10) + self.initialtimeLcd.setGeometry(QtCore.QRect(210, 10, 41, 16)) + palette = QtGui.QPalette() + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush) + self.initialtimeLcd.setPalette(palette) + font = QtGui.QFont() + font.setPointSize(14) + font.setBold(True) + font.setWeight(75) + self.initialtimeLcd.setFont(font) + self.initialtimeLcd.setObjectName(_fromUtf8("initialtimeLcd")) + self.finaltimeLcd = QtGui.QLCDNumber(self.frame_10) + self.finaltimeLcd.setGeometry(QtCore.QRect(210, 30, 41, 16)) + palette = QtGui.QPalette() + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ToolTipText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ToolTipText, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(161, 161, 161)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush) + brush = QtGui.QBrush(QtGui.QColor(134, 134, 134)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Midlight, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush) + brush = QtGui.QBrush(QtGui.QColor(71, 71, 71)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.BrightText, brush) + brush = QtGui.QBrush(QtGui.QColor(53, 53, 53)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Shadow, brush) + brush = QtGui.QBrush(QtGui.QColor(107, 107, 107)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 220)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipBase, brush) + brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ToolTipText, brush) + self.finaltimeLcd.setPalette(palette) + self.finaltimeLcd.setObjectName(_fromUtf8("finaltimeLcd")) + self.dataOkBtn = QtGui.QPushButton(self.tab_5) + self.dataOkBtn.setGeometry(QtCore.QRect(80, 300, 61, 21)) + self.dataOkBtn.setObjectName(_fromUtf8("dataOkBtn")) + self.dataCancelBtn = QtGui.QPushButton(self.tab_5) + self.dataCancelBtn.setGeometry(QtCore.QRect(160, 300, 61, 21)) + self.dataCancelBtn.setObjectName(_fromUtf8("dataCancelBtn")) + self.tabWidget.addTab(self.tab_5, _fromUtf8("")) + self.tab_7 = QtGui.QWidget() + self.tab_7.setObjectName(_fromUtf8("tab_7")) + self.gridLayout_10 = QtGui.QGridLayout(self.tab_7) + self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) + self.tabWidget_3 = QtGui.QTabWidget(self.tab_7) + self.tabWidget_3.setObjectName(_fromUtf8("tabWidget_3")) + self.tab_3 = QtGui.QWidget() + self.tab_3.setObjectName(_fromUtf8("tab_3")) + self.frame_13 = QtGui.QFrame(self.tab_3) + self.frame_13.setGeometry(QtCore.QRect(10, 20, 231, 191)) + self.frame_13.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_13.setFrameShadow(QtGui.QFrame.Plain) + self.frame_13.setObjectName(_fromUtf8("frame_13")) + self.removeDCCEB = QtGui.QCheckBox(self.frame_13) + self.removeDCCEB.setGeometry(QtCore.QRect(10, 30, 91, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.removeDCCEB.setFont(font) + self.removeDCCEB.setObjectName(_fromUtf8("removeDCCEB")) + self.coherentIntegrationCEB = QtGui.QCheckBox(self.frame_13) + self.coherentIntegrationCEB.setGeometry(QtCore.QRect(10, 110, 141, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.coherentIntegrationCEB.setFont(font) + self.coherentIntegrationCEB.setObjectName(_fromUtf8("coherentIntegrationCEB")) + self.removeDCcob = QtGui.QComboBox(self.frame_13) + self.removeDCcob.setGeometry(QtCore.QRect(150, 30, 71, 20)) + self.removeDCcob.setObjectName(_fromUtf8("removeDCcob")) + self.numberIntegration = QtGui.QLineEdit(self.frame_13) + self.numberIntegration.setGeometry(QtCore.QRect(150, 110, 71, 20)) + self.numberIntegration.setObjectName(_fromUtf8("numberIntegration")) + self.decodeCEB = QtGui.QCheckBox(self.frame_13) + self.decodeCEB.setGeometry(QtCore.QRect(10, 70, 101, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.decodeCEB.setFont(font) + self.decodeCEB.setObjectName(_fromUtf8("decodeCEB")) + self.decodeCcob = QtGui.QComboBox(self.frame_13) + self.decodeCcob.setGeometry(QtCore.QRect(150, 70, 71, 20)) + self.decodeCcob.setObjectName(_fromUtf8("decodeCcob")) + self.frame_14 = QtGui.QFrame(self.tab_3) + self.frame_14.setGeometry(QtCore.QRect(10, 230, 231, 41)) + self.frame_14.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_14.setFrameShadow(QtGui.QFrame.Plain) + self.frame_14.setObjectName(_fromUtf8("frame_14")) + self.dataopVolOkBtn = QtGui.QPushButton(self.frame_14) + self.dataopVolOkBtn.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataopVolOkBtn.setObjectName(_fromUtf8("dataopVolOkBtn")) + self.dataopVolCancelBtn = QtGui.QPushButton(self.frame_14) + self.dataopVolCancelBtn.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataopVolCancelBtn.setObjectName(_fromUtf8("dataopVolCancelBtn")) + self.tabWidget_3.addTab(self.tab_3, _fromUtf8("")) + self.tab_2 = QtGui.QWidget() + self.tab_2.setObjectName(_fromUtf8("tab_2")) + self.frame_17 = QtGui.QFrame(self.tab_2) + self.frame_17.setGeometry(QtCore.QRect(10, 120, 231, 61)) + self.frame_17.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_17.setFrameShadow(QtGui.QFrame.Plain) + self.frame_17.setObjectName(_fromUtf8("frame_17")) + self.datalabelGraphicsVol = QtGui.QLabel(self.frame_17) + self.datalabelGraphicsVol.setGeometry(QtCore.QRect(10, 10, 66, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.datalabelGraphicsVol.setFont(font) + self.datalabelGraphicsVol.setObjectName(_fromUtf8("datalabelGraphicsVol")) + self.dataPotlabelGraphicsVol = QtGui.QLabel(self.frame_17) + self.dataPotlabelGraphicsVol.setGeometry(QtCore.QRect(10, 30, 66, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataPotlabelGraphicsVol.setFont(font) + self.dataPotlabelGraphicsVol.setObjectName(_fromUtf8("dataPotlabelGraphicsVol")) + self.showdataGraphicsVol = QtGui.QCheckBox(self.frame_17) + self.showdataGraphicsVol.setGeometry(QtCore.QRect(140, 10, 31, 26)) + self.showdataGraphicsVol.setText(_fromUtf8("")) + self.showdataGraphicsVol.setObjectName(_fromUtf8("showdataGraphicsVol")) + self.savedataCEBGraphicsVol = QtGui.QCheckBox(self.frame_17) + self.savedataCEBGraphicsVol.setGeometry(QtCore.QRect(190, 10, 31, 26)) + self.savedataCEBGraphicsVol.setText(_fromUtf8("")) + self.savedataCEBGraphicsVol.setObjectName(_fromUtf8("savedataCEBGraphicsVol")) + self.showPotCEBGraphicsVol = QtGui.QCheckBox(self.frame_17) + self.showPotCEBGraphicsVol.setGeometry(QtCore.QRect(140, 30, 31, 26)) + self.showPotCEBGraphicsVol.setText(_fromUtf8("")) + self.showPotCEBGraphicsVol.setObjectName(_fromUtf8("showPotCEBGraphicsVol")) + self.checkBox_18 = QtGui.QCheckBox(self.frame_17) + self.checkBox_18.setGeometry(QtCore.QRect(190, 30, 31, 26)) + self.checkBox_18.setText(_fromUtf8("")) + self.checkBox_18.setObjectName(_fromUtf8("checkBox_18")) + self.frame_16 = QtGui.QFrame(self.tab_2) + self.frame_16.setGeometry(QtCore.QRect(10, 10, 231, 71)) + self.frame_16.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_16.setFrameShadow(QtGui.QFrame.Plain) + self.frame_16.setObjectName(_fromUtf8("frame_16")) + self.dataPathlabelGraphicsVol = QtGui.QLabel(self.frame_16) + self.dataPathlabelGraphicsVol.setGeometry(QtCore.QRect(10, 10, 66, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataPathlabelGraphicsVol.setFont(font) + self.dataPathlabelGraphicsVol.setObjectName(_fromUtf8("dataPathlabelGraphicsVol")) + self.dataPrefixlabelGraphicsVol = QtGui.QLabel(self.frame_16) + self.dataPrefixlabelGraphicsVol.setGeometry(QtCore.QRect(10, 40, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.dataPrefixlabelGraphicsVol.setFont(font) + self.dataPrefixlabelGraphicsVol.setObjectName(_fromUtf8("dataPrefixlabelGraphicsVol")) + self.dataPathtxtGraphicsVol = QtGui.QLineEdit(self.frame_16) + self.dataPathtxtGraphicsVol.setGeometry(QtCore.QRect(50, 10, 141, 21)) + self.dataPathtxtGraphicsVol.setObjectName(_fromUtf8("dataPathtxtGraphicsVol")) + self.dataGraphicsVolPathBrowse = QtGui.QToolButton(self.frame_16) + self.dataGraphicsVolPathBrowse.setGeometry(QtCore.QRect(200, 10, 21, 21)) + self.dataGraphicsVolPathBrowse.setObjectName(_fromUtf8("dataGraphicsVolPathBrowse")) + self.dataPrefixtxtGraphicsVol = QtGui.QLineEdit(self.frame_16) + self.dataPrefixtxtGraphicsVol.setGeometry(QtCore.QRect(50, 40, 171, 21)) + self.dataPrefixtxtGraphicsVol.setObjectName(_fromUtf8("dataPrefixtxtGraphicsVol")) + self.frame_18 = QtGui.QFrame(self.tab_2) + self.frame_18.setGeometry(QtCore.QRect(10, 90, 231, 21)) + self.frame_18.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_18.setFrameShadow(QtGui.QFrame.Plain) + self.frame_18.setObjectName(_fromUtf8("frame_18")) + self.label_6 = QtGui.QLabel(self.frame_18) + self.label_6.setGeometry(QtCore.QRect(10, 0, 31, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_6.setFont(font) + self.label_6.setObjectName(_fromUtf8("label_6")) + self.label_7 = QtGui.QLabel(self.frame_18) + self.label_7.setGeometry(QtCore.QRect(130, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_7.setFont(font) + self.label_7.setObjectName(_fromUtf8("label_7")) + self.label_8 = QtGui.QLabel(self.frame_18) + self.label_8.setGeometry(QtCore.QRect(190, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_8.setFont(font) + self.label_8.setObjectName(_fromUtf8("label_8")) + self.frame_19 = QtGui.QFrame(self.tab_2) + self.frame_19.setGeometry(QtCore.QRect(10, 180, 231, 61)) + self.frame_19.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_19.setFrameShadow(QtGui.QFrame.Plain) + self.frame_19.setObjectName(_fromUtf8("frame_19")) + self.label_13 = QtGui.QLabel(self.frame_19) + self.label_13.setGeometry(QtCore.QRect(10, 10, 61, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_13.setFont(font) + self.label_13.setObjectName(_fromUtf8("label_13")) + self.label_14 = QtGui.QLabel(self.frame_19) + self.label_14.setGeometry(QtCore.QRect(10, 30, 51, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_14.setFont(font) + self.label_14.setObjectName(_fromUtf8("label_14")) + self.lineEdit_4 = QtGui.QLineEdit(self.frame_19) + self.lineEdit_4.setGeometry(QtCore.QRect(90, 30, 101, 16)) + self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4")) + self.toolButton_2 = QtGui.QToolButton(self.frame_19) + self.toolButton_2.setGeometry(QtCore.QRect(200, 30, 21, 16)) + self.toolButton_2.setObjectName(_fromUtf8("toolButton_2")) + self.comboBox_10 = QtGui.QComboBox(self.frame_19) + self.comboBox_10.setGeometry(QtCore.QRect(90, 10, 131, 16)) + self.comboBox_10.setObjectName(_fromUtf8("comboBox_10")) + self.dataOkBtn_3 = QtGui.QPushButton(self.tab_2) + self.dataOkBtn_3.setGeometry(QtCore.QRect(60, 250, 71, 21)) + self.dataOkBtn_3.setObjectName(_fromUtf8("dataOkBtn_3")) + self.dataCancelBtn_3 = QtGui.QPushButton(self.tab_2) + self.dataCancelBtn_3.setGeometry(QtCore.QRect(140, 250, 71, 21)) + self.dataCancelBtn_3.setObjectName(_fromUtf8("dataCancelBtn_3")) + self.tabWidget_3.addTab(self.tab_2, _fromUtf8("")) + self.tab_4 = QtGui.QWidget() + self.tab_4.setObjectName(_fromUtf8("tab_4")) + self.frame_15 = QtGui.QFrame(self.tab_4) + self.frame_15.setGeometry(QtCore.QRect(10, 20, 231, 71)) + self.frame_15.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_15.setFrameShadow(QtGui.QFrame.Plain) + self.frame_15.setObjectName(_fromUtf8("frame_15")) + self.dataPathlabelOutVol = QtGui.QLabel(self.frame_15) + self.dataPathlabelOutVol.setGeometry(QtCore.QRect(20, 10, 31, 16)) + self.dataPathlabelOutVol.setObjectName(_fromUtf8("dataPathlabelOutVol")) + self.dataPathtxtOutVol = QtGui.QLineEdit(self.frame_15) + self.dataPathtxtOutVol.setGeometry(QtCore.QRect(62, 10, 121, 20)) + self.dataPathtxtOutVol.setObjectName(_fromUtf8("dataPathtxtOutVol")) + self.dataOutVolPathBrowse = QtGui.QToolButton(self.frame_15) + self.dataOutVolPathBrowse.setGeometry(QtCore.QRect(190, 10, 25, 19)) + self.dataOutVolPathBrowse.setObjectName(_fromUtf8("dataOutVolPathBrowse")) + self.dataSufixlabelOutVol = QtGui.QLabel(self.frame_15) + self.dataSufixlabelOutVol.setGeometry(QtCore.QRect(20, 40, 41, 16)) + self.dataSufixlabelOutVol.setObjectName(_fromUtf8("dataSufixlabelOutVol")) + self.dataSufixtxtOutVol = QtGui.QLineEdit(self.frame_15) + self.dataSufixtxtOutVol.setGeometry(QtCore.QRect(60, 40, 161, 20)) + self.dataSufixtxtOutVol.setObjectName(_fromUtf8("dataSufixtxtOutVol")) + self.frame_48 = QtGui.QFrame(self.tab_4) + self.frame_48.setGeometry(QtCore.QRect(10, 140, 231, 41)) + self.frame_48.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_48.setFrameShadow(QtGui.QFrame.Plain) + self.frame_48.setObjectName(_fromUtf8("frame_48")) + self.dataoutVolOkBtn = QtGui.QPushButton(self.frame_48) + self.dataoutVolOkBtn.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataoutVolOkBtn.setObjectName(_fromUtf8("dataoutVolOkBtn")) + self.dataCancelBtn_13 = QtGui.QPushButton(self.frame_48) + self.dataCancelBtn_13.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataCancelBtn_13.setObjectName(_fromUtf8("dataCancelBtn_13")) + self.tabWidget_3.addTab(self.tab_4, _fromUtf8("")) + self.gridLayout_10.addWidget(self.tabWidget_3, 0, 0, 1, 1) + self.tabWidget.addTab(self.tab_7, _fromUtf8("")) + self.tab_6 = QtGui.QWidget() + self.tab_6.setObjectName(_fromUtf8("tab_6")) + self.gridLayout_11 = QtGui.QGridLayout(self.tab_6) + self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) + self.tabWidget_4 = QtGui.QTabWidget(self.tab_6) + self.tabWidget_4.setObjectName(_fromUtf8("tabWidget_4")) + self.tab_8 = QtGui.QWidget() + self.tab_8.setObjectName(_fromUtf8("tab_8")) + self.frame_34 = QtGui.QFrame(self.tab_8) + self.frame_34.setGeometry(QtCore.QRect(20, 20, 231, 191)) + self.frame_34.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_34.setFrameShadow(QtGui.QFrame.Plain) + self.frame_34.setObjectName(_fromUtf8("frame_34")) + self.checkBox_49 = QtGui.QCheckBox(self.frame_34) + self.checkBox_49.setGeometry(QtCore.QRect(10, 30, 91, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.checkBox_49.setFont(font) + self.checkBox_49.setObjectName(_fromUtf8("checkBox_49")) + self.checkBox_50 = QtGui.QCheckBox(self.frame_34) + self.checkBox_50.setGeometry(QtCore.QRect(10, 70, 141, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.checkBox_50.setFont(font) + self.checkBox_50.setObjectName(_fromUtf8("checkBox_50")) + self.checkBox_51 = QtGui.QCheckBox(self.frame_34) + self.checkBox_51.setGeometry(QtCore.QRect(10, 110, 161, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.checkBox_51.setFont(font) + self.checkBox_51.setObjectName(_fromUtf8("checkBox_51")) + self.checkBox_52 = QtGui.QCheckBox(self.frame_34) + self.checkBox_52.setGeometry(QtCore.QRect(10, 160, 141, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.checkBox_52.setFont(font) + self.checkBox_52.setObjectName(_fromUtf8("checkBox_52")) + self.comboBox_21 = QtGui.QComboBox(self.frame_34) + self.comboBox_21.setGeometry(QtCore.QRect(150, 30, 71, 20)) + self.comboBox_21.setObjectName(_fromUtf8("comboBox_21")) + self.comboBox_22 = QtGui.QComboBox(self.frame_34) + self.comboBox_22.setGeometry(QtCore.QRect(150, 70, 71, 20)) + self.comboBox_22.setObjectName(_fromUtf8("comboBox_22")) + self.comboBox_23 = QtGui.QComboBox(self.frame_34) + self.comboBox_23.setGeometry(QtCore.QRect(150, 130, 71, 20)) + self.comboBox_23.setObjectName(_fromUtf8("comboBox_23")) + self.lineEdit_33 = QtGui.QLineEdit(self.frame_34) + self.lineEdit_33.setGeometry(QtCore.QRect(150, 160, 71, 20)) + self.lineEdit_33.setObjectName(_fromUtf8("lineEdit_33")) + self.frame_35 = QtGui.QFrame(self.tab_8) + self.frame_35.setGeometry(QtCore.QRect(10, 220, 231, 41)) + self.frame_35.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_35.setFrameShadow(QtGui.QFrame.Plain) + self.frame_35.setObjectName(_fromUtf8("frame_35")) + self.dataOkBtn_9 = QtGui.QPushButton(self.frame_35) + self.dataOkBtn_9.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataOkBtn_9.setObjectName(_fromUtf8("dataOkBtn_9")) + self.dataCancelBtn_9 = QtGui.QPushButton(self.frame_35) + self.dataCancelBtn_9.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataCancelBtn_9.setObjectName(_fromUtf8("dataCancelBtn_9")) + self.tabWidget_4.addTab(self.tab_8, _fromUtf8("")) + self.tab_10 = QtGui.QWidget() + self.tab_10.setObjectName(_fromUtf8("tab_10")) + self.dataCancelBtn_11 = QtGui.QPushButton(self.tab_10) + self.dataCancelBtn_11.setGeometry(QtCore.QRect(140, 270, 71, 21)) + self.dataCancelBtn_11.setObjectName(_fromUtf8("dataCancelBtn_11")) + self.frame_39 = QtGui.QFrame(self.tab_10) + self.frame_39.setGeometry(QtCore.QRect(10, 90, 231, 21)) + self.frame_39.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_39.setFrameShadow(QtGui.QFrame.Plain) + self.frame_39.setObjectName(_fromUtf8("frame_39")) + self.label_80 = QtGui.QLabel(self.frame_39) + self.label_80.setGeometry(QtCore.QRect(10, 0, 31, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_80.setFont(font) + self.label_80.setObjectName(_fromUtf8("label_80")) + self.label_81 = QtGui.QLabel(self.frame_39) + self.label_81.setGeometry(QtCore.QRect(130, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_81.setFont(font) + self.label_81.setObjectName(_fromUtf8("label_81")) + self.label_82 = QtGui.QLabel(self.frame_39) + self.label_82.setGeometry(QtCore.QRect(190, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_82.setFont(font) + self.label_82.setObjectName(_fromUtf8("label_82")) + self.frame_40 = QtGui.QFrame(self.tab_10) + self.frame_40.setGeometry(QtCore.QRect(10, 120, 231, 101)) + self.frame_40.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_40.setFrameShadow(QtGui.QFrame.Plain) + self.frame_40.setObjectName(_fromUtf8("frame_40")) + self.label_83 = QtGui.QLabel(self.frame_40) + self.label_83.setGeometry(QtCore.QRect(10, 0, 66, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_83.setFont(font) + self.label_83.setObjectName(_fromUtf8("label_83")) + self.label_84 = QtGui.QLabel(self.frame_40) + self.label_84.setGeometry(QtCore.QRect(10, 20, 111, 21)) + self.label_84.setObjectName(_fromUtf8("label_84")) + self.label_85 = QtGui.QLabel(self.frame_40) + self.label_85.setGeometry(QtCore.QRect(10, 40, 91, 16)) + self.label_85.setObjectName(_fromUtf8("label_85")) + self.label_86 = QtGui.QLabel(self.frame_40) + self.label_86.setGeometry(QtCore.QRect(10, 60, 66, 21)) + self.label_86.setObjectName(_fromUtf8("label_86")) + self.checkBox_57 = QtGui.QCheckBox(self.frame_40) + self.checkBox_57.setGeometry(QtCore.QRect(150, 0, 31, 26)) + self.checkBox_57.setText(_fromUtf8("")) + self.checkBox_57.setObjectName(_fromUtf8("checkBox_57")) + self.checkBox_58 = QtGui.QCheckBox(self.frame_40) + self.checkBox_58.setGeometry(QtCore.QRect(190, 0, 31, 26)) + self.checkBox_58.setText(_fromUtf8("")) + self.checkBox_58.setObjectName(_fromUtf8("checkBox_58")) + self.checkBox_59 = QtGui.QCheckBox(self.frame_40) + self.checkBox_59.setGeometry(QtCore.QRect(150, 20, 31, 26)) + self.checkBox_59.setText(_fromUtf8("")) + self.checkBox_59.setObjectName(_fromUtf8("checkBox_59")) + self.checkBox_60 = QtGui.QCheckBox(self.frame_40) + self.checkBox_60.setGeometry(QtCore.QRect(190, 20, 31, 26)) + self.checkBox_60.setText(_fromUtf8("")) + self.checkBox_60.setObjectName(_fromUtf8("checkBox_60")) + self.checkBox_61 = QtGui.QCheckBox(self.frame_40) + self.checkBox_61.setGeometry(QtCore.QRect(150, 40, 31, 21)) + self.checkBox_61.setText(_fromUtf8("")) + self.checkBox_61.setObjectName(_fromUtf8("checkBox_61")) + self.checkBox_62 = QtGui.QCheckBox(self.frame_40) + self.checkBox_62.setGeometry(QtCore.QRect(190, 40, 31, 26)) + self.checkBox_62.setText(_fromUtf8("")) + self.checkBox_62.setObjectName(_fromUtf8("checkBox_62")) + self.checkBox_63 = QtGui.QCheckBox(self.frame_40) + self.checkBox_63.setGeometry(QtCore.QRect(150, 60, 20, 26)) + self.checkBox_63.setText(_fromUtf8("")) + self.checkBox_63.setObjectName(_fromUtf8("checkBox_63")) + self.label_100 = QtGui.QLabel(self.frame_40) + self.label_100.setGeometry(QtCore.QRect(10, 80, 66, 21)) + self.label_100.setObjectName(_fromUtf8("label_100")) + self.checkBox_64 = QtGui.QCheckBox(self.frame_40) + self.checkBox_64.setGeometry(QtCore.QRect(190, 60, 31, 26)) + self.checkBox_64.setText(_fromUtf8("")) + self.checkBox_64.setObjectName(_fromUtf8("checkBox_64")) + self.checkBox_73 = QtGui.QCheckBox(self.frame_40) + self.checkBox_73.setGeometry(QtCore.QRect(150, 80, 20, 26)) + self.checkBox_73.setText(_fromUtf8("")) + self.checkBox_73.setObjectName(_fromUtf8("checkBox_73")) + self.checkBox_74 = QtGui.QCheckBox(self.frame_40) + self.checkBox_74.setGeometry(QtCore.QRect(190, 80, 20, 26)) + self.checkBox_74.setText(_fromUtf8("")) + self.checkBox_74.setObjectName(_fromUtf8("checkBox_74")) + self.dataOkBtn_11 = QtGui.QPushButton(self.tab_10) + self.dataOkBtn_11.setGeometry(QtCore.QRect(60, 270, 71, 21)) + self.dataOkBtn_11.setObjectName(_fromUtf8("dataOkBtn_11")) + self.frame_38 = QtGui.QFrame(self.tab_10) + self.frame_38.setGeometry(QtCore.QRect(10, 10, 231, 71)) + self.frame_38.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_38.setFrameShadow(QtGui.QFrame.Plain) + self.frame_38.setObjectName(_fromUtf8("frame_38")) + self.label_78 = QtGui.QLabel(self.frame_38) + self.label_78.setGeometry(QtCore.QRect(10, 10, 66, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_78.setFont(font) + self.label_78.setObjectName(_fromUtf8("label_78")) + self.label_79 = QtGui.QLabel(self.frame_38) + self.label_79.setGeometry(QtCore.QRect(10, 40, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_79.setFont(font) + self.label_79.setObjectName(_fromUtf8("label_79")) + self.lineEdit_35 = QtGui.QLineEdit(self.frame_38) + self.lineEdit_35.setGeometry(QtCore.QRect(50, 10, 141, 21)) + self.lineEdit_35.setObjectName(_fromUtf8("lineEdit_35")) + self.toolButton_17 = QtGui.QToolButton(self.frame_38) + self.toolButton_17.setGeometry(QtCore.QRect(200, 10, 21, 21)) + self.toolButton_17.setObjectName(_fromUtf8("toolButton_17")) + self.lineEdit_36 = QtGui.QLineEdit(self.frame_38) + self.lineEdit_36.setGeometry(QtCore.QRect(50, 40, 171, 21)) + self.lineEdit_36.setObjectName(_fromUtf8("lineEdit_36")) + self.frame_41 = QtGui.QFrame(self.tab_10) + self.frame_41.setGeometry(QtCore.QRect(10, 220, 231, 51)) + self.frame_41.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_41.setFrameShadow(QtGui.QFrame.Plain) + self.frame_41.setObjectName(_fromUtf8("frame_41")) + self.label_87 = QtGui.QLabel(self.frame_41) + self.label_87.setGeometry(QtCore.QRect(10, 10, 61, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_87.setFont(font) + self.label_87.setObjectName(_fromUtf8("label_87")) + self.label_88 = QtGui.QLabel(self.frame_41) + self.label_88.setGeometry(QtCore.QRect(10, 30, 51, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_88.setFont(font) + self.label_88.setObjectName(_fromUtf8("label_88")) + self.lineEdit_37 = QtGui.QLineEdit(self.frame_41) + self.lineEdit_37.setGeometry(QtCore.QRect(90, 30, 101, 16)) + self.lineEdit_37.setObjectName(_fromUtf8("lineEdit_37")) + self.toolButton_18 = QtGui.QToolButton(self.frame_41) + self.toolButton_18.setGeometry(QtCore.QRect(200, 30, 21, 16)) + self.toolButton_18.setObjectName(_fromUtf8("toolButton_18")) + self.comboBox_27 = QtGui.QComboBox(self.frame_41) + self.comboBox_27.setGeometry(QtCore.QRect(90, 10, 131, 16)) + self.comboBox_27.setObjectName(_fromUtf8("comboBox_27")) + self.tabWidget_4.addTab(self.tab_10, _fromUtf8("")) + self.tab_11 = QtGui.QWidget() + self.tab_11.setObjectName(_fromUtf8("tab_11")) + self.label_22 = QtGui.QLabel(self.tab_11) + self.label_22.setGeometry(QtCore.QRect(140, 100, 58, 16)) + self.label_22.setObjectName(_fromUtf8("label_22")) + self.frame_47 = QtGui.QFrame(self.tab_11) + self.frame_47.setGeometry(QtCore.QRect(10, 20, 231, 71)) + self.frame_47.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_47.setFrameShadow(QtGui.QFrame.Plain) + self.frame_47.setObjectName(_fromUtf8("frame_47")) + self.label_20 = QtGui.QLabel(self.frame_47) + self.label_20.setGeometry(QtCore.QRect(20, 10, 22, 16)) + self.label_20.setObjectName(_fromUtf8("label_20")) + self.lineEdit_11 = QtGui.QLineEdit(self.frame_47) + self.lineEdit_11.setGeometry(QtCore.QRect(50, 10, 133, 20)) + self.lineEdit_11.setObjectName(_fromUtf8("lineEdit_11")) + self.toolButton_5 = QtGui.QToolButton(self.frame_47) + self.toolButton_5.setGeometry(QtCore.QRect(190, 10, 25, 19)) + self.toolButton_5.setObjectName(_fromUtf8("toolButton_5")) + self.label_21 = QtGui.QLabel(self.frame_47) + self.label_21.setGeometry(QtCore.QRect(20, 40, 24, 16)) + self.label_21.setObjectName(_fromUtf8("label_21")) + self.lineEdit_12 = QtGui.QLineEdit(self.frame_47) + self.lineEdit_12.setGeometry(QtCore.QRect(50, 40, 171, 20)) + self.lineEdit_12.setObjectName(_fromUtf8("lineEdit_12")) + self.frame_49 = QtGui.QFrame(self.tab_11) + self.frame_49.setGeometry(QtCore.QRect(10, 130, 231, 41)) + self.frame_49.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_49.setFrameShadow(QtGui.QFrame.Plain) + self.frame_49.setObjectName(_fromUtf8("frame_49")) + self.dataOkBtn_14 = QtGui.QPushButton(self.frame_49) + self.dataOkBtn_14.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataOkBtn_14.setObjectName(_fromUtf8("dataOkBtn_14")) + self.dataCancelBtn_14 = QtGui.QPushButton(self.frame_49) + self.dataCancelBtn_14.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataCancelBtn_14.setObjectName(_fromUtf8("dataCancelBtn_14")) + self.tabWidget_4.addTab(self.tab_11, _fromUtf8("")) + self.gridLayout_11.addWidget(self.tabWidget_4, 0, 0, 1, 1) + self.tabWidget.addTab(self.tab_6, _fromUtf8("")) + self.tab_9 = QtGui.QWidget() + self.tab_9.setObjectName(_fromUtf8("tab_9")) + self.gridLayout_12 = QtGui.QGridLayout(self.tab_9) + self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12")) + self.tabWidget_5 = QtGui.QTabWidget(self.tab_9) + self.tabWidget_5.setObjectName(_fromUtf8("tabWidget_5")) + self.tab_12 = QtGui.QWidget() + self.tab_12.setObjectName(_fromUtf8("tab_12")) + self.frame_37 = QtGui.QFrame(self.tab_12) + self.frame_37.setGeometry(QtCore.QRect(0, 10, 231, 191)) + self.frame_37.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_37.setFrameShadow(QtGui.QFrame.Plain) + self.frame_37.setObjectName(_fromUtf8("frame_37")) + self.checkBox_53 = QtGui.QCheckBox(self.frame_37) + self.checkBox_53.setGeometry(QtCore.QRect(10, 30, 91, 17)) + font = QtGui.QFont() + font.setPointSize(10) + self.checkBox_53.setFont(font) + self.checkBox_53.setObjectName(_fromUtf8("checkBox_53")) + self.comboBox_24 = QtGui.QComboBox(self.frame_37) + self.comboBox_24.setGeometry(QtCore.QRect(150, 30, 71, 20)) + self.comboBox_24.setObjectName(_fromUtf8("comboBox_24")) + self.frame_36 = QtGui.QFrame(self.tab_12) + self.frame_36.setGeometry(QtCore.QRect(10, 230, 231, 41)) + self.frame_36.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_36.setFrameShadow(QtGui.QFrame.Plain) + self.frame_36.setObjectName(_fromUtf8("frame_36")) + self.dataOkBtn_10 = QtGui.QPushButton(self.frame_36) + self.dataOkBtn_10.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataOkBtn_10.setObjectName(_fromUtf8("dataOkBtn_10")) + self.dataCancelBtn_10 = QtGui.QPushButton(self.frame_36) + self.dataCancelBtn_10.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataCancelBtn_10.setObjectName(_fromUtf8("dataCancelBtn_10")) + self.tabWidget_5.addTab(self.tab_12, _fromUtf8("")) + self.tab_13 = QtGui.QWidget() + self.tab_13.setObjectName(_fromUtf8("tab_13")) + self.frame_44 = QtGui.QFrame(self.tab_13) + self.frame_44.setGeometry(QtCore.QRect(10, 90, 231, 21)) + self.frame_44.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_44.setFrameShadow(QtGui.QFrame.Plain) + self.frame_44.setObjectName(_fromUtf8("frame_44")) + self.label_95 = QtGui.QLabel(self.frame_44) + self.label_95.setGeometry(QtCore.QRect(10, 0, 31, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_95.setFont(font) + self.label_95.setObjectName(_fromUtf8("label_95")) + self.label_96 = QtGui.QLabel(self.frame_44) + self.label_96.setGeometry(QtCore.QRect(130, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_96.setFont(font) + self.label_96.setObjectName(_fromUtf8("label_96")) + self.label_97 = QtGui.QLabel(self.frame_44) + self.label_97.setGeometry(QtCore.QRect(190, 0, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_97.setFont(font) + self.label_97.setObjectName(_fromUtf8("label_97")) + self.frame_42 = QtGui.QFrame(self.tab_13) + self.frame_42.setGeometry(QtCore.QRect(10, 210, 231, 51)) + self.frame_42.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_42.setFrameShadow(QtGui.QFrame.Plain) + self.frame_42.setObjectName(_fromUtf8("frame_42")) + self.label_89 = QtGui.QLabel(self.frame_42) + self.label_89.setGeometry(QtCore.QRect(10, 10, 61, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_89.setFont(font) + self.label_89.setObjectName(_fromUtf8("label_89")) + self.label_90 = QtGui.QLabel(self.frame_42) + self.label_90.setGeometry(QtCore.QRect(10, 30, 51, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_90.setFont(font) + self.label_90.setObjectName(_fromUtf8("label_90")) + self.lineEdit_38 = QtGui.QLineEdit(self.frame_42) + self.lineEdit_38.setGeometry(QtCore.QRect(90, 30, 101, 16)) + self.lineEdit_38.setObjectName(_fromUtf8("lineEdit_38")) + self.toolButton_19 = QtGui.QToolButton(self.frame_42) + self.toolButton_19.setGeometry(QtCore.QRect(200, 30, 21, 16)) + self.toolButton_19.setObjectName(_fromUtf8("toolButton_19")) + self.comboBox_28 = QtGui.QComboBox(self.frame_42) + self.comboBox_28.setGeometry(QtCore.QRect(90, 10, 131, 16)) + self.comboBox_28.setObjectName(_fromUtf8("comboBox_28")) + self.frame_45 = QtGui.QFrame(self.tab_13) + self.frame_45.setGeometry(QtCore.QRect(10, 10, 231, 71)) + self.frame_45.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_45.setFrameShadow(QtGui.QFrame.Plain) + self.frame_45.setObjectName(_fromUtf8("frame_45")) + self.label_98 = QtGui.QLabel(self.frame_45) + self.label_98.setGeometry(QtCore.QRect(10, 10, 66, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_98.setFont(font) + self.label_98.setObjectName(_fromUtf8("label_98")) + self.label_99 = QtGui.QLabel(self.frame_45) + self.label_99.setGeometry(QtCore.QRect(10, 40, 41, 16)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_99.setFont(font) + self.label_99.setObjectName(_fromUtf8("label_99")) + self.lineEdit_39 = QtGui.QLineEdit(self.frame_45) + self.lineEdit_39.setGeometry(QtCore.QRect(50, 10, 141, 21)) + self.lineEdit_39.setObjectName(_fromUtf8("lineEdit_39")) + self.toolButton_20 = QtGui.QToolButton(self.frame_45) + self.toolButton_20.setGeometry(QtCore.QRect(200, 10, 21, 21)) + self.toolButton_20.setObjectName(_fromUtf8("toolButton_20")) + self.lineEdit_40 = QtGui.QLineEdit(self.frame_45) + self.lineEdit_40.setGeometry(QtCore.QRect(50, 40, 171, 21)) + self.lineEdit_40.setObjectName(_fromUtf8("lineEdit_40")) + self.frame_43 = QtGui.QFrame(self.tab_13) + self.frame_43.setGeometry(QtCore.QRect(10, 120, 231, 81)) + self.frame_43.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_43.setFrameShadow(QtGui.QFrame.Plain) + self.frame_43.setObjectName(_fromUtf8("frame_43")) + self.label_91 = QtGui.QLabel(self.frame_43) + self.label_91.setGeometry(QtCore.QRect(10, 30, 66, 21)) + font = QtGui.QFont() + font.setPointSize(10) + self.label_91.setFont(font) + self.label_91.setObjectName(_fromUtf8("label_91")) + self.checkBox_67 = QtGui.QCheckBox(self.frame_43) + self.checkBox_67.setGeometry(QtCore.QRect(140, 30, 31, 26)) + self.checkBox_67.setText(_fromUtf8("")) + self.checkBox_67.setObjectName(_fromUtf8("checkBox_67")) + self.checkBox_68 = QtGui.QCheckBox(self.frame_43) + self.checkBox_68.setGeometry(QtCore.QRect(190, 30, 31, 26)) + self.checkBox_68.setText(_fromUtf8("")) + self.checkBox_68.setObjectName(_fromUtf8("checkBox_68")) + self.dataOkBtn_12 = QtGui.QPushButton(self.tab_13) + self.dataOkBtn_12.setGeometry(QtCore.QRect(60, 270, 71, 21)) + self.dataOkBtn_12.setObjectName(_fromUtf8("dataOkBtn_12")) + self.dataCancelBtn_12 = QtGui.QPushButton(self.tab_13) + self.dataCancelBtn_12.setGeometry(QtCore.QRect(140, 270, 71, 21)) + self.dataCancelBtn_12.setObjectName(_fromUtf8("dataCancelBtn_12")) + self.tabWidget_5.addTab(self.tab_13, _fromUtf8("")) + self.tab_14 = QtGui.QWidget() + self.tab_14.setObjectName(_fromUtf8("tab_14")) + self.label_17 = QtGui.QLabel(self.tab_14) + self.label_17.setGeometry(QtCore.QRect(140, 100, 58, 16)) + self.label_17.setObjectName(_fromUtf8("label_17")) + self.frame_46 = QtGui.QFrame(self.tab_14) + self.frame_46.setGeometry(QtCore.QRect(10, 20, 231, 71)) + self.frame_46.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_46.setFrameShadow(QtGui.QFrame.Plain) + self.frame_46.setObjectName(_fromUtf8("frame_46")) + self.label_18 = QtGui.QLabel(self.frame_46) + self.label_18.setGeometry(QtCore.QRect(20, 10, 22, 16)) + self.label_18.setObjectName(_fromUtf8("label_18")) + self.lineEdit_9 = QtGui.QLineEdit(self.frame_46) + self.lineEdit_9.setGeometry(QtCore.QRect(50, 10, 133, 20)) + self.lineEdit_9.setObjectName(_fromUtf8("lineEdit_9")) + self.toolButton_4 = QtGui.QToolButton(self.frame_46) + self.toolButton_4.setGeometry(QtCore.QRect(190, 10, 25, 19)) + self.toolButton_4.setObjectName(_fromUtf8("toolButton_4")) + self.label_19 = QtGui.QLabel(self.frame_46) + self.label_19.setGeometry(QtCore.QRect(20, 40, 24, 16)) + self.label_19.setObjectName(_fromUtf8("label_19")) + self.lineEdit_10 = QtGui.QLineEdit(self.frame_46) + self.lineEdit_10.setGeometry(QtCore.QRect(50, 40, 171, 20)) + self.lineEdit_10.setObjectName(_fromUtf8("lineEdit_10")) + self.frame_50 = QtGui.QFrame(self.tab_14) + self.frame_50.setGeometry(QtCore.QRect(10, 140, 231, 41)) + self.frame_50.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_50.setFrameShadow(QtGui.QFrame.Plain) + self.frame_50.setObjectName(_fromUtf8("frame_50")) + self.dataOkBtn_15 = QtGui.QPushButton(self.frame_50) + self.dataOkBtn_15.setGeometry(QtCore.QRect(30, 10, 71, 21)) + self.dataOkBtn_15.setObjectName(_fromUtf8("dataOkBtn_15")) + self.dataCancelBtn_15 = QtGui.QPushButton(self.frame_50) + self.dataCancelBtn_15.setGeometry(QtCore.QRect(130, 10, 71, 21)) + self.dataCancelBtn_15.setObjectName(_fromUtf8("dataCancelBtn_15")) + self.tabWidget_5.addTab(self.tab_14, _fromUtf8("")) + self.gridLayout_12.addWidget(self.tabWidget_5, 0, 0, 1, 1) + self.tabWidget.addTab(self.tab_9, _fromUtf8("")) + self.frame_12 = QtGui.QFrame(self.centralWidget) + self.frame_12.setGeometry(QtCore.QRect(260, 380, 301, 131)) + self.frame_12.setFrameShape(QtGui.QFrame.StyledPanel) + self.frame_12.setFrameShadow(QtGui.QFrame.Plain) + self.frame_12.setObjectName(_fromUtf8("frame_12")) + self.tabWidget_2 = QtGui.QTabWidget(self.frame_12) + self.tabWidget_2.setGeometry(QtCore.QRect(10, 10, 281, 111)) + self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2")) + self.tab = QtGui.QWidget() + self.tab.setObjectName(_fromUtf8("tab")) + self.textEdit = Qsci.QsciScintilla(self.tab) + self.textEdit.setGeometry(QtCore.QRect(10, 0, 261, 81)) + self.textEdit.setToolTip(_fromUtf8("")) + self.textEdit.setWhatsThis(_fromUtf8("")) + self.textEdit.setObjectName(_fromUtf8("textEdit")) + self.tabWidget_2.addTab(self.tab, _fromUtf8("")) + MainWindow.setCentralWidget(self.centralWidget) + self.menuBar = QtGui.QMenuBar(MainWindow) + self.menuBar.setGeometry(QtCore.QRect(0, 0, 852, 21)) + self.menuBar.setObjectName(_fromUtf8("menuBar")) + self.menuFILE = QtGui.QMenu(self.menuBar) + self.menuFILE.setObjectName(_fromUtf8("menuFILE")) + self.menuRUN = QtGui.QMenu(self.menuBar) + self.menuRUN.setObjectName(_fromUtf8("menuRUN")) + self.menuOPTIONS = QtGui.QMenu(self.menuBar) + self.menuOPTIONS.setObjectName(_fromUtf8("menuOPTIONS")) + self.menuHELP = QtGui.QMenu(self.menuBar) + self.menuHELP.setObjectName(_fromUtf8("menuHELP")) + MainWindow.setMenuBar(self.menuBar) + self.toolBar_2 = QtGui.QToolBar(MainWindow) + self.toolBar_2.setObjectName(_fromUtf8("toolBar_2")) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar_2) + self.toolBar = QtGui.QToolBar(MainWindow) + self.toolBar.setObjectName(_fromUtf8("toolBar")) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) + self.actionabrirObj = QtGui.QAction(MainWindow) + self.actionabrirObj.setObjectName(_fromUtf8("actionabrirObj")) + self.actioncrearObj = QtGui.QAction(MainWindow) + self.actioncrearObj.setObjectName(_fromUtf8("actioncrearObj")) + self.actionguardarObj = QtGui.QAction(MainWindow) + self.actionguardarObj.setObjectName(_fromUtf8("actionguardarObj")) + self.actionStartObj = QtGui.QAction(MainWindow) + self.actionStartObj.setObjectName(_fromUtf8("actionStartObj")) + self.actionPausaObj = QtGui.QAction(MainWindow) + self.actionPausaObj.setObjectName(_fromUtf8("actionPausaObj")) + self.actionconfigLogfileObj = QtGui.QAction(MainWindow) + self.actionconfigLogfileObj.setObjectName(_fromUtf8("actionconfigLogfileObj")) + self.actionconfigserverObj = QtGui.QAction(MainWindow) + self.actionconfigserverObj.setObjectName(_fromUtf8("actionconfigserverObj")) + self.actionAboutObj = QtGui.QAction(MainWindow) + self.actionAboutObj.setObjectName(_fromUtf8("actionAboutObj")) + self.actionPrfObj = QtGui.QAction(MainWindow) + self.actionPrfObj.setObjectName(_fromUtf8("actionPrfObj")) + self.actionOpenObj = QtGui.QAction(MainWindow) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../Downloads/IMAGENES/Open Sign.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionOpenObj.setIcon(icon) + self.actionOpenObj.setObjectName(_fromUtf8("actionOpenObj")) + self.actionsaveObj = QtGui.QAction(MainWindow) + icon1 = QtGui.QIcon() + icon1.addPixmap(QtGui.QPixmap(_fromUtf8("../../../Downloads/IMAGENES/guardar.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionsaveObj.setIcon(icon1) + self.actionsaveObj.setObjectName(_fromUtf8("actionsaveObj")) + self.actionPlayObj = QtGui.QAction(MainWindow) + icon2 = QtGui.QIcon() + icon2.addPixmap(QtGui.QPixmap(_fromUtf8("../../../Downloads/IMAGENES/play.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionPlayObj.setIcon(icon2) + self.actionPlayObj.setObjectName(_fromUtf8("actionPlayObj")) + self.actionstopObj = QtGui.QAction(MainWindow) + icon3 = QtGui.QIcon() + icon3.addPixmap(QtGui.QPixmap(_fromUtf8("../../../Downloads/IMAGENES/stop.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionstopObj.setIcon(icon3) + self.actionstopObj.setObjectName(_fromUtf8("actionstopObj")) + self.actioncreateObj = QtGui.QAction(MainWindow) + icon4 = QtGui.QIcon() + icon4.addPixmap(QtGui.QPixmap(_fromUtf8("../../../Downloads/IMAGENES/Crear.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actioncreateObj.setIcon(icon4) + self.actioncreateObj.setObjectName(_fromUtf8("actioncreateObj")) + self.actionCerrarObj = QtGui.QAction(MainWindow) + self.actionCerrarObj.setObjectName(_fromUtf8("actionCerrarObj")) + self.menuFILE.addAction(self.actionabrirObj) + self.menuFILE.addAction(self.actioncrearObj) + self.menuFILE.addAction(self.actionguardarObj) + self.menuFILE.addAction(self.actionCerrarObj) + self.menuRUN.addAction(self.actionStartObj) + self.menuRUN.addAction(self.actionPausaObj) + self.menuOPTIONS.addAction(self.actionconfigLogfileObj) + self.menuOPTIONS.addAction(self.actionconfigserverObj) + self.menuHELP.addAction(self.actionAboutObj) + self.menuHELP.addAction(self.actionPrfObj) + self.menuBar.addAction(self.menuFILE.menuAction()) + self.menuBar.addAction(self.menuRUN.menuAction()) + self.menuBar.addAction(self.menuOPTIONS.menuAction()) + self.menuBar.addAction(self.menuHELP.menuAction()) + self.toolBar.addSeparator() + self.toolBar.addSeparator() + self.toolBar.addAction(self.actionOpenObj) + self.toolBar.addSeparator() + self.toolBar.addAction(self.actioncreateObj) + self.toolBar.addSeparator() + self.toolBar.addSeparator() + self.toolBar.addAction(self.actionsaveObj) + self.toolBar.addSeparator() + self.toolBar.addSeparator() + self.toolBar.addAction(self.actionPlayObj) + self.toolBar.addSeparator() + self.toolBar.addSeparator() + self.toolBar.addAction(self.actionstopObj) + self.toolBar.addSeparator() + + self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(0) + self.tabWidget_3.setCurrentIndex(0) + self.tabWidget_4.setCurrentIndex(0) + self.tabWidget_5.setCurrentIndex(0) + self.tabWidget_2.setCurrentIndex(0) + QtCore.QMetaObject.connectSlotsByName(MainWindow) + + def retranslateUi(self, MainWindow): + MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.label_46.setText(QtGui.QApplication.translate("MainWindow", "Project Properties", None, QtGui.QApplication.UnicodeUTF8)) + self.label.setText(QtGui.QApplication.translate("MainWindow", "Project Explorer", None, QtGui.QApplication.UnicodeUTF8)) + self.addpBtn.setText(QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) + self.addbBtn.setText(QtGui.QApplication.translate("MainWindow", "Branch", None, QtGui.QApplication.UnicodeUTF8)) + self.addoBtn.setText(QtGui.QApplication.translate("MainWindow", "Object", None, QtGui.QApplication.UnicodeUTF8)) + self.label_55.setText(QtGui.QApplication.translate("MainWindow", "Read Mode:", None, QtGui.QApplication.UnicodeUTF8)) + self.readModeCmBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "OffLine", None, QtGui.QApplication.UnicodeUTF8)) + self.readModeCmBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "OnLine", None, QtGui.QApplication.UnicodeUTF8)) + self.dataWaitLine.setText(QtGui.QApplication.translate("MainWindow", "Wait(sec):", None, QtGui.QApplication.UnicodeUTF8)) + self.dataFormatLine.setText(QtGui.QApplication.translate("MainWindow", "Data format :", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPathline.setText(QtGui.QApplication.translate("MainWindow", "Data Path :", None, QtGui.QApplication.UnicodeUTF8)) + self.dataFormatCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "Raw Data", None, QtGui.QApplication.UnicodeUTF8)) + self.dataFormatCmbBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "Process Data", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOperationModeline.setText(QtGui.QApplication.translate("MainWindow", "Operation Mode:", None, QtGui.QApplication.UnicodeUTF8)) + self.operationModeCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "Basico", None, QtGui.QApplication.UnicodeUTF8)) + self.operationModeCmbBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "Avanzado", None, QtGui.QApplication.UnicodeUTF8)) + self.dataYearLine.setText(QtGui.QApplication.translate("MainWindow", "Year:", None, QtGui.QApplication.UnicodeUTF8)) + self.dataStartLine.setText(QtGui.QApplication.translate("MainWindow", "Start date :", None, QtGui.QApplication.UnicodeUTF8)) + self.dataEndline.setText(QtGui.QApplication.translate("MainWindow", "End date :", None, QtGui.QApplication.UnicodeUTF8)) + self.LTReferenceRdBtn.setText(QtGui.QApplication.translate("MainWindow", "Local time frame of reference", None, QtGui.QApplication.UnicodeUTF8)) + self.dataInitialTimeLine.setText(QtGui.QApplication.translate("MainWindow", "Start Time", None, QtGui.QApplication.UnicodeUTF8)) + self.dataFinelTimeLine.setText(QtGui.QApplication.translate("MainWindow", "Final Time", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) + self.removeDCCEB.setText(QtGui.QApplication.translate("MainWindow", "Remove DC", None, QtGui.QApplication.UnicodeUTF8)) + self.coherentIntegrationCEB.setText(QtGui.QApplication.translate("MainWindow", "Coherent Integration", None, QtGui.QApplication.UnicodeUTF8)) + self.decodeCEB.setText(QtGui.QApplication.translate("MainWindow", "Decodification", None, QtGui.QApplication.UnicodeUTF8)) + self.dataopVolOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataopVolCancelBtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) + self.datalabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPotlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Potencia", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPathlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPrefixlabelGraphicsVol.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) + self.dataGraphicsVolPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_6.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) + self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) + self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) + self.label_13.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) + self.label_14.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_2.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_3.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_3.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) + self.dataPathlabelOutVol.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOutVolPathBrowse.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.dataSufixlabelOutVol.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) + self.dataoutVolOkBtn.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_13.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), QtGui.QApplication.translate("MainWindow", "Voltage", None, QtGui.QApplication.UnicodeUTF8)) + self.checkBox_49.setText(QtGui.QApplication.translate("MainWindow", "Remove DC", None, QtGui.QApplication.UnicodeUTF8)) + self.checkBox_50.setText(QtGui.QApplication.translate("MainWindow", "Remove Interference", None, QtGui.QApplication.UnicodeUTF8)) + self.checkBox_51.setText(QtGui.QApplication.translate("MainWindow", "Integration Incoherent", None, QtGui.QApplication.UnicodeUTF8)) + self.checkBox_52.setText(QtGui.QApplication.translate("MainWindow", "Operation 4", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_9.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_9.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_4.setTabText(self.tabWidget_4.indexOf(self.tab_8), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_11.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.label_80.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) + self.label_81.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) + self.label_82.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) + self.label_83.setText(QtGui.QApplication.translate("MainWindow", "RTI", None, QtGui.QApplication.UnicodeUTF8)) + self.label_84.setText(QtGui.QApplication.translate("MainWindow", "CROSS-CORRELATION+", None, QtGui.QApplication.UnicodeUTF8)) + self.label_85.setText(QtGui.QApplication.translate("MainWindow", "CROSS-SPECTRA", None, QtGui.QApplication.UnicodeUTF8)) + self.label_86.setText(QtGui.QApplication.translate("MainWindow", "NOISE", None, QtGui.QApplication.UnicodeUTF8)) + self.label_100.setText(QtGui.QApplication.translate("MainWindow", "PHASE", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_11.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.label_78.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.label_79.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_17.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_87.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) + self.label_88.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_18.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_4.setTabText(self.tabWidget_4.indexOf(self.tab_10), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) + self.label_22.setText(QtGui.QApplication.translate("MainWindow", "Data format", None, QtGui.QApplication.UnicodeUTF8)) + self.label_20.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_5.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_21.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_14.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_14.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_4.setTabText(self.tabWidget_4.indexOf(self.tab_11), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), QtGui.QApplication.translate("MainWindow", "Spectra", None, QtGui.QApplication.UnicodeUTF8)) + self.checkBox_53.setText(QtGui.QApplication.translate("MainWindow", "Integration", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_10.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_10.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_5.setTabText(self.tabWidget_5.indexOf(self.tab_12), QtGui.QApplication.translate("MainWindow", "Operations", None, QtGui.QApplication.UnicodeUTF8)) + self.label_95.setText(QtGui.QApplication.translate("MainWindow", "Type", None, QtGui.QApplication.UnicodeUTF8)) + self.label_96.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) + self.label_97.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8)) + self.label_89.setText(QtGui.QApplication.translate("MainWindow", "FTP server", None, QtGui.QApplication.UnicodeUTF8)) + self.label_90.setText(QtGui.QApplication.translate("MainWindow", "FTP path", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_19.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_98.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.label_99.setText(QtGui.QApplication.translate("MainWindow", "Prefix", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_20.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_91.setText(QtGui.QApplication.translate("MainWindow", "POTENCIA", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_12.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_12.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_5.setTabText(self.tabWidget_5.indexOf(self.tab_13), QtGui.QApplication.translate("MainWindow", "Graphics", None, QtGui.QApplication.UnicodeUTF8)) + self.label_17.setText(QtGui.QApplication.translate("MainWindow", "Data format", None, QtGui.QApplication.UnicodeUTF8)) + self.label_18.setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8)) + self.toolButton_4.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) + self.label_19.setText(QtGui.QApplication.translate("MainWindow", "Sufix", None, QtGui.QApplication.UnicodeUTF8)) + self.dataOkBtn_15.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + self.dataCancelBtn_15.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_5.setTabText(self.tabWidget_5.indexOf(self.tab_14), QtGui.QApplication.translate("MainWindow", "Save Data", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), QtGui.QApplication.translate("MainWindow", "Correlation", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Ouput Branch", None, QtGui.QApplication.UnicodeUTF8)) + self.menuFILE.setTitle(QtGui.QApplication.translate("MainWindow", "Project", None, QtGui.QApplication.UnicodeUTF8)) + self.menuRUN.setTitle(QtGui.QApplication.translate("MainWindow", "Run", None, QtGui.QApplication.UnicodeUTF8)) + self.menuOPTIONS.setTitle(QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8)) + self.menuHELP.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) + self.toolBar_2.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar_2", None, QtGui.QApplication.UnicodeUTF8)) + self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8)) + self.actionabrirObj.setText(QtGui.QApplication.translate("MainWindow", "Abrir", None, QtGui.QApplication.UnicodeUTF8)) + self.actioncrearObj.setText(QtGui.QApplication.translate("MainWindow", "Crear", None, QtGui.QApplication.UnicodeUTF8)) + self.actionguardarObj.setText(QtGui.QApplication.translate("MainWindow", "Guardar", None, QtGui.QApplication.UnicodeUTF8)) + self.actionStartObj.setText(QtGui.QApplication.translate("MainWindow", "start", None, QtGui.QApplication.UnicodeUTF8)) + self.actionPausaObj.setText(QtGui.QApplication.translate("MainWindow", "pausa", None, QtGui.QApplication.UnicodeUTF8)) + self.actionconfigLogfileObj.setText(QtGui.QApplication.translate("MainWindow", "configLogfileObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionconfigserverObj.setText(QtGui.QApplication.translate("MainWindow", "configServerFTP", None, QtGui.QApplication.UnicodeUTF8)) + self.actionAboutObj.setText(QtGui.QApplication.translate("MainWindow", "aboutObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionPrfObj.setText(QtGui.QApplication.translate("MainWindow", "prfObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOpenObj.setText(QtGui.QApplication.translate("MainWindow", "openObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOpenObj.setToolTip(QtGui.QApplication.translate("MainWindow", "open file", None, QtGui.QApplication.UnicodeUTF8)) + self.actionsaveObj.setText(QtGui.QApplication.translate("MainWindow", "saveObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionsaveObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Save", None, QtGui.QApplication.UnicodeUTF8)) + self.actionPlayObj.setText(QtGui.QApplication.translate("MainWindow", "playObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionPlayObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Play", None, QtGui.QApplication.UnicodeUTF8)) + self.actionstopObj.setText(QtGui.QApplication.translate("MainWindow", "stopObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actionstopObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Stop", None, QtGui.QApplication.UnicodeUTF8)) + self.actioncreateObj.setText(QtGui.QApplication.translate("MainWindow", "createObj", None, QtGui.QApplication.UnicodeUTF8)) + self.actioncreateObj.setToolTip(QtGui.QApplication.translate("MainWindow", "Manage Create", None, QtGui.QApplication.UnicodeUTF8)) + self.actionCerrarObj.setText(QtGui.QApplication.translate("MainWindow", "Cerrar", None, QtGui.QApplication.UnicodeUTF8)) + +from PyQt4 import Qsci + +if __name__ == "__main__": + import sys + app = QtGui.QApplication(sys.argv) + MainWindow = QtGui.QMainWindow() + ui = Ui_MainWindow() + ui.setupUi(MainWindow) + MainWindow.show() + sys.exit(app.exec_()) + diff --git a/schainpy/gui/viewer/ui_window.py b/schainpy/gui/viewer/ui_window.py new file mode 100644 index 0000000..29341ce --- /dev/null +++ b/schainpy/gui/viewer/ui_window.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\window.ui' +# +# Created: Mon Oct 15 16:44:32 2012 +# by: PyQt4 UI code generator 4.9.4 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + +class Ui_window(object): + def setupUi(self, MainWindow): + MainWindow.setObjectName(_fromUtf8("MainWindow")) + MainWindow.resize(220, 198) + self.centralWidget = QtGui.QWidget(MainWindow) + self.centralWidget.setObjectName(_fromUtf8("centralWidget")) + self.label = QtGui.QLabel(self.centralWidget) + self.label.setGeometry(QtCore.QRect(20, 10, 131, 20)) + font = QtGui.QFont() + font.setPointSize(12) + self.label.setFont(font) + self.label.setObjectName(_fromUtf8("label")) + self.label_2 = QtGui.QLabel(self.centralWidget) + self.label_2.setGeometry(QtCore.QRect(20, 60, 131, 20)) + font = QtGui.QFont() + font.setPointSize(12) + self.label_2.setFont(font) + self.label_2.setObjectName(_fromUtf8("label_2")) + self.cancelButton = QtGui.QPushButton(self.centralWidget) + self.cancelButton.setGeometry(QtCore.QRect(110, 160, 51, 23)) + self.cancelButton.setObjectName(_fromUtf8("cancelButton")) + self.okButton = QtGui.QPushButton(self.centralWidget) + self.okButton.setGeometry(QtCore.QRect(50, 160, 51, 23)) + self.okButton.setObjectName(_fromUtf8("okButton")) + self.proyectNameLine = QtGui.QLineEdit(self.centralWidget) + self.proyectNameLine.setGeometry(QtCore.QRect(20, 30, 181, 20)) + self.proyectNameLine.setObjectName(_fromUtf8("proyectNameLine")) + self.descriptionTextEdit = QtGui.QTextEdit(self.centralWidget) + self.descriptionTextEdit.setGeometry(QtCore.QRect(20, 80, 181, 71)) + self.descriptionTextEdit.setObjectName(_fromUtf8("descriptionTextEdit")) + MainWindow.setCentralWidget(self.centralWidget) + + self.retranslateUi(MainWindow) + QtCore.QMetaObject.connectSlotsByName(MainWindow) + + def retranslateUi(self, MainWindow): + MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.label.setText(QtGui.QApplication.translate("MainWindow", "Project Name:", None, QtGui.QApplication.UnicodeUTF8)) + self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Description :", None, QtGui.QApplication.UnicodeUTF8)) + self.cancelButton.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.okButton.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8)) + + +if __name__ == "__main__": + import sys + app = QtGui.QApplication(sys.argv) + MainWindow = QtGui.QMainWindow() + ui = Ui_window() + ui.setupUi(MainWindow) + MainWindow.show() + sys.exit(app.exec_()) + diff --git a/schainpy/gui/viewer/ui_workspace.py b/schainpy/gui/viewer/ui_workspace.py new file mode 100644 index 0000000..50ce749 --- /dev/null +++ b/schainpy/gui/viewer/ui_workspace.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/signal/configuraproyect.ui' +# +# Created: Wed Sep 5 11:53:34 2012 +# by: PyQt4 UI code generator 4.8.6 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +try: + _fromUtf8 = QtCore.QString.fromUtf8 +except AttributeError: + _fromUtf8 = lambda s: s + +class Ui_Workspace(object): + def setupUi(self, MainWindow): + MainWindow.setObjectName(_fromUtf8("MainWindow")) + MainWindow.resize(728, 272) + MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.centralWidget = QtGui.QWidget(MainWindow) + self.centralWidget.setObjectName(_fromUtf8("centralWidget")) + self.line = QtGui.QFrame(self.centralWidget) + self.line.setGeometry(QtCore.QRect(0, 60, 731, 20)) + self.line.setFrameShape(QtGui.QFrame.HLine) + self.line.setFrameShadow(QtGui.QFrame.Sunken) + self.line.setObjectName(_fromUtf8("line")) + self.dirLabel = QtGui.QTextEdit(self.centralWidget) + self.dirLabel.setGeometry(QtCore.QRect(0, 0, 731, 81)) + self.dirLabel.setReadOnly(True) + self.dirLabel.setHtml(QtGui.QApplication.translate("MainWindow", "\n" +"\n" +"

Select a workspace

\n" +"

SignalChain stores your projects in a folder called a workspace.

\n" +"

Choose a workspace folder to use for this session.

", None, QtGui.QApplication.UnicodeUTF8)) + self.dirLabel.setObjectName(_fromUtf8("dirLabel")) + self.dirWork = QtGui.QLabel(self.centralWidget) + self.dirWork.setGeometry(QtCore.QRect(10, 90, 87, 22)) + font = QtGui.QFont() + font.setPointSize(12) + self.dirWork.setFont(font) + self.dirWork.setText(QtGui.QApplication.translate("MainWindow", "Workspace :", None, QtGui.QApplication.UnicodeUTF8)) + self.dirWork.setObjectName(_fromUtf8("dirWork")) + self.dirButton = QtGui.QRadioButton(self.centralWidget) + self.dirButton.setGeometry(QtCore.QRect(10, 200, 310, 26)) + self.dirButton.setText(QtGui.QApplication.translate("MainWindow", "Use this as the default and do not ask again", None, QtGui.QApplication.UnicodeUTF8)) + self.dirButton.setObjectName(_fromUtf8("dirButton")) + self.layoutWidget = QtGui.QWidget(self.centralWidget) + self.layoutWidget.setGeometry(QtCore.QRect(20, 230, 701, 33)) + self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) + self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget) + self.horizontalLayout_2.setMargin(0) + self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) + spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_2.addItem(spacerItem) + self.dirCancelbtn = QtGui.QPushButton(self.layoutWidget) + self.dirCancelbtn.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) + self.dirCancelbtn.setObjectName(_fromUtf8("dirCancelbtn")) + self.horizontalLayout_2.addWidget(self.dirCancelbtn) + self.dirOkbtn = QtGui.QPushButton(self.layoutWidget) + self.dirOkbtn.setText(QtGui.QApplication.translate("MainWindow", "OK", None, QtGui.QApplication.UnicodeUTF8)) + self.dirOkbtn.setObjectName(_fromUtf8("dirOkbtn")) + self.horizontalLayout_2.addWidget(self.dirOkbtn) + self.dirCmbBox = QtGui.QComboBox(self.centralWidget) + self.dirCmbBox.setGeometry(QtCore.QRect(10, 120, 621, 21)) + palette = QtGui.QPalette() + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) + brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) + brush.setStyle(QtCore.Qt.SolidPattern) + palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) + self.dirCmbBox.setPalette(palette) + self.dirCmbBox.setObjectName(_fromUtf8("dirCmbBox")) + self.dirBrowsebtn = QtGui.QToolButton(self.centralWidget) + self.dirBrowsebtn.setGeometry(QtCore.QRect(640, 120, 76, 21)) + self.dirBrowsebtn.setText(QtGui.QApplication.translate("MainWindow", "Browse...", None, QtGui.QApplication.UnicodeUTF8)) + self.dirBrowsebtn.setObjectName(_fromUtf8("dirBrowsebtn")) + MainWindow.setCentralWidget(self.centralWidget) + + self.retranslateUi(MainWindow) + QtCore.QMetaObject.connectSlotsByName(MainWindow) + + def retranslateUi(self, MainWindow): + pass + + +if __name__ == "__main__": + import sys + app = QtGui.QApplication(sys.argv) + MainWindow = QtGui.QMainWindow() + ui = Ui_Workspace() + ui.setupUi(MainWindow) + MainWindow.show() + sys.exit(app.exec_()) \ No newline at end of file