Interfaz module

Este archivo contiene toda el código fuente de la interfaz gráfica para la interacción con el usuario
del dispositivo
Interfaz.arduinoImpetomConected()

Funcion que verifica que el dispositivoImpetomC esta conectado :return: 0 si existe algun error, 1 si no

Interfaz.btnReconstruccionClicked()

Evento del boton modo Reconstruccion

Interfaz.btnResetClicked()

Evento para el botón reset

Interfaz.btnSetupClicked()

Evento del boton modo Setup

Interfaz.btnStartClicked()

Evento del botón start

Interfaz.btnStopClicked()

Evento del botón Stop

Interfaz.calibrar()

Evento del boton calibrar

Interfaz.decGanancia()

Evento del boton “<” de la ganancia del sistema

Interfaz.decGanancia2()

Evento del boton “<<” de la ganancia del sistema

Interfaz.decPRange()

Evento del boton “<” de p

Interfaz.decPRange2()

Evento del boton “<<” de p

Interfaz.decTime()

Evento del boton “<” de tiempo entre imagenes guardadas

Interfaz.decTime2()

Evento del boton “<<” de tiempo entre imagenes guardadas

Interfaz.decVmax()

Evento del boton “<” de vmax

Interfaz.decVmax2()

Evento del boton “<<” de vmax

Interfaz.decVmin()

Evento del boton “<” de vmin

Interfaz.decVmin2()

Evento del boton “<<” de vmin

Interfaz.disableDecGanancia()

Permite deshabilitar los botones “<<” y “<” de ganancia

Interfaz.disableDecTime()

Permite deshabilitar los botones “<<” y “<” del tiempo entre imagenes guardadas

Interfaz.disableDecVmax()

Permite deshabilitar los botones “<<” y “<” de vmax

Interfaz.disableDecVmin()

Permite deshabilitar los botones “<<” y “<” de vmin

Interfaz.disableDecpRange()

Permite deshabilitar los botones “<” y “<<” de p

Interfaz.disableIncGanancia()

Permite deshabilitar los botones “>>” y “>” de ganancia

Interfaz.disableIncVmax()

Permite deshabilitar los botones “>>” y “>” de vmax

Interfaz.disableIncVmin()

Permite deshabilitar los botones “>>” y “>” de vmin

Interfaz.disableScaleOptions()

Evento del radio button para deshabilitar las opciones del rango de escala

Interfaz.disbleIncTime()

Permite deshabilitar los botones “>>” y “>” del tiempo entre imagenes guardadas

Interfaz.disbleIncpRange()

Permite deshabilitar los botones “>>” y “>” de p

Interfaz.enableDecGanancia()

Permite habilitar los botones “<<” y “<” de ganancia

Interfaz.enableDecTime()

Permite habilitar los botones “<<” y “<” del tiempo entre imagenes guardadas

Interfaz.enableDecVmax()

Permite habilitar los botones “<<” y “<” de vmax

Interfaz.enableDecVmin()

Permite habilitar los botones “<<” y “<” de vmin

Interfaz.enableDecpRange()

Permite habilitar los botones “<” y “<<” de p

Interfaz.enableIncGanancia()

Permite habilitar los botones “>>” y “>” de ganancia

Interfaz.enableIncTime()

Permite habilitar los botones “>>” y “>” del tiempo entre imagenes guardadas

Interfaz.enableIncVmax()

Permite habilitar los botones “>>” y “>” de vmax

Interfaz.enableIncVmin()

Permite habilitar los botones “>>” y “>” de vmin

Interfaz.enableIncpRange()

Permite habilitar los botones “>>” y “>” de p

Interfaz.enableScaleOptions()

Evento del radio button para habilitar las opciones del rango de escala

Interfaz.incGanancia()

Evento del boton “>” de la ganancia del sistema

Interfaz.incGanancia2()

Evento del boton “>>” de la ganancia del sistema

Interfaz.incPRange()

Evento del boton “>” de p

Interfaz.incPRange2()

Evento del boton “>>” de p

Interfaz.incTime()

Evento del boton “>” de tiempo entre imagenes guardadas

Interfaz.incTime2()

Evento del boton “>>” de tiempo entre imagenes guardadas

Interfaz.incVmax()

Evento del boton “>” de vmax

Interfaz.incVmax2()

Evento del boton “>>” de vmax

Interfaz.incVmin()

Evento del boton “>” de vmin

Interfaz.incVmin2()

Evento del boton “>>” de vmin

Interfaz.onClose()

Evento de cierre de la aplicacion

Interfaz.reloadImage()

Esta funcion es la encargada de actualizar las imagenes en la etiqueta lblImg

Interfaz.sclRangeEnable = False

Funciones para validación de datos de entrada

Interfaz.validateBirthDate()

Funcion que valida la fecha de nacimiento del paciente ingresado :return: 0 si existe algun error, 1 si no

Interfaz.validateCI()

Funcion que valida la CI del paciente ingresado :return: 0 si existe algun error, 1 si la CI es correcta (el campo lblNameError no esta vacio)

Interfaz.validateMedida()

Función que valida la entrada de los datos de medida de circunferencia del tórax, El dato debe ser un número entre 100 y 2000mm

Interfaz.validateMedidaZ()

Función que valida la altura de colocación del cinturon, debe estar entre 10 mm y 999mm

Interfaz.validateName()

Funcion que valida el nombre del paciente ingresado :return: 0 si existe algun error, 1 si el nombre es correcto (el campo lblNameError no esta vacio)

Interfaz.validateSexoBiologico()

Funcion que valida el sexp biologico del paciente ingresado :return: 0 si existe algun error, 1 si no