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

# Form implementation generated from reading ui file 'profiles.ui'
#
# Created: Mon May 12 16:35:40 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_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(809, 562)
        Dialog.setStyleSheet(_fromUtf8("QToolButton{toolbutton-popup-delay: 0}"))
        self.gridLayout_2 = QtGui.QGridLayout(Dialog)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.toolBar = QtGui.QToolBar(Dialog)
        self.toolBar.setOrientation(QtCore.Qt.Horizontal)
        self.toolBar.setIconSize(QtCore.QSize(32, 32))
        self.toolBar.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
        self.toolBar.setFloatable(False)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        self.gridLayout_2.addWidget(self.toolBar, 0, 0, 1, 1)
        self.tv = QtGui.QTableView(Dialog)
        self.tv.setAlternatingRowColors(True)
        self.tv.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tv.setObjectName(_fromUtf8("tv"))
        self.tv.horizontalHeader().setStretchLastSection(True)
        self.gridLayout_2.addWidget(self.tv, 1, 0, 1, 1)
        self.actionNew = QtGui.QAction(Dialog)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNew.setIcon(icon)
        self.actionNew.setObjectName(_fromUtf8("actionNew"))
        self.actionRemove = QtGui.QAction(Dialog)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRemove.setIcon(icon1)
        self.actionRemove.setObjectName(_fromUtf8("actionRemove"))
        self.toolBar.addAction(self.actionNew)
        self.toolBar.addAction(self.actionRemove)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Профили", None))
        self.actionNew.setText(_translate("Dialog", "Добавить", None))
        self.actionRemove.setText(_translate("Dialog", "Удалить", None))

import icons_rc

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

