• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LCA-ActivityBrowser / activity-browser / 10317099925

09 Aug 2024 09:38AM UTC coverage: 54.35% (-0.02%) from 54.367%
10317099925

push

github

web-flow
Added Open Impact Category to Calculation Setup screen (#1338)

17 of 25 new or added lines in 4 files covered. (68.0%)

7 existing lines in 2 files now uncovered.

8283 of 15240 relevant lines covered (54.35%)

0.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.33
/activity_browser/actions/method/method_open.py
1
from typing import List
1✔
2

3
from PySide2 import QtWidgets, QtCore
1✔
4

5
from activity_browser import signals
1✔
6
from activity_browser.actions.base import ABAction, exception_dialogs
1✔
7
from activity_browser.ui.icons import qicons
1✔
8

9

10
class MethodOpen(ABAction):
1✔
11
    """
12
    ABAction to open one or more supplied methods in a method tab by employing signals.
13

14
    TODO: move away from using signals like this. Probably add a method to the MainWindow to add a panel instead.
15
    """
16

17
    icon = qicons.right
1✔
18
    text = "Open Impact Category"
1✔
19

20
    @staticmethod
1✔
21
    @exception_dialogs
1✔
22
    def run(method_names: List[tuple]):
1✔
NEW
23
        QtWidgets.QApplication.setOverrideCursor(QtCore.Qt.WaitCursor)
×
NEW
24
        for method_name in method_names:
×
NEW
25
            signals.method_selected.emit(method_name)
×
NEW
26
        QtWidgets.QApplication.restoreOverrideCursor()
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc