##// END OF EJS Templates
initwindow...
Alexander Valdez -
r258:7a2b31d6bd54
parent child
Show More
@@ -1,47 +1,40
1 1 # -*- coding: utf-8 -*-
2 2
3 3 """
4 Module implementing Pantalla.
4 Module implementing InitWindow.
5 5 """
6
6 7 from PyQt4.QtGui import QMainWindow
7 8 from PyQt4.QtCore import pyqtSignature
8 from workspace import Workspace
9 #from mainwindow import Workspace
10 from GUI.ui_initwindow import Ui_InitWindow
9
10 from viewer.ui_initwindow import Ui_InitWindow
11 11
12 12 class InitWindow(QMainWindow, Ui_InitWindow):
13 13 """
14 14 Class documentation goes here.
15 15 """
16 16 def __init__(self, parent = None):
17 17 """
18 18 Constructor
19 19 """
20 20 QMainWindow.__init__(self, parent)
21
21 self.setupUi(self)
22 22
23 23 @pyqtSignature("")
24 def on_pushButton_2_clicked(self):
24 def on_ExitBtn_clicked(self):
25 25 """
26 Close First Window
26 Exit cierra la ventana de Bienvenida
27 27 """
28 self.close()
29
28 # TODO: not implemented yet
29 #raise NotImplementedError
30 self.close()
31
30 32 @pyqtSignature("")
31 def on_pushButton_clicked(self):
33 def on_ContinueBtn_clicked(self):
32 34 """
33 Show Workspace Window
35 Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
36 conectar con la ventana de configuracion de Workspace
34 37 """
35 self.showmeconfig()
36
37 def showmeconfig(self):
38 '''
39 Method to call Workspace
40 '''
41 self.config=Workspace()
42 self.config.closed.connect(self.show)
43 self.config.show()
44 self.hide()
45
46
47
38 # TODO: not implemented yet
39 #raise NotImplementedError
40 self.close()
General Comments 0
You need to be logged in to leave comments. Login now