##// END OF EJS Templates
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico

File last commit:

r235:47f976225757
r371:ab720301e6a9
Show More
ui_window.py
72 lines | 3.4 KiB | text/x-python | PythonLexer
Alexander Valdez
VERSION1-GUI...
r208 # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\window.ui'
#
Alexander Valdez
NOTAS:...
r235 # Created: Thu Dec 06 08:56:59 2012
Alexander Valdez
VERSION1-GUI...
r208 # 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)
Alexander Valdez
NOTAS:...
r235 self.cancelButton.setGeometry(QtCore.QRect(150, 160, 51, 23))
Alexander Valdez
VERSION1-GUI...
r208 self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
self.okButton = QtGui.QPushButton(self.centralWidget)
Alexander Valdez
NOTAS:...
r235 self.okButton.setGeometry(QtCore.QRect(80, 160, 61, 23))
Alexander Valdez
VERSION1-GUI...
r208 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"))
Alexander Valdez
NOTAS:...
r235 self.saveButton = QtGui.QPushButton(self.centralWidget)
self.saveButton.setGeometry(QtCore.QRect(20, 160, 51, 23))
self.saveButton.setObjectName(_fromUtf8("saveButton"))
Alexander Valdez
VERSION1-GUI...
r208 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))
Alexander Valdez
NOTAS:...
r235 self.saveButton.setText(QtGui.QApplication.translate("MainWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
Alexander Valdez
VERSION1-GUI...
r208
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_())