73 lines
3.4 KiB
Python
73 lines
3.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'pm.ui'
|
|
#
|
|
# Created: Sat Apr 4 23:20:13 2015
|
|
# by: PyQt4 UI code generator 4.11.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
try:
|
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
except AttributeError:
|
|
def _fromUtf8(s):
|
|
return s
|
|
|
|
try:
|
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
|
except AttributeError:
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig)
|
|
|
|
class Ui_Form(object):
|
|
def setupUi(self, Form):
|
|
Form.setObjectName(_fromUtf8("Form"))
|
|
Form.resize(560, 339)
|
|
self.txtOutput = QtGui.QTextEdit(Form)
|
|
self.txtOutput.setGeometry(QtCore.QRect(20, 40, 531, 231))
|
|
self.txtOutput.setMinimumSize(QtCore.QSize(200, 0))
|
|
font = QtGui.QFont()
|
|
font.setFamily(_fromUtf8("Arial"))
|
|
font.setPointSize(14)
|
|
font.setItalic(False)
|
|
self.txtOutput.setFont(font)
|
|
self.txtOutput.setFocusPolicy(QtCore.Qt.NoFocus)
|
|
self.txtOutput.setAcceptDrops(False)
|
|
self.txtOutput.setFrameShape(QtGui.QFrame.NoFrame)
|
|
self.txtOutput.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
|
self.txtOutput.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
|
|
self.txtOutput.setObjectName(_fromUtf8("txtOutput"))
|
|
self.horizontalLayoutWidget = QtGui.QWidget(Form)
|
|
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 290, 431, 31))
|
|
self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
|
|
self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
|
|
self.horizontalLayout.setMargin(0)
|
|
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
|
self.lineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget)
|
|
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
|
|
self.horizontalLayout.addWidget(self.lineEdit)
|
|
self.pushButton = QtGui.QPushButton(self.horizontalLayoutWidget)
|
|
self.pushButton.setObjectName(_fromUtf8("pushButton"))
|
|
self.horizontalLayout.addWidget(self.pushButton)
|
|
self.pushButton_2 = QtGui.QPushButton(Form)
|
|
self.pushButton_2.setGeometry(QtCore.QRect(460, 290, 91, 27))
|
|
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
|
|
|
|
self.retranslateUi(Form)
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
def retranslateUi(self, Form):
|
|
Form.setWindowTitle(_translate("Form", "Form", None))
|
|
self.txtOutput.setHtml(_translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
|
|
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Inconsolata\';\"><br /></p></body></html>", None))
|
|
self.pushButton.setText(_translate("Form", "Send message", None))
|
|
self.pushButton_2.setText(_translate("Form", "send", None))
|
|
|