src/eric7/QScintilla/Ui_ShellHistoryDialog.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/QScintilla/ShellHistoryDialog.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_ShellHistoryDialog(object):
13 def setupUi(self, ShellHistoryDialog):
14 ShellHistoryDialog.setObjectName("ShellHistoryDialog")
15 ShellHistoryDialog.resize(540, 506)
16 ShellHistoryDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(ShellHistoryDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.historyList = QtWidgets.QListWidget(parent=ShellHistoryDialog)
20 font = QtGui.QFont()
21 font.setFamily("Monospace")
22 self.historyList.setFont(font)
23 self.historyList.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers)
24 self.historyList.setAlternatingRowColors(True)
25 self.historyList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
26 self.historyList.setWordWrap(True)
27 self.historyList.setObjectName("historyList")
28 self.gridLayout.addWidget(self.historyList, 0, 0, 1, 1)
29 self.verticalLayout = QtWidgets.QVBoxLayout()
30 self.verticalLayout.setObjectName("verticalLayout")
31 self.deleteButton = QtWidgets.QPushButton(parent=ShellHistoryDialog)
32 self.deleteButton.setEnabled(False)
33 self.deleteButton.setObjectName("deleteButton")
34 self.verticalLayout.addWidget(self.deleteButton)
35 self.copyButton = QtWidgets.QPushButton(parent=ShellHistoryDialog)
36 self.copyButton.setEnabled(False)
37 self.copyButton.setObjectName("copyButton")
38 self.verticalLayout.addWidget(self.copyButton)
39 self.executeButton = QtWidgets.QPushButton(parent=ShellHistoryDialog)
40 self.executeButton.setEnabled(False)
41 self.executeButton.setObjectName("executeButton")
42 self.verticalLayout.addWidget(self.executeButton)
43 self.reloadButton = QtWidgets.QPushButton(parent=ShellHistoryDialog)
44 self.reloadButton.setObjectName("reloadButton")
45 self.verticalLayout.addWidget(self.reloadButton)
46 spacerItem = QtWidgets.QSpacerItem(72, 208, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
47 self.verticalLayout.addItem(spacerItem)
48 self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
49 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ShellHistoryDialog)
50 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
51 self.buttonBox.setObjectName("buttonBox")
52 self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)
53
54 self.retranslateUi(ShellHistoryDialog)
55 self.buttonBox.accepted.connect(ShellHistoryDialog.accept) # type: ignore
56 self.buttonBox.rejected.connect(ShellHistoryDialog.reject) # type: ignore
57 QtCore.QMetaObject.connectSlotsByName(ShellHistoryDialog)
58 ShellHistoryDialog.setTabOrder(self.historyList, self.deleteButton)
59 ShellHistoryDialog.setTabOrder(self.deleteButton, self.copyButton)
60 ShellHistoryDialog.setTabOrder(self.copyButton, self.executeButton)
61 ShellHistoryDialog.setTabOrder(self.executeButton, self.reloadButton)
62 ShellHistoryDialog.setTabOrder(self.reloadButton, self.buttonBox)
63
64 def retranslateUi(self, ShellHistoryDialog):
65 _translate = QtCore.QCoreApplication.translate
66 ShellHistoryDialog.setWindowTitle(_translate("ShellHistoryDialog", "Shell History"))
67 self.deleteButton.setToolTip(_translate("ShellHistoryDialog", "Delete the selected entries"))
68 self.deleteButton.setText(_translate("ShellHistoryDialog", "&Delete"))
69 self.copyButton.setToolTip(_translate("ShellHistoryDialog", "Copy the selected entries to the current editor"))
70 self.copyButton.setText(_translate("ShellHistoryDialog", "C&opy"))
71 self.executeButton.setToolTip(_translate("ShellHistoryDialog", "Execute the selected entries"))
72 self.executeButton.setText(_translate("ShellHistoryDialog", "&Execute"))
73 self.reloadButton.setToolTip(_translate("ShellHistoryDialog", "Reload the history"))
74 self.reloadButton.setText(_translate("ShellHistoryDialog", "&Reload"))

eric ide

mercurial