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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/toolbar.ui'
#
# Created: Sat Jul 16 15:27:13 2011
#      by: PyQt4 UI code generator 4.8.4
#
# 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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(831, 553)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.what = QtGui.QComboBox(Form)
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setWeight(75)
        font.setBold(True)
        self.what.setFont(font)
        self.what.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.what.setMinimumContentsLength(20)
        self.what.setObjectName(_fromUtf8("what"))
        self.gridLayout.addWidget(self.what, 0, 0, 1, 5)
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.all_actions = QtGui.QListView(self.groupBox)
        self.all_actions.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.all_actions.setIconSize(QtCore.QSize(32, 32))
        self.all_actions.setSpacing(10)
        self.all_actions.setWordWrap(True)
        self.all_actions.setObjectName(_fromUtf8("all_actions"))
        self.verticalLayout.addWidget(self.all_actions)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 2)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.add_action_button = QtGui.QToolButton(Form)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("forward.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.add_action_button.setIcon(icon)
        self.add_action_button.setIconSize(QtCore.QSize(24, 24))
        self.add_action_button.setObjectName(_fromUtf8("add_action_button"))
        self.verticalLayout_3.addWidget(self.add_action_button)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.verticalLayout_3.addItem(spacerItem)
        self.remove_action_button = QtGui.QToolButton(Form)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("back.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.remove_action_button.setIcon(icon1)
        self.remove_action_button.setIconSize(QtCore.QSize(24, 24))
        self.remove_action_button.setObjectName(_fromUtf8("remove_action_button"))
        self.verticalLayout_3.addWidget(self.remove_action_button)
        self.gridLayout.addLayout(self.verticalLayout_3, 1, 2, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.current_actions = QtGui.QListView(self.groupBox_2)
        self.current_actions.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.current_actions.setIconSize(QtCore.QSize(32, 32))
        self.current_actions.setSpacing(10)
        self.current_actions.setWordWrap(True)
        self.current_actions.setObjectName(_fromUtf8("current_actions"))
        self.horizontalLayout.addWidget(self.current_actions)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.action_up_button = QtGui.QToolButton(self.groupBox_2)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I("arrow-up.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_up_button.setIcon(icon2)
        self.action_up_button.setIconSize(QtCore.QSize(24, 24))
        self.action_up_button.setObjectName(_fromUtf8("action_up_button"))
        self.verticalLayout_4.addWidget(self.action_up_button)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.action_down_button = QtGui.QToolButton(self.groupBox_2)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(I("arrow-down.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_down_button.setIcon(icon3)
        self.action_down_button.setIconSize(QtCore.QSize(24, 24))
        self.action_down_button.setObjectName(_fromUtf8("action_down_button"))
        self.verticalLayout_4.addWidget(self.action_down_button)
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.gridLayout.addWidget(self.groupBox_2, 1, 3, 1, 2)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.what.setToolTip(_("Choose the toolbar to customize"))
        self.groupBox.setTitle(_("A&vailable actions"))
        self.add_action_button.setToolTip(_("Add selected actions to toolbar"))
        self.add_action_button.setText(_("..."))
        self.remove_action_button.setToolTip(_("Remove selected actions from toolbar"))
        self.remove_action_button.setText(_("..."))
        self.groupBox_2.setTitle(_("&Current actions"))
        self.action_up_button.setToolTip(_("Move selected action up"))
        self.action_up_button.setText(_("..."))
        self.action_down_button.setToolTip(_("Move selected action down"))
        self.action_down_button.setText(_("..."))
        self.action_down_button.setShortcut(_("Ctrl+S"))


