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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/E4Gui/E4ToolBarDialog.ui'
#
# Created: Mon Oct  6 15:00:23 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20080928
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_E4ToolBarDialog(object):
    def setupUi(self, E4ToolBarDialog):
        E4ToolBarDialog.setObjectName("E4ToolBarDialog")
        E4ToolBarDialog.resize(600, 500)
        E4ToolBarDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(E4ToolBarDialog)
        self.vboxlayout.setObjectName("vboxlayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label = QtGui.QLabel(E4ToolBarDialog)
        self.label.setObjectName("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("toolbarComboBox")
        self.hboxlayout.addWidget(self.toolbarComboBox)
        self.newButton = QtGui.QPushButton(E4ToolBarDialog)
        self.newButton.setObjectName("newButton")
        self.hboxlayout.addWidget(self.newButton)
        self.removeButton = QtGui.QPushButton(E4ToolBarDialog)
        self.removeButton.setObjectName("removeButton")
        self.hboxlayout.addWidget(self.removeButton)
        self.renameButton = QtGui.QPushButton(E4ToolBarDialog)
        self.renameButton.setObjectName("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("line")
        self.vboxlayout.addWidget(self.line)
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")
        self.label_2 = QtGui.QLabel(E4ToolBarDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(E4ToolBarDialog)
        self.label_3.setObjectName("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("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("toolbarActionsList")
        self.gridlayout.addWidget(self.toolbarActionsList, 1, 2, 3, 1)
        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setSpacing(0)
        self.gridlayout1.setObjectName("gridlayout1")
        self.upButton = QtGui.QToolButton(E4ToolBarDialog)
        self.upButton.setObjectName("upButton")
        self.gridlayout1.addWidget(self.upButton, 0, 1, 1, 1)
        self.leftButton = QtGui.QToolButton(E4ToolBarDialog)
        self.leftButton.setObjectName("leftButton")
        self.gridlayout1.addWidget(self.leftButton, 1, 0, 1, 1)
        self.rightButton = QtGui.QToolButton(E4ToolBarDialog)
        self.rightButton.setObjectName("rightButton")
        self.gridlayout1.addWidget(self.rightButton, 1, 2, 1, 1)
        self.downButton = QtGui.QToolButton(E4ToolBarDialog)
        self.downButton.setObjectName("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("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))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    E4ToolBarDialog = QtGui.QDialog()
    ui = Ui_E4ToolBarDialog()
    ui.setupUi(E4ToolBarDialog)
    E4ToolBarDialog.show()
    sys.exit(app.exec_())

