src/eric7/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py

branch
eric7
changeset 10437
2f70ca07f0af
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
equal deleted inserted replaced
10436:f6881d10e995 10437:2f70ca07f0af
28 28
29 def __init__(self, project, parms=None, parent=None): 29 def __init__(self, project, parms=None, parent=None):
30 """ 30 """
31 Constructor 31 Constructor
32 32
33 @param project reference to the project object (Project.Project) 33 @param project reference to the project object
34 @type Project
34 @param parms parameters to set in the dialog 35 @param parms parameters to set in the dialog
36 @type dict
35 @param parent parent widget of this dialog 37 @param parent parent widget of this dialog
38 @type QWidget
36 """ 39 """
37 super().__init__(parent) 40 super().__init__(parent)
38 self.setupUi(self) 41 self.setupUi(self)
39 42
40 self.startDirPicker.setMode(EricPathPickerModes.DIRECTORY_MODE) 43 self.startDirPicker.setMode(EricPathPickerModes.DIRECTORY_MODE)
221 224
222 def on_outputFilePicker_textChanged(self, filename): 225 def on_outputFilePicker_textChanged(self, filename):
223 """ 226 """
224 Private slot to enable/disable the "OK" button. 227 Private slot to enable/disable the "OK" button.
225 228
226 @param filename name of the file (string) 229 @param filename name of the file
230 @type str
227 """ 231 """
228 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( 232 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
229 filename != "" 233 filename != ""
230 ) 234 )
231 235

eric ide

mercurial