##// END OF EJS Templates
customftp.py is not necessary because there is another package jroutils, it has FTP module to replace customftp.py
customftp.py is not necessary because there is another package jroutils, it has FTP module to replace customftp.py

File last commit:

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