Advertisement
xunilk

widget_button_dialog.py

Aug 14th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.40 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. # Form implementation generated from reading ui file 'ui_widget_button_dialog_base.ui'
  4. #
  5. # Created: Wed Aug 05 09:51:05 2015
  6. #      by: PyQt4 UI code generator 4.11.3
  7. #
  8. # WARNING! All changes made in this file will be lost!
  9.  
  10. from PyQt4 import QtCore, QtGui
  11.  
  12. try:
  13.     _fromUtf8 = QtCore.QString.fromUtf8
  14. except AttributeError:
  15.     def _fromUtf8(s):
  16.         return s
  17.  
  18. try:
  19.     _encoding = QtGui.QApplication.UnicodeUTF8
  20.     def _translate(context, text, disambig):
  21.         return QtGui.QApplication.translate(context, text, disambig, _encoding)
  22. except AttributeError:
  23.     def _translate(context, text, disambig):
  24.         return QtGui.QApplication.translate(context, text, disambig)
  25.  
  26. class Ui_Dialog(object):
  27.     def setupUi(self, Dialog):
  28.         Dialog.setObjectName(_fromUtf8("Dialog"))
  29.         Dialog.resize(395, 198)
  30.         self.pushButton = QtGui.QPushButton(Dialog)
  31.         self.pushButton.setGeometry(QtCore.QRect(150, 80, 91, 41))
  32.         font = QtGui.QFont()
  33.         font.setPointSize(18)
  34.         self.pushButton.setFont(font)
  35.         self.pushButton.setObjectName(_fromUtf8("pushButton"))
  36.  
  37.         self.retranslateUi(Dialog)
  38.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  39.  
  40.     def retranslateUi(self, Dialog):
  41.         Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
  42.         self.pushButton.setText(_translate("Dialog", "Prueba", None))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement