23 QDialogButtonBox, |
23 QDialogButtonBox, |
24 QHeaderView, |
24 QHeaderView, |
25 QTreeWidgetItem, |
25 QTreeWidgetItem, |
26 ) |
26 ) |
27 |
27 |
28 from EricWidgets import EricMessageBox |
28 from eric7.EricWidgets import EricMessageBox |
29 |
29 |
30 from .Ui_BlackFormattingDialog import Ui_BlackFormattingDialog |
30 from .Ui_BlackFormattingDialog import Ui_BlackFormattingDialog |
31 |
31 |
32 from . import BlackUtilities |
32 from . import BlackUtilities |
33 from .BlackDiffWidget import BlackDiffWidget |
33 from .BlackDiffWidget import BlackDiffWidget |
34 from .BlackFormattingAction import BlackFormattingAction |
34 from .BlackFormattingAction import BlackFormattingAction |
35 |
35 |
36 import Utilities |
36 from eric7 import Preferences, Utilities |
37 import Preferences |
|
38 |
37 |
39 |
38 |
40 class BlackFormattingDialog(QDialog, Ui_BlackFormattingDialog): |
39 class BlackFormattingDialog(QDialog, Ui_BlackFormattingDialog): |
41 """ |
40 """ |
42 Class implementing a dialog showing the code formatting progress and the result. |
41 Class implementing a dialog showing the code formatting progress and the result. |