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

# Form implementation generated from reading ui file 'eric/E5Gui/E5ToolBarDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_E5ToolBarDialog(object):
    def setupUi(self, E5ToolBarDialog):
        E5ToolBarDialog.setObjectName(_fromUtf8("E5ToolBarDialog"))
        E5ToolBarDialog.resize(600, 500)
        E5ToolBarDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(E5ToolBarDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(E5ToolBarDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.toolbarComboBox = QtGui.QComboBox(E5ToolBarDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolbarComboBox.sizePolicy().hasHeightForWidth())
        self.toolbarComboBox.setSizePolicy(sizePolicy)
        self.toolbarComboBox.setObjectName(_fromUtf8("toolbarComboBox"))
        self.hboxlayout.addWidget(self.toolbarComboBox)
        self.newButton = QtGui.QPushButton(E5ToolBarDialog)
        self.newButton.setObjectName(_fromUtf8("newButton"))
        self.hboxlayout.addWidget(self.newButton)
        self.removeButton = QtGui.QPushButton(E5ToolBarDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.hboxlayout.addWidget(self.removeButton)
        self.renameButton = QtGui.QPushButton(E5ToolBarDialog)
        self.renameButton.setObjectName(_fromUtf8("renameButton"))
        self.hboxlayout.addWidget(self.renameButton)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.line = QtGui.QFrame(E5ToolBarDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.vboxlayout.addWidget(self.line)
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label_2 = QtGui.QLabel(E5ToolBarDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(E5ToolBarDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 0, 2, 1, 1)
        self.actionsTree = QtGui.QTreeWidget(E5ToolBarDialog)
        self.actionsTree.setAlternatingRowColors(True)
        self.actionsTree.setRootIsDecorated(False)
        self.actionsTree.setObjectName(_fromUtf8("actionsTree"))
        self.gridlayout.addWidget(self.actionsTree, 1, 0, 3, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 1, 1, 1, 1)
        self.toolbarActionsList = QtGui.QListWidget(E5ToolBarDialog)
        self.toolbarActionsList.setObjectName(_fromUtf8("toolbarActionsList"))
        self.gridlayout.addWidget(self.toolbarActionsList, 1, 2, 3, 1)
        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.upButton = QtGui.QToolButton(E5ToolBarDialog)
        self.upButton.setText(_fromUtf8(""))
        self.upButton.setObjectName(_fromUtf8("upButton"))
        self.gridlayout1.addWidget(self.upButton, 0, 1, 1, 1)
        self.leftButton = QtGui.QToolButton(E5ToolBarDialog)
        self.leftButton.setText(_fromUtf8(""))
        self.leftButton.setObjectName(_fromUtf8("leftButton"))
        self.gridlayout1.addWidget(self.leftButton, 1, 0, 1, 1)
        self.rightButton = QtGui.QToolButton(E5ToolBarDialog)
        self.rightButton.setText(_fromUtf8(""))
        self.rightButton.setObjectName(_fromUtf8("rightButton"))
        self.gridlayout1.addWidget(self.rightButton, 1, 2, 1, 1)
        self.downButton = QtGui.QToolButton(E5ToolBarDialog)
        self.downButton.setText(_fromUtf8(""))
        self.downButton.setObjectName(_fromUtf8("downButton"))
        self.gridlayout1.addWidget(self.downButton, 2, 1, 1, 1)
        self.gridlayout.addLayout(self.gridlayout1, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 3, 1, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.buttonBox = QtGui.QDialogButtonBox(E5ToolBarDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.Reset|QtGui.QDialogButtonBox.RestoreDefaults)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)
        self.label.setBuddy(self.toolbarComboBox)

        self.retranslateUi(E5ToolBarDialog)
        QtCore.QMetaObject.connectSlotsByName(E5ToolBarDialog)
        E5ToolBarDialog.setTabOrder(self.toolbarComboBox, self.newButton)
        E5ToolBarDialog.setTabOrder(self.newButton, self.removeButton)
        E5ToolBarDialog.setTabOrder(self.removeButton, self.renameButton)
        E5ToolBarDialog.setTabOrder(self.renameButton, self.actionsTree)
        E5ToolBarDialog.setTabOrder(self.actionsTree, self.toolbarActionsList)
        E5ToolBarDialog.setTabOrder(self.toolbarActionsList, self.upButton)
        E5ToolBarDialog.setTabOrder(self.upButton, self.downButton)
        E5ToolBarDialog.setTabOrder(self.downButton, self.rightButton)
        E5ToolBarDialog.setTabOrder(self.rightButton, self.leftButton)
        E5ToolBarDialog.setTabOrder(self.leftButton, self.buttonBox)

    def retranslateUi(self, E5ToolBarDialog):
        E5ToolBarDialog.setWindowTitle(_translate("E5ToolBarDialog", "Configure Toolbars", None))
        self.label.setText(_translate("E5ToolBarDialog", "&Toolbar:", None))
        self.toolbarComboBox.setToolTip(_translate("E5ToolBarDialog", "Select the toolbar to configure", None))
        self.newButton.setToolTip(_translate("E5ToolBarDialog", "Press to create a new toolbar", None))
        self.newButton.setText(_translate("E5ToolBarDialog", "&New", None))
        self.removeButton.setToolTip(_translate("E5ToolBarDialog", "Press to remove the selected toolbar", None))
        self.removeButton.setText(_translate("E5ToolBarDialog", "&Remove", None))
        self.renameButton.setToolTip(_translate("E5ToolBarDialog", "Press to rename the selected toolbar", None))
        self.renameButton.setText(_translate("E5ToolBarDialog", "R&ename", None))
        self.label_2.setText(_translate("E5ToolBarDialog", "Actions:", None))
        self.label_3.setText(_translate("E5ToolBarDialog", "Current Toolbar Actions:", None))
        self.actionsTree.setToolTip(_translate("E5ToolBarDialog", "Select the action to add to the current toolbar", None))
        self.toolbarActionsList.setToolTip(_translate("E5ToolBarDialog", "Select the action to work on", None))
        self.toolbarActionsList.setWhatsThis(_translate("E5ToolBarDialog", "<b>Current Toolbar Actions</b><p>This list shows the actions of the selected toolbar. Select an action and use the up or down button to change the order of actions or the left button to delete it. To add an action to the toolbar, select it in the list of available actions and press the right button.</p>", None))
        self.upButton.setToolTip(_translate("E5ToolBarDialog", "Press to move the selected action up.", None))
        self.leftButton.setToolTip(_translate("E5ToolBarDialog", "Press to delete the selected action from the toolbar", None))
        self.rightButton.setToolTip(_translate("E5ToolBarDialog", "Press to add the selected action to the toolbar", None))
        self.downButton.setToolTip(_translate("E5ToolBarDialog", "Press to move the selected action down.", None))

