src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleAddBuiltinIgnoreDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( 42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
43 bool(self.leftEdit.text()) and bool(self.rightEdit.text()) 43 bool(self.leftEdit.text()) and bool(self.rightEdit.text())
44 ) 44 )
45 45
46 @pyqtSlot(str) 46 @pyqtSlot(str)
47 def on_leftEdit_textChanged(self, txt): 47 def on_leftEdit_textChanged(self, _txt):
48 """ 48 """
49 Private slot to handle a change of the text of the left side edit. 49 Private slot to handle a change of the text of the left side edit.
50 50
51 @param txt text of the line edit 51 @param _txt text of the line edit (unused)
52 @type str 52 @type str
53 """ 53 """
54 self.__updateOkButton() 54 self.__updateOkButton()
55 55
56 @pyqtSlot(str) 56 @pyqtSlot(str)
57 def on_rightEdit_textChanged(self, txt): 57 def on_rightEdit_textChanged(self, _txt):
58 """ 58 """
59 Private slot to handle a change of the text of the right side edit. 59 Private slot to handle a change of the text of the right side edit.
60 60
61 @param txt text of the line edit 61 @param _txt text of the line edit (unused)
62 @type str 62 @type str
63 """ 63 """
64 self.__updateOkButton() 64 self.__updateOkButton()
65 65
66 def getData(self): 66 def getData(self):

eric ide

mercurial