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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ToolGroupConfigurationDialog.ui'
#
# Created: Sat Feb  3 15:34:17 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ToolGroupConfigurationDialog(object):
    def setupUi(self, ToolGroupConfigurationDialog):
        ToolGroupConfigurationDialog.setObjectName("ToolGroupConfigurationDialog")
        ToolGroupConfigurationDialog.resize(QtCore.QSize(QtCore.QRect(0,0,475,391).size()).expandedTo(ToolGroupConfigurationDialog.minimumSizeHint()))
        ToolGroupConfigurationDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(ToolGroupConfigurationDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.deleteButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.deleteButton.setEnabled(False)
        self.deleteButton.setObjectName("deleteButton")
        self.gridlayout.addWidget(self.deleteButton,3,2,1,1)

        self.addButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.addButton.setObjectName("addButton")
        self.gridlayout.addWidget(self.addButton,1,2,1,1)

        self.TextLabel2 = QtGui.QLabel(ToolGroupConfigurationDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,7,0,1,1)

        self.changeButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.changeButton.setEnabled(False)
        self.changeButton.setObjectName("changeButton")
        self.gridlayout.addWidget(self.changeButton,2,2,1,1)

        spacerItem = QtGui.QSpacerItem(87,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,6,2,1,1)

        self.newButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.newButton.setObjectName("newButton")
        self.gridlayout.addWidget(self.newButton,0,2,1,1)

        self.upButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.upButton.setEnabled(False)
        self.upButton.setObjectName("upButton")
        self.gridlayout.addWidget(self.upButton,4,2,1,1)

        self.downButton = QtGui.QPushButton(ToolGroupConfigurationDialog)
        self.downButton.setEnabled(False)
        self.downButton.setObjectName("downButton")
        self.gridlayout.addWidget(self.downButton,5,2,1,1)

        self.groupsList = QtGui.QListWidget(ToolGroupConfigurationDialog)
        self.groupsList.setObjectName("groupsList")
        self.gridlayout.addWidget(self.groupsList,0,0,7,2)

        self.nameEdit = QtGui.QLineEdit(ToolGroupConfigurationDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridlayout.addWidget(self.nameEdit,7,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(ToolGroupConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.TextLabel2.setBuddy(self.nameEdit)

        self.retranslateUi(ToolGroupConfigurationDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ToolGroupConfigurationDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ToolGroupConfigurationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ToolGroupConfigurationDialog)
        ToolGroupConfigurationDialog.setTabOrder(self.groupsList,self.nameEdit)
        ToolGroupConfigurationDialog.setTabOrder(self.nameEdit,self.newButton)
        ToolGroupConfigurationDialog.setTabOrder(self.newButton,self.addButton)
        ToolGroupConfigurationDialog.setTabOrder(self.addButton,self.changeButton)
        ToolGroupConfigurationDialog.setTabOrder(self.changeButton,self.deleteButton)
        ToolGroupConfigurationDialog.setTabOrder(self.deleteButton,self.upButton)
        ToolGroupConfigurationDialog.setTabOrder(self.upButton,self.downButton)

    def retranslateUi(self, ToolGroupConfigurationDialog):
        ToolGroupConfigurationDialog.setWindowTitle(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Configure Tool Groups", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Delete the selected entry", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Delete</b>\n"
        "<p>Delete the selected entry.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+D", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Add a new tools entry", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Add</b>\n"
        "<p>Add a new tool groups entry with the name entered below.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "&Add", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+A", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "&Group name:", None, QtGui.QApplication.UnicodeUTF8))
        self.changeButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Change the values of the selected entry", None, QtGui.QApplication.UnicodeUTF8))
        self.changeButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Change</b>\n"
        "<p>Change the values of the selected entry.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.changeButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "C&hange", None, QtGui.QApplication.UnicodeUTF8))
        self.changeButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+H", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Clear all entry fields", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>New</b>\n"
        "<p>Clear all entry fields for entering a new tool groups entry.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "&New", None, QtGui.QApplication.UnicodeUTF8))
        self.newButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+N", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Move up", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Move Up</b>\n"
        "<p>Move the selected entry up.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "&Up", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+U", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Move down", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Move Down</b>\n"
        "<p>Move the selected entry down.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setText(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Do&wn", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setShortcut(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Alt+W", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "Enter the menu text", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setWhatsThis(QtGui.QApplication.translate("ToolGroupConfigurationDialog", "<b>Menu text</b>\n"
        "<p>Enter the menu text. Precede the accelerator key with an & character.</p>", None, QtGui.QApplication.UnicodeUTF8))



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