##// END OF EJS Templates
se elimina el controller del paquete viewcontroller del gui. Este controller sera reemplazado por el controller de schainpy
se elimina el controller del paquete viewcontroller del gui. Este controller sera reemplazado por el controller de schainpy

File last commit:

r235:47f976225757
r369:cbf52912db71
Show More
ui_window.py
72 lines | 3.4 KiB | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\window.ui'
#
# Created: Thu Dec 06 08:56:59 2012
# by: PyQt4 UI code generator 4.9.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_window(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(220, 198)
self.centralWidget = QtGui.QWidget(MainWindow)
self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.label = QtGui.QLabel(self.centralWidget)
self.label.setGeometry(QtCore.QRect(20, 10, 131, 20))
font = QtGui.QFont()
font.setPointSize(12)
self.label.setFont(font)
self.label.setObjectName(_fromUtf8("label"))
self.label_2 = QtGui.QLabel(self.centralWidget)
self.label_2.setGeometry(QtCore.QRect(20, 60, 131, 20))
font = QtGui.QFont()
font.setPointSize(12)
self.label_2.setFont(font)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.cancelButton = QtGui.QPushButton(self.centralWidget)
self.cancelButton.setGeometry(QtCore.QRect(150, 160, 51, 23))
self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
self.okButton = QtGui.QPushButton(self.centralWidget)
self.okButton.setGeometry(QtCore.QRect(80, 160, 61, 23))
self.okButton.setObjectName(_fromUtf8("okButton"))
self.proyectNameLine = QtGui.QLineEdit(self.centralWidget)
self.proyectNameLine.setGeometry(QtCore.QRect(20, 30, 181, 20))
self.proyectNameLine.setObjectName(_fromUtf8("proyectNameLine"))
self.descriptionTextEdit = QtGui.QTextEdit(self.centralWidget)
self.descriptionTextEdit.setGeometry(QtCore.QRect(20, 80, 181, 71))
self.descriptionTextEdit.setObjectName(_fromUtf8("descriptionTextEdit"))
self.saveButton = QtGui.QPushButton(self.centralWidget)
self.saveButton.setGeometry(QtCore.QRect(20, 160, 51, 23))
self.saveButton.setObjectName(_fromUtf8("saveButton"))
MainWindow.setCentralWidget(self.centralWidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("MainWindow", "Project Name:", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Description :", None, QtGui.QApplication.UnicodeUTF8))
self.cancelButton.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
self.okButton.setText(QtGui.QApplication.translate("MainWindow", "Ok", None, QtGui.QApplication.UnicodeUTF8))
self.saveButton.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
MainWindow = QtGui.QMainWindow()
ui = Ui_window()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())