initwindow.py
40 lines
| 1.0 KiB
| text/x-python
|
PythonLexer
|
r208 | # -*- coding: utf-8 -*- | ||
""" | ||||
|
r258 | Module implementing InitWindow. | ||
|
r208 | """ | ||
|
r258 | |||
|
r208 | from PyQt4.QtGui import QMainWindow | ||
from PyQt4.QtCore import pyqtSignature | ||||
|
r258 | |||
from viewer.ui_initwindow import Ui_InitWindow | ||||
|
r208 | |||
class InitWindow(QMainWindow, Ui_InitWindow): | ||||
""" | ||||
Class documentation goes here. | ||||
""" | ||||
def __init__(self, parent = None): | ||||
""" | ||||
Constructor | ||||
""" | ||||
QMainWindow.__init__(self, parent) | ||||
|
r258 | self.setupUi(self) | ||
|
r208 | |||
@pyqtSignature("") | ||||
|
r258 | def on_ExitBtn_clicked(self): | ||
|
r208 | """ | ||
|
r258 | Exit cierra la ventana de Bienvenida | ||
|
r208 | """ | ||
|
r258 | # TODO: not implemented yet | ||
#raise NotImplementedError | ||||
self.close() | ||||
|
r208 | @pyqtSignature("") | ||
|
r258 | def on_ContinueBtn_clicked(self): | ||
|
r208 | """ | ||
|
r258 | Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion | ||
conectar con la ventana de configuracion de Workspace | ||||
|
r208 | """ | ||
|
r258 | # TODO: not implemented yet | ||
#raise NotImplementedError | ||||
self.close() | ||||