Skip to content

menu

frog.gui.hardware_set.menu ¤

Provides a menu for working with hardware sets.

Classes¤

HardwareSetsMenu() ¤

Bases: QMenu

A menu for performing operations on hardware sets.

Create a new HardwareSetsMenu.

Source code in src/frog/gui/hardware_set/menu.py
16
17
18
19
20
21
22
def __init__(self) -> None:
    """Create a new HardwareSetsMenu."""
    super().__init__("Devices")

    import_action = QAction("Import from file", self)
    import_action.triggered.connect(self._import_hardware_set)
    self.addAction(import_action)
Functions¤

Functions¤