eric7/Debugger/StartHistoryEditDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
8 """ 8 """
9 9
10 from PyQt6.QtCore import pyqtSlot, Qt 10 from PyQt6.QtCore import pyqtSlot, Qt
11 from PyQt6.QtWidgets import QDialog, QInputDialog, QLineEdit 11 from PyQt6.QtWidgets import QDialog, QInputDialog, QLineEdit
12 12
13 from E5Gui import E5MessageBox 13 from E5Gui import EricMessageBox
14 14
15 from .Ui_StartHistoryEditDialog import Ui_StartHistoryEditDialog 15 from .Ui_StartHistoryEditDialog import Ui_StartHistoryEditDialog
16 16
17 17
18 class StartHistoryEditDialog(QDialog, Ui_StartHistoryEditDialog): 18 class StartHistoryEditDialog(QDialog, Ui_StartHistoryEditDialog):
73 @pyqtSlot() 73 @pyqtSlot()
74 def on_deleteButton_clicked(self): 74 def on_deleteButton_clicked(self):
75 """ 75 """
76 Private slot to delete the selected entries. 76 Private slot to delete the selected entries.
77 """ 77 """
78 yes = E5MessageBox.yesNo( 78 yes = EricMessageBox.yesNo(
79 self, 79 self,
80 self.tr("Delete Selected Entries"), 80 self.tr("Delete Selected Entries"),
81 self.tr("""Do you really want to delete the selected""" 81 self.tr("""Do you really want to delete the selected"""
82 """ history entries?""")) 82 """ history entries?"""))
83 if yes: 83 if yes:
89 @pyqtSlot() 89 @pyqtSlot()
90 def on_deleteAllButton_clicked(self): 90 def on_deleteAllButton_clicked(self):
91 """ 91 """
92 Private slot to delete all entries. 92 Private slot to delete all entries.
93 """ 93 """
94 yes = E5MessageBox.yesNo( 94 yes = EricMessageBox.yesNo(
95 self, 95 self,
96 self.tr("Delete All Entries"), 96 self.tr("Delete All Entries"),
97 self.tr("""Do you really want to delete the shown history?""")) 97 self.tr("""Do you really want to delete the shown history?"""))
98 if yes: 98 if yes:
99 self.historyList.clear() 99 self.historyList.clear()

eric ide

mercurial