home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- 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.label = QtGui.QLabel(Form)
- self.label.setObjectName(_fromUtf8('label'))
- self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
- self.what = QtGui.QComboBox(Form)
- self.what.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
- self.what.setMinimumContentsLength(20)
- self.what.setObjectName(_fromUtf8('what'))
- self.gridLayout.addWidget(self.what, 0, 1, 1, 3)
- 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, 2, 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)
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('arrow-up.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.action_up_button.setIcon(icon)
- 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)
- spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
- self.verticalLayout_4.addItem(spacerItem)
- self.action_down_button = QtGui.QToolButton(self.groupBox_2)
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I('arrow-down.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.action_down_button.setIcon(icon1)
- 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, 2, 2, 1)
- self.verticalLayout_3 = QtGui.QVBoxLayout()
- self.verticalLayout_3.setObjectName(_fromUtf8('verticalLayout_3'))
- self.add_action_button = QtGui.QToolButton(Form)
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I('forward.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.add_action_button.setIcon(icon2)
- 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)
- spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
- self.verticalLayout_3.addItem(spacerItem1)
- self.remove_action_button = QtGui.QToolButton(Form)
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap(_fromUtf8(I('back.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.remove_action_button.setIcon(icon3)
- 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, 1, 2, 1)
- self.retranslateUi(Form)
- QtCore.QMetaObject.connectSlotsByName(Form)
-
-
- def retranslateUi(self, Form):
- Form.setWindowTitle(_('Form'))
- self.label.setText(_('Customize the actions in:'))
- self.groupBox.setTitle(_('A&vailable actions'))
- 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'))
- 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(_('...'))
-
-
-