19 QHeaderView, |
19 QHeaderView, |
20 QTreeWidgetItem, |
20 QTreeWidgetItem, |
21 QApplication, |
21 QApplication, |
22 ) |
22 ) |
23 |
23 |
24 from EricWidgets import EricMessageBox |
24 from eric7.EricWidgets import EricMessageBox |
25 from EricWidgets.EricApplication import ericApp |
25 from eric7.EricWidgets.EricApplication import ericApp |
26 |
26 |
27 from .Ui_PyCoverageDialog import Ui_PyCoverageDialog |
27 from .Ui_PyCoverageDialog import Ui_PyCoverageDialog |
28 |
28 |
29 import Utilities |
29 from eric7 import Utilities |
30 from coverage import Coverage |
30 from coverage import Coverage |
31 from coverage.misc import CoverageException |
31 from coverage.misc import CoverageException |
32 |
32 |
33 |
33 |
34 class PyCoverageDialog(QDialog, Ui_PyCoverageDialog): |
34 class PyCoverageDialog(QDialog, Ui_PyCoverageDialog): |
415 @pyqtSlot() |
415 @pyqtSlot() |
416 def __lcovReport(self): |
416 def __lcovReport(self): |
417 """ |
417 """ |
418 Private slot to generate a LCOV report of the shown data. |
418 Private slot to generate a LCOV report of the shown data. |
419 """ |
419 """ |
420 from EricWidgets import EricPathPickerDialog |
420 from eric7.EricWidgets import EricPathPickerDialog |
421 from EricWidgets.EricPathPicker import EricPathPickerModes |
421 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
422 |
422 |
423 filename, ok = EricPathPickerDialog.getStrPath( |
423 filename, ok = EricPathPickerDialog.getStrPath( |
424 self, |
424 self, |
425 self.tr("LCOV Report"), |
425 self.tr("LCOV Report"), |
426 self.tr("Enter the path of the output file:"), |
426 self.tr("Enter the path of the output file:"), |