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

# Form implementation generated from reading ui file 'eric/E4Gui/E4ToolBarDialog.ui'
#
# Created: Sun Nov 11 19:51:02 2012
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_E4ToolBarDialog(object):
    def setupUi(self, E4ToolBarDialog):
        E4ToolBarDialog.setObjectName(_fromUtf8("E4ToolBarDialog"))
        E4ToolBarDialog.resize(600, 500)
        E4ToolBarDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(E4ToolBarDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(E4ToolBarDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.toolbarComboBox = QtGui.QComboBox(E4ToolBarDialog)
        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(E4ToolBarDialog)
        self.newButton.setObjectName(_fromUtf8("newButton"))
        self.hboxlayout.addWidget(self.newButton)
        self.removeButton = QtGui.QPushButton(E4ToolBarDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.hboxlayout.addWidget(self.removeButton)
        self.renameButton = QtGui.QPushButton(E4ToolBarDialog)
        self.renameButton.setObjectName(_fromUtf8("renameButton"))
        self.hboxlayout.addWidget(self.renameButton)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.line = QtGui.QFrame(E4ToolBarDialog)
        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(E4ToolBarDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(E4ToolBarDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 0, 2, 1, 1)
        self.actionsTree = QtGui.QTreeWidget(E4ToolBarDialog)
        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(E4ToolBarDialog)
        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(E4ToolBarDialog)
        self.upButton.setText(_fromUtf8(""))
        self.upButton.setObjectName(_fromUtf8("upButton"))
        self.gridlayout1.addWidget(self.upButton, 0, 1, 1, 1)
        self.leftButton = QtGui.QToolButton(E4ToolBarDialog)
        self.leftButton.setText(_fromUtf8(""))
        self.leftButton.setObjectName(_fromUtf8("leftButton"))
        self.gridlayout1.addWidget(self.leftButton, 1, 0, 1, 1)
        self.rightButton = QtGui.QToolButton(E4ToolBarDialog)
        self.rightButton.setText(_fromUtf8(""))
        self.rightButton.setObjectName(_fromUtf8("rightButton"))
        self.gridlayout1.addWidget(self.rightButton, 1, 2, 1, 1)
        self.downButton = QtGui.QToolButton(E4ToolBarDialog)
        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(E4ToolBarDialog)
        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(E4ToolBarDialog)
        QtCore.QMetaObject.connectSlotsByName(E4ToolBarDialog)
        E4ToolBarDialog.setTabOrder(self.toolbarComboBox, self.newButton)
        E4ToolBarDialog.setTabOrder(self.newButton, self.removeButton)
        E4ToolBarDialog.setTabOrder(self.removeButton, self.renameButton)
        E4ToolBarDialog.setTabOrder(self.renameButton, self.actionsTree)
        E4ToolBarDialog.setTabOrder(self.actionsTree, self.toolbarActionsList)
        E4ToolBarDialog.setTabOrder(self.toolbarActionsList, self.upButton)
        E4ToolBarDialog.setTabOrder(self.upButton, self.downButton)
        E4ToolBarDialog.setTabOrder(self.downButton, self.rightButton)
        E4ToolBarDialog.setTabOrder(self.rightButton, self.leftButton)
        E4ToolBarDialog.setTabOrder(self.leftButton, self.buttonBox)

    def retranslateUi(self, E4ToolBarDialog):
        E4ToolBarDialog.setWindowTitle(QtGui.QApplication.translate("E4ToolBarDialog", "Configure Toolbars", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("E4ToolBarDialog", "&Toolbar:", None, QtGui.QApplication.UnicodeUTF8))
        self.toolbarComboBox.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Select the toolbar to configure", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to create a new toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setText(QtGui.QApplication.translate("E4ToolBarDialog", "&New", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to remove the selected toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setText(QtGui.QApplication.translate("E4ToolBarDialog", "&Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.renameButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to rename the selected toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.renameButton.setText(QtGui.QApplication.translate("E4ToolBarDialog", "R&ename", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("E4ToolBarDialog", "Actions:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("E4ToolBarDialog", "Current Toolbar Actions:", None, QtGui.QApplication.UnicodeUTF8))
        self.actionsTree.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Select the action to add to the current toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolbarActionsList.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Select the action to work on", None, QtGui.QApplication.UnicodeUTF8))
        self.toolbarActionsList.setWhatsThis(QtGui.QApplication.translate("E4ToolBarDialog", "<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, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to move the selected action up.", None, QtGui.QApplication.UnicodeUTF8))
        self.leftButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to delete the selected action from the toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.rightButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to add the selected action to the toolbar", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setToolTip(QtGui.QApplication.translate("E4ToolBarDialog", "Press to move the selected action down.", None, QtGui.QApplication.UnicodeUTF8))

