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

# Form implementation generated from reading ui file 'bloggercom.ui'
#
# Created: Sat Apr 05 14:03: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(450, 183)
        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.frame = QtGui.QFrame(Frame)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.gridLayout_2 = QtGui.QGridLayout(self.frame)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.title_le = QtGui.QLineEdit(self.frame)
        self.title_le.setObjectName(_fromUtf8("title_le"))
        self.gridLayout_2.addWidget(self.title_le, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.frame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1)
        self.username_le = QtGui.QLineEdit(self.frame)
        self.username_le.setObjectName(_fromUtf8("username_le"))
        self.gridLayout_2.addWidget(self.username_le, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.password_le = QtGui.QLineEdit(self.frame)
        self.password_le.setEchoMode(QtGui.QLineEdit.Password)
        self.password_le.setObjectName(_fromUtf8("password_le"))
        self.gridLayout_2.addWidget(self.password_le, 2, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 3, 0, 1, 1)
        self.blogid_le = LineEditButton(self.frame)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/blogger.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.blogid_le.setIcon(icon)
        self.blogid_le.setObjectName(_fromUtf8("blogid_le"))
        self.gridLayout_2.addWidget(self.blogid_le, 3, 1, 1, 1)
        self.gridLayout.addWidget(self.frame, 0, 0, 1, 2)
        self.test_pb = QtGui.QPushButton(Frame)
        self.test_pb.setObjectName(_fromUtf8("test_pb"))
        self.gridLayout.addWidget(self.test_pb, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 3, 1, 1, 1)

        self.retranslateUi(Frame)
        QtCore.QMetaObject.connectSlotsByName(Frame)
        Frame.setTabOrder(self.title_le, self.username_le)
        Frame.setTabOrder(self.username_le, self.password_le)
        Frame.setTabOrder(self.password_le, self.test_pb)

    def retranslateUi(self, Frame):
        Frame.setWindowTitle(_translate("Frame", "Профиль", None))
        self.label_2.setText(_translate("Frame", "Заголовок", None))
        self.label.setText(_translate("Frame", "Пользователь", None))
        self.label_4.setText(_translate("Frame", "Пароль", None))
        self.label_3.setText(_translate("Frame", "ID блога", None))
        self.test_pb.setText(_translate("Frame", "Проверка подключения", None))

from lineeditbutton import LineEditButton
import icons_rc

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_())

