se me olvidaba aqui esta el codigo .py del .ui
Código Python:
Ver original# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'show_name.ui'
#
# Created: Thu Jun 26 14:01:28 2014
# by: PyQt4 UI code generator 4.9.1
#
# 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_MainDialog(object):
def setupUi(self, MainDialog):
MainDialog.setObjectName(_fromUtf8("MainDialog"))
MainDialog.resize(415, 101)
self.NameEdit = QtGui.QLineEdit(MainDialog)
self.NameEdit.setGeometry(QtCore.QRect(20, 40, 271, 27))
self.NameEdit.setText(_fromUtf8(""))
self.NameEdit.setObjectName(_fromUtf8("NameEdit"))
self.show_button = QtGui.QPushButton(MainDialog)
self.show_button.setGeometry(QtCore.QRect(310, 40, 85, 27))
self.show_button.setObjectName(_fromUtf8("show_button"))
self.retranslateUi(MainDialog)
QtCore.QMetaObject.connectSlotsByName(MainDialog)
MainDialog.setTabOrder(self.show_button, self.NameEdit)
def retranslateUi(self, MainDialog):
MainDialog.setWindowTitle(QtGui.QApplication.translate("MainDialog", "Main Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.NameEdit.setPlaceholderText(QtGui.QApplication.translate("MainDialog", "what is you name?", None, QtGui.QApplication.UnicodeUTF8))
self.show_button.setText(QtGui.QApplication.translate("MainDialog", "Show", None, QtGui.QApplication.UnicodeUTF8))
no si afecte en algo pero mi ide es pycham