--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/QScintilla/Ui_ShellHistoryDialog.py Fri Jun 07 10:05:06 2024 +0200 @@ -0,0 +1,74 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/QScintilla/ShellHistoryDialog.ui' +# +# Created by: PyQt6 UI code generator 6.7.0 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_ShellHistoryDialog(object): + def setupUi(self, ShellHistoryDialog): + ShellHistoryDialog.setObjectName("ShellHistoryDialog") + ShellHistoryDialog.resize(540, 506) + ShellHistoryDialog.setSizeGripEnabled(True) + self.gridLayout = QtWidgets.QGridLayout(ShellHistoryDialog) + self.gridLayout.setObjectName("gridLayout") + self.historyList = QtWidgets.QListWidget(parent=ShellHistoryDialog) + font = QtGui.QFont() + font.setFamily("Monospace") + self.historyList.setFont(font) + self.historyList.setEditTriggers(QtWidgets.QAbstractItemView.EditTrigger.NoEditTriggers) + self.historyList.setAlternatingRowColors(True) + self.historyList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection) + self.historyList.setWordWrap(True) + self.historyList.setObjectName("historyList") + self.gridLayout.addWidget(self.historyList, 0, 0, 1, 1) + self.verticalLayout = QtWidgets.QVBoxLayout() + self.verticalLayout.setObjectName("verticalLayout") + self.deleteButton = QtWidgets.QPushButton(parent=ShellHistoryDialog) + self.deleteButton.setEnabled(False) + self.deleteButton.setObjectName("deleteButton") + self.verticalLayout.addWidget(self.deleteButton) + self.copyButton = QtWidgets.QPushButton(parent=ShellHistoryDialog) + self.copyButton.setEnabled(False) + self.copyButton.setObjectName("copyButton") + self.verticalLayout.addWidget(self.copyButton) + self.executeButton = QtWidgets.QPushButton(parent=ShellHistoryDialog) + self.executeButton.setEnabled(False) + self.executeButton.setObjectName("executeButton") + self.verticalLayout.addWidget(self.executeButton) + self.reloadButton = QtWidgets.QPushButton(parent=ShellHistoryDialog) + self.reloadButton.setObjectName("reloadButton") + self.verticalLayout.addWidget(self.reloadButton) + spacerItem = QtWidgets.QSpacerItem(72, 208, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) + self.verticalLayout.addItem(spacerItem) + self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=ShellHistoryDialog) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2) + + self.retranslateUi(ShellHistoryDialog) + self.buttonBox.accepted.connect(ShellHistoryDialog.accept) # type: ignore + self.buttonBox.rejected.connect(ShellHistoryDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(ShellHistoryDialog) + ShellHistoryDialog.setTabOrder(self.historyList, self.deleteButton) + ShellHistoryDialog.setTabOrder(self.deleteButton, self.copyButton) + ShellHistoryDialog.setTabOrder(self.copyButton, self.executeButton) + ShellHistoryDialog.setTabOrder(self.executeButton, self.reloadButton) + ShellHistoryDialog.setTabOrder(self.reloadButton, self.buttonBox) + + def retranslateUi(self, ShellHistoryDialog): + _translate = QtCore.QCoreApplication.translate + ShellHistoryDialog.setWindowTitle(_translate("ShellHistoryDialog", "Shell History")) + self.deleteButton.setToolTip(_translate("ShellHistoryDialog", "Delete the selected entries")) + self.deleteButton.setText(_translate("ShellHistoryDialog", "&Delete")) + self.copyButton.setToolTip(_translate("ShellHistoryDialog", "Copy the selected entries to the current editor")) + self.copyButton.setText(_translate("ShellHistoryDialog", "C&opy")) + self.executeButton.setToolTip(_translate("ShellHistoryDialog", "Execute the selected entries")) + self.executeButton.setText(_translate("ShellHistoryDialog", "&Execute")) + self.reloadButton.setToolTip(_translate("ShellHistoryDialog", "Reload the history")) + self.reloadButton.setText(_translate("ShellHistoryDialog", "&Reload"))