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