Commit 1b9f31ef by Laura Rodríguez

últimos cambios

parent 988085bb
......@@ -36,8 +36,6 @@ def calibrate_tobii():
calibration.stop()
print("Calibración completada.")
# Aquí podrías agregar más interacciones visuales si lo deseas
class MyApp(QWidget):
def __init__(self):
super().__init__()
......@@ -63,7 +61,7 @@ class MyApp(QWidget):
self.setLayout(layout)
# Estilos CSS (QSS) para decorar la ventana y los botones
# Estilos CSS (QSS) para decorar la ventana y los botones (sin la propiedad inválida)
self.setStyleSheet("""
QWidget {
background-color: #ADD8E6; /* Azul clarito para el fondo */
......@@ -76,7 +74,6 @@ class MyApp(QWidget):
padding: 10px;
border-radius: 8px;
text-align: center;
transition: background-color 0.3s ease;
}
QPushButton:hover {
background-color: #5a9bd5; /* Efecto de iluminación al pasar el ratón */
......
# test_1.py - Ejemplo de script para el Test 1 con PyGaze
import time
import pygaze
def run_test_1():
print("Ejecutando Test 1...")
# Aquí iría el código del Test 1 usando PyGaze
# Asegúrate de integrar el código que quieres ejecutar.
time.sleep(5) # Simula el tiempo de ejecución del test
if __name__ == "__main__":
run_test_1()
# test_2.py - Ejemplo de script para el Test 2 con PyGaze
import time
import pygaze
def run_test_2():
print("Ejecutando Test 2...")
# Aquí iría el código del Test 2 usando PyGaze
# Asegúrate de integrar el código que quieres ejecutar.
time.sleep(5) # Simula el tiempo de ejecución del test
if __name__ == "__main__":
run_test_2()
eyetrackingTobii @ 7b1b57c5
Subproject commit 0cf98ee7ffb6780e10cb779a5434c0564e25ac6c
Subproject commit 7b1b57c57c919893823ebc85b6e467412dfa694b
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment