Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to enter the parameters for eric5_doc. 7 Module implementing a dialog to enter the parameters for eric5_doc.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import sys 12 import sys
11 import os 13 import os
12 import copy 14 import copy
13 15
34 36
35 @param project reference to the project object (Project.Project) 37 @param project reference to the project object (Project.Project)
36 @param parms parameters to set in the dialog 38 @param parms parameters to set in the dialog
37 @param parent parent widget of this dialog 39 @param parent parent widget of this dialog
38 """ 40 """
39 super().__init__(parent) 41 super(EricdocConfigDialog, self).__init__(parent)
40 self.setupUi(self) 42 self.setupUi(self)
41 43
42 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) 44 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok)
43 45
44 self.__initializeDefaults() 46 self.__initializeDefaults()
527 self.parameters['qtHelpTitle'] = self.qtHelpTitleEdit.text() 529 self.parameters['qtHelpTitle'] = self.qtHelpTitleEdit.text()
528 self.parameters['qtHelpCreateCollection'] = \ 530 self.parameters['qtHelpCreateCollection'] = \
529 self.qtHelpGenerateCollectionCheckBox.isChecked() 531 self.qtHelpGenerateCollectionCheckBox.isChecked()
530 532
531 # call the accept slot of the base class 533 # call the accept slot of the base class
532 super().accept() 534 super(EricdocConfigDialog, self).accept()

eric ide

mercurial