ProjectDjango/DjangoDiffsettingsDataDialog.py

branch
eric7
changeset 172
ea7980ded4f3
parent 169
b8f263e05c39
child 175
30cb5e553e7e
equal deleted inserted replaced
171:af99f0984f20 172:ea7980ded4f3
5 5
6 """ 6 """
7 Module implementing a dialog to enter the data for the 'diffsettings' command. 7 Module implementing a dialog to enter the data for the 'diffsettings' command.
8 """ 8 """
9 9
10 from PyQt5.QtWidgets import QDialog 10 from PyQt6.QtWidgets import QDialog
11 11
12 from .Ui_DjangoDiffsettingsDataDialog import Ui_DjangoDiffsettingsDataDialog 12 from .Ui_DjangoDiffsettingsDataDialog import Ui_DjangoDiffsettingsDataDialog
13 13
14 14
15 class DjangoDiffsettingsDataDialog(QDialog, Ui_DjangoDiffsettingsDataDialog): 15 class DjangoDiffsettingsDataDialog(QDialog, Ui_DjangoDiffsettingsDataDialog):
39 """ 39 """
40 Public method to get the dialog data. 40 Public method to get the dialog data.
41 41
42 @return tuple containing a flag indicating to show all settings, 42 @return tuple containing a flag indicating to show all settings,
43 the name of a module containing the default settings and the 43 the name of a module containing the default settings and the
44 output format (Django 2.0.0+) 44 output format
45 @rtype tuple of (bool, str, str) 45 @rtype tuple of (bool, str, str)
46 """ 46 """
47 outputFormat = self.formatComboBox.itemData( 47 outputFormat = self.formatComboBox.itemData(
48 self.formatComboBox.currentIndex()) 48 self.formatComboBox.currentIndex())
49 49

eric ide

mercurial