# Built-in imports.
from typing import Callable

# Third-party package imports.
from PyQt5.QtGui import QIcon


class QActionProperties(object):
    """Class to hold QAction properties."""

    def __init__(self, name: str, icon: QIcon, text: str, shortcut: str, status_tip: str, triggered: Callable):
        self.name = name
        self.icon = icon
        self.text = text
        self.shortcut = shortcut
        self.status_tip = status_tip
        self.triggered = triggered

# Built-in imports.
from typing import Callable

# Third-party package imports.
from PyQt5.QtGui import QIcon


class QActionProperties(object):
    """Class to hold QAction properties."""

    def __init__(self, name: str, icon: QIcon, text: str, shortcut: str, status_tip: str, triggered: Callable):
        self.name = name
        self.icon = icon
        self.text = text
        self.shortcut = shortcut
        self.status_tip = status_tip
        self.triggered = triggered

# Built-in imports. # Third-party package imports. Class to hold QAction properties.