##// END OF EJS Templates
Busqueda de archivos dentro del directorio indicado (sin busqueda de subdirectorios) activando el flag de lectura 'walk'
Busqueda de archivos dentro del directorio indicado (sin busqueda de subdirectorios) activando el flag de lectura 'walk'

File last commit:

r208:f0e2ebb4337f
r224:b8cf5fb6064c
Show More
window.py
53 lines | 1.2 KiB | text/x-python | PythonLexer
Alexander Valdez
VERSION1-GUI...
r208 # -*- 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()