##// END OF EJS Templates
workspace.py...
workspace.py -Ahora hereda las propiedades de un QDialog. -Crea un Workspace si no existe.

File last commit:

r363:0c2d90663b50
r375:d7aa668a0f5b
Show More
initwindow.py
42 lines | 1.1 KiB | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""
Module implementing InitWindow.
"""
from PyQt4.QtGui import QMainWindow
from PyQt4.QtCore import pyqtSignature
from PyQt4 import QtCore
from PyQt4 import QtGui
from viewer.ui_initwindow import Ui_InitWindow
class InitWindow(QMainWindow, Ui_InitWindow):
"""
Class documentation goes here.
"""
def __init__(self, parent = None):
"""
Constructor
"""
QMainWindow.__init__(self, parent)
self.setupUi(self)
self.setWindowTitle("ROJ-Signal Chain")
self.setWindowIcon(QtGui.QIcon("figure/adn.jpg"))
@pyqtSignature("")
def on_ExitBtn_clicked(self):
"""
Exit cierra la ventana de Bienvenida
"""
self.close()
@pyqtSignature("")
def on_ContinueBtn_clicked(self):
"""
Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
conectar con la ventana de configuracion de Workspace
"""
# TODO: not implemented yet
#raise NotImplementedError
self.close()