# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'wprpc.ui'
#
# Created: Sat Mar 29 20:59:58 2014
#      by: PyQt4 UI code generator 4.9.6
#
# 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_Frame(object):
    def setupUi(self, Frame):
        Frame.setObjectName(_fromUtf8("Frame"))
        Frame.resize(476, 229)
        Frame.setFrameShape(QtGui.QFrame.StyledPanel)
        Frame.setFrameShadow(QtGui.QFrame.Raised)
        self.gridLayout = QtGui.QGridLayout(Frame)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_6 = QtGui.QLabel(Frame)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 6, 0, 1, 1)
        self.blogid_sb = QtGui.QSpinBox(Frame)
        self.blogid_sb.setMaximumSize(QtCore.QSize(60, 16777215))
        self.blogid_sb.setMinimum(1)
        self.blogid_sb.setObjectName(_fromUtf8("blogid_sb"))
        self.gridLayout.addWidget(self.blogid_sb, 4, 2, 1, 1)
        self.label_4 = QtGui.QLabel(Frame)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.label_3 = QtGui.QLabel(Frame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.label_2 = QtGui.QLabel(Frame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label = QtGui.QLabel(Frame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_5 = QtGui.QLabel(Frame)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.test_pb = QtGui.QPushButton(Frame)
        self.test_pb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.test_pb.setObjectName(_fromUtf8("test_pb"))
        self.gridLayout.addWidget(self.test_pb, 6, 4, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 6, 2, 1, 2)
        self.url_le = QtGui.QLineEdit(Frame)
        self.url_le.setText(_fromUtf8(""))
        self.url_le.setObjectName(_fromUtf8("url_le"))
        self.gridLayout.addWidget(self.url_le, 1, 2, 1, 3)
        self.user_le = QtGui.QLineEdit(Frame)
        self.user_le.setObjectName(_fromUtf8("user_le"))
        self.gridLayout.addWidget(self.user_le, 2, 2, 1, 3)
        self.password_le = QtGui.QLineEdit(Frame)
        self.password_le.setEchoMode(QtGui.QLineEdit.Password)
        self.password_le.setObjectName(_fromUtf8("password_le"))
        self.gridLayout.addWidget(self.password_le, 3, 2, 1, 3)
        self.title_le = QtGui.QLineEdit(Frame)
        self.title_le.setObjectName(_fromUtf8("title_le"))
        self.gridLayout.addWidget(self.title_le, 0, 2, 1, 3)

        self.retranslateUi(Frame)
        QtCore.QMetaObject.connectSlotsByName(Frame)
        Frame.setTabOrder(self.title_le, self.url_le)
        Frame.setTabOrder(self.url_le, self.user_le)
        Frame.setTabOrder(self.user_le, self.password_le)
        Frame.setTabOrder(self.password_le, self.blogid_sb)

    def retranslateUi(self, Frame):
        Frame.setWindowTitle(_translate("Frame", "Профиль", None))
        self.label_6.setText(_translate("Frame", "<html><head/><body><p>Необходим Wordpress 3.4+</p></body></html>", None))
        self.label_4.setText(_translate("Frame", "ID блога", None))
        self.label_3.setText(_translate("Frame", "Пароль", None))
        self.label_2.setText(_translate("Frame", "Пользователь", None))
        self.label.setText(_translate("Frame", "URL", None))
        self.label_5.setText(_translate("Frame", "Заголовок", None))
        self.test_pb.setText(_translate("Frame", "Тест подключения", None))
        self.url_le.setPlaceholderText(_translate("Frame", "http://wordpress.org/xmlrpc.php", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Frame = QtGui.QFrame()
    ui = Ui_Frame()
    ui.setupUi(Frame)
    Frame.show()
    sys.exit(app.exec_())

