##// END OF EJS Templates
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py Adicion de los metodos para graficos multilinea en figure.py y en mpldriver.py Se agrega el colormap como parametro para el metodo addpcolor en mpldriver.py Se hacen ajustes en los xticks cuando la diferencia entre xmax y xmin es menor igual a uno.

File last commit:

r208:f0e2ebb4337f
r229:22aec8924dc0
Show More
window.py
53 lines | 1.2 KiB | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""
Module implementing Window.
"""
from PyQt4.QtCore import pyqtSignal
from PyQt4.QtGui import QMainWindow
from PyQt4.QtCore import pyqtSignature
from GUI.ui_window import Ui_window
#closed=pyqtSignal()
class Window(QMainWindow, Ui_window):
"""
Class documentation goes here.
"""
closed=pyqtSignal()
def __init__(self, parent = None):
"""
Constructor
"""
QMainWindow.__init__(self, parent)
self.setupUi(self)
self.name=0
@pyqtSignature("")
def on_cancelButton_clicked(self):
"""
Slot documentation goes here.
"""
# TODO: not implemented yet
#raise NotImplementedError
self.close()
@pyqtSignature("")
def on_okButton_clicked(self):
"""
Slot documentation goes here.
"""
# TODO: not implemented yet
#raise NotImplementedError
# self.almacena()
self.close()
def almacena(self):
#print str(self.proyectNameLine.text())
return str(self.proyectNameLine.text())
def closeEvent(self, event):
self.closed.emit()
event.accept()