# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\work\eric4workspace\MosesGUI\credits.ui' # # Created: Wed Jul 10 16:52:58 2013 # by: PyQt4 UI code generator 4.10.2 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui _fromUtf8 = getattr(QtCore.QString, 'fromUtf8', lambda s: s) def _translate(context, text, disambig): return QtGui.QApplication.translate( context, text, disambig, getattr( QtGui.QApplication, 'UnicodeUTF8', QtCore.QCoreApplication.Encoding)) class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(359, 271) self.label = QtGui.QLabel(Dialog) self.label.setGeometry(QtCore.QRect(10, 10, 341, 211)) self.label.setAlignment(QtCore.Qt.AlignJustify | QtCore.Qt.AlignVCenter) self.label.setWordWrap(True) self.label.setObjectName(_fromUtf8("label")) self.pushButton = QtGui.QPushButton(Dialog) self.pushButton.setGeometry(QtCore.QRect(150, 240, 75, 23)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.retranslateUi(Dialog) QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), Dialog.accept) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Credits and Support", None)) self.label.setText(_translate("Dialog", "\n" "
\n" "This software is provided by Capita Translation and Interpreting for the Moses Statistical Machine Translation decoder as part of the Moses Core Project.
\n" "For support, please email mail.jie.jiang@gmail.com or submit a post on Moses Support List.
\n" "More models are coming soon, please check Moses Packages.
", None)) self.pushButton.setText(_translate("Dialog", "OK", None)) if __name__ == "__main__": import sys app = QtGui.QApplication(sys.argv) Dialog = QtGui.QDialog() ui = Ui_Dialog() ui.setupUi(Dialog) Dialog.show() sys.exit(app.exec_())