##// END OF EJS Templates
initwindow.py...
Alexander Valdez -
r376:4b52362a94e1
parent child
Show More
@@ -1,42 +1,42
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 """
3 """
4 Module implementing InitWindow.
4 Module implementing InitWindow.
5 """
5 """
6
6
7 from PyQt4.QtGui import QMainWindow
7 from PyQt4.QtGui import QDialog
8 from PyQt4.QtCore import pyqtSignature
8 from PyQt4.QtCore import pyqtSignature
9 from PyQt4 import QtCore
9 from PyQt4 import QtCore
10 from PyQt4 import QtGui
10 from PyQt4 import QtGui
11
11
12 from viewer.ui_initwindow import Ui_InitWindow
12 from viewer.ui_initwindow import Ui_InitWindow
13
13
14 class InitWindow(QMainWindow, Ui_InitWindow):
14 class InitWindow(QDialog, Ui_InitWindow):
15 """
15 """
16 Class documentation goes here.
16 Class documentation goes here.
17 """
17 """
18 def __init__(self, parent = None):
18 def __init__(self, parent = None):
19 """
19 """
20 Constructor
20 Constructor
21 """
21 """
22 QMainWindow.__init__(self, parent)
22 QDialog.__init__(self, parent)
23 self.setupUi(self)
23 self.setupUi(self)
24 self.setWindowTitle("ROJ-Signal Chain")
24 self.setWindowTitle("ROJ-Signal Chain")
25 self.setWindowIcon(QtGui.QIcon("figure/adn.jpg"))
25 self.setWindowIcon(QtGui.QIcon("figure/adn.jpg"))
26
26
27 @pyqtSignature("")
27 @pyqtSignature("")
28 def on_ExitBtn_clicked(self):
28 def on_ExitBtn_clicked(self):
29 """
29 """
30 Exit cierra la ventana de Bienvenida
30 Exit cierra la ventana de Bienvenida
31 """
31 """
32 self.close()
32 self.close()
33
33
34 @pyqtSignature("")
34 @pyqtSignature("")
35 def on_ContinueBtn_clicked(self):
35 def on_ContinueBtn_clicked(self):
36 """
36 """
37 Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
37 Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
38 conectar con la ventana de configuracion de Workspace
38 conectar con la ventana de configuracion de Workspace
39 """
39 """
40 # TODO: not implemented yet
40 # TODO: not implemented yet
41 #raise NotImplementedError
41 #raise NotImplementedError
42 self.close()
42 self.accept()
General Comments 0
You need to be logged in to leave comments. Login now