src/eric7/EricWidgets/Ui_EricToolBarDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/EricWidgets/EricToolBarDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.0
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_EricToolBarDialog(object):
13 def setupUi(self, EricToolBarDialog):
14 EricToolBarDialog.setObjectName("EricToolBarDialog")
15 EricToolBarDialog.resize(600, 500)
16 EricToolBarDialog.setSizeGripEnabled(True)
17 self.vboxlayout = QtWidgets.QVBoxLayout(EricToolBarDialog)
18 self.vboxlayout.setObjectName("vboxlayout")
19 self.hboxlayout = QtWidgets.QHBoxLayout()
20 self.hboxlayout.setObjectName("hboxlayout")
21 self.label = QtWidgets.QLabel(parent=EricToolBarDialog)
22 self.label.setObjectName("label")
23 self.hboxlayout.addWidget(self.label)
24 self.toolbarComboBox = QtWidgets.QComboBox(parent=EricToolBarDialog)
25 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
26 sizePolicy.setHorizontalStretch(0)
27 sizePolicy.setVerticalStretch(0)
28 sizePolicy.setHeightForWidth(self.toolbarComboBox.sizePolicy().hasHeightForWidth())
29 self.toolbarComboBox.setSizePolicy(sizePolicy)
30 self.toolbarComboBox.setObjectName("toolbarComboBox")
31 self.hboxlayout.addWidget(self.toolbarComboBox)
32 self.newButton = QtWidgets.QPushButton(parent=EricToolBarDialog)
33 self.newButton.setObjectName("newButton")
34 self.hboxlayout.addWidget(self.newButton)
35 self.removeButton = QtWidgets.QPushButton(parent=EricToolBarDialog)
36 self.removeButton.setObjectName("removeButton")
37 self.hboxlayout.addWidget(self.removeButton)
38 self.renameButton = QtWidgets.QPushButton(parent=EricToolBarDialog)
39 self.renameButton.setObjectName("renameButton")
40 self.hboxlayout.addWidget(self.renameButton)
41 self.vboxlayout.addLayout(self.hboxlayout)
42 self.line = QtWidgets.QFrame(parent=EricToolBarDialog)
43 self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
44 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
45 self.line.setObjectName("line")
46 self.vboxlayout.addWidget(self.line)
47 self.gridlayout = QtWidgets.QGridLayout()
48 self.gridlayout.setObjectName("gridlayout")
49 self.label_2 = QtWidgets.QLabel(parent=EricToolBarDialog)
50 self.label_2.setObjectName("label_2")
51 self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
52 self.label_3 = QtWidgets.QLabel(parent=EricToolBarDialog)
53 self.label_3.setObjectName("label_3")
54 self.gridlayout.addWidget(self.label_3, 0, 2, 1, 1)
55 self.actionsTree = QtWidgets.QTreeWidget(parent=EricToolBarDialog)
56 self.actionsTree.setAlternatingRowColors(True)
57 self.actionsTree.setRootIsDecorated(False)
58 self.actionsTree.setObjectName("actionsTree")
59 self.gridlayout.addWidget(self.actionsTree, 1, 0, 3, 1)
60 spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
61 self.gridlayout.addItem(spacerItem, 1, 1, 1, 1)
62 self.toolbarActionsList = QtWidgets.QListWidget(parent=EricToolBarDialog)
63 self.toolbarActionsList.setObjectName("toolbarActionsList")
64 self.gridlayout.addWidget(self.toolbarActionsList, 1, 2, 3, 1)
65 self.gridlayout1 = QtWidgets.QGridLayout()
66 self.gridlayout1.setSpacing(0)
67 self.gridlayout1.setObjectName("gridlayout1")
68 self.upButton = QtWidgets.QToolButton(parent=EricToolBarDialog)
69 self.upButton.setText("")
70 self.upButton.setObjectName("upButton")
71 self.gridlayout1.addWidget(self.upButton, 0, 1, 1, 1)
72 self.leftButton = QtWidgets.QToolButton(parent=EricToolBarDialog)
73 self.leftButton.setText("")
74 self.leftButton.setObjectName("leftButton")
75 self.gridlayout1.addWidget(self.leftButton, 1, 0, 1, 1)
76 self.rightButton = QtWidgets.QToolButton(parent=EricToolBarDialog)
77 self.rightButton.setText("")
78 self.rightButton.setObjectName("rightButton")
79 self.gridlayout1.addWidget(self.rightButton, 1, 2, 1, 1)
80 self.downButton = QtWidgets.QToolButton(parent=EricToolBarDialog)
81 self.downButton.setText("")
82 self.downButton.setObjectName("downButton")
83 self.gridlayout1.addWidget(self.downButton, 2, 1, 1, 1)
84 self.gridlayout.addLayout(self.gridlayout1, 2, 1, 1, 1)
85 spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
86 self.gridlayout.addItem(spacerItem1, 3, 1, 1, 1)
87 self.vboxlayout.addLayout(self.gridlayout)
88 self.buttonBox = QtWidgets.QDialogButtonBox(parent=EricToolBarDialog)
89 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
90 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Apply|QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok|QtWidgets.QDialogButtonBox.StandardButton.Reset|QtWidgets.QDialogButtonBox.StandardButton.RestoreDefaults)
91 self.buttonBox.setObjectName("buttonBox")
92 self.vboxlayout.addWidget(self.buttonBox)
93 self.label.setBuddy(self.toolbarComboBox)
94
95 self.retranslateUi(EricToolBarDialog)
96 QtCore.QMetaObject.connectSlotsByName(EricToolBarDialog)
97 EricToolBarDialog.setTabOrder(self.toolbarComboBox, self.newButton)
98 EricToolBarDialog.setTabOrder(self.newButton, self.removeButton)
99 EricToolBarDialog.setTabOrder(self.removeButton, self.renameButton)
100 EricToolBarDialog.setTabOrder(self.renameButton, self.actionsTree)
101 EricToolBarDialog.setTabOrder(self.actionsTree, self.toolbarActionsList)
102 EricToolBarDialog.setTabOrder(self.toolbarActionsList, self.upButton)
103 EricToolBarDialog.setTabOrder(self.upButton, self.downButton)
104 EricToolBarDialog.setTabOrder(self.downButton, self.rightButton)
105 EricToolBarDialog.setTabOrder(self.rightButton, self.leftButton)
106 EricToolBarDialog.setTabOrder(self.leftButton, self.buttonBox)
107
108 def retranslateUi(self, EricToolBarDialog):
109 _translate = QtCore.QCoreApplication.translate
110 EricToolBarDialog.setWindowTitle(_translate("EricToolBarDialog", "Configure Toolbars"))
111 self.label.setText(_translate("EricToolBarDialog", "&Toolbar:"))
112 self.toolbarComboBox.setToolTip(_translate("EricToolBarDialog", "Select the toolbar to configure"))
113 self.newButton.setToolTip(_translate("EricToolBarDialog", "Press to create a new toolbar"))
114 self.newButton.setText(_translate("EricToolBarDialog", "&New"))
115 self.removeButton.setToolTip(_translate("EricToolBarDialog", "Press to remove the selected toolbar"))
116 self.removeButton.setText(_translate("EricToolBarDialog", "&Remove"))
117 self.renameButton.setToolTip(_translate("EricToolBarDialog", "Press to rename the selected toolbar"))
118 self.renameButton.setText(_translate("EricToolBarDialog", "R&ename"))
119 self.label_2.setText(_translate("EricToolBarDialog", "Actions:"))
120 self.label_3.setText(_translate("EricToolBarDialog", "Current Toolbar Actions:"))
121 self.actionsTree.setToolTip(_translate("EricToolBarDialog", "Select the action to add to the current toolbar"))
122 self.toolbarActionsList.setToolTip(_translate("EricToolBarDialog", "Select the action to work on"))
123 self.toolbarActionsList.setWhatsThis(_translate("EricToolBarDialog", "<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>"))
124 self.upButton.setToolTip(_translate("EricToolBarDialog", "Press to move the selected action up."))
125 self.leftButton.setToolTip(_translate("EricToolBarDialog", "Press to delete the selected action from the toolbar"))
126 self.rightButton.setToolTip(_translate("EricToolBarDialog", "Press to add the selected action to the toolbar"))
127 self.downButton.setToolTip(_translate("EricToolBarDialog", "Press to move the selected action down."))

eric ide

mercurial