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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/toolbar.ui'
#
# Created: Thu Sep 22 08:57:42 2011
#      by: PyQt4 UI code generator 4.8.5
#
# 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)
        Form.setWindowTitle(_("Form"))
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.what = QtGui.QComboBox(Form)
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.what.setFont(font)
        self.what.setToolTip(_("Choose the toolbar to customize"))
        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.setTitle(_("A&vailable actions"))
        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, 2, 0, 1, 2)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.add_action_button = QtGui.QToolButton(Form)
        self.add_action_button.setToolTip(_("Add selected actions to toolbar"))
        self.add_action_button.setText(_("..."))
        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)
        self.remove_action_button.setToolTip(_("Remove selected actions from toolbar"))
        self.remove_action_button.setText(_("..."))
        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, 2, 2, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setTitle(_("&Current actions"))
        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)
        self.action_up_button.setToolTip(_("Move selected action up"))
        self.action_up_button.setText(_("..."))
        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)
        self.action_down_button.setToolTip(_("Move selected action down"))
        self.action_down_button.setText(_("..."))
        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.setShortcut(_("Ctrl+S"))
        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, 2, 3, 1, 2)
        self.label = QtGui.QLabel(Form)
        self.label.setText(_("<p>The toolbar in calibre is different depending on whether a device is connected or not. To customize the toolbar when a device is connected as well as customizing right click menus, <b>click the dropdown above</b> and select which toolbar/menu you want to customize."))
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 5)

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

    def retranslateUi(self, Form):
        pass


