# Path: src/controllers/utils.py
# def registerContext(func):
#     def wrapper(*args, **kwargs):
# def registerObj(name, obj):
# def duration_to_string(value, default="00:00", i=1000):
# def openLocalUrl(url):


import os
import sys
from PyQt5.QtCore import (QObject, pyqtSignal, pyqtSlot, pyqtProperty, QUrl)
from .utils import registerContext, contexts
    lrcBackHalfSecond = pyqtSignal()
    lrcForwardHarfSecond = pyqtSignal()
    lrcThemeChanged = pyqtSignal()
    showLrcSingleLine = pyqtSignal()
    showLrcDoubleLine = pyqtSignal()
    kalaokChanged = pyqtSignal()
    locked = pyqtSignal()
    unlocked = pyqtSignal()
    lrcSetting = pyqtSignal()
    lrcSearch = pyqtSignal()
    lrcClosed = pyqtSignal()

    # window manager
    simpleFullToggle = pyqtSignal()
    miniFullToggle = pyqtSignal()
    fullMode = pyqtSignal()
    simpleMode = pyqtSignal()
    miniMode = pyqtSignal()

    hideShowWindowToggle = pyqtSignal()
    hideShowDesktopLrcToggle = pyqtSignal()

    # SystemTray
    systemTrayContext = pyqtSignal()

    #information Dialog show
    informationDialogShowed = pyqtSignal(dict)

    exited = pyqtSignal()


# Path: src/controllers/utils.py
# def registerContext(func):
#     def wrapper(*args, **kwargs):
# def registerObj(name, obj):
# def duration_to_string(value, default="00:00", i=1000):
# def openLocalUrl(url):


# Path: src/controllers/signalmanager.py
import os
import sys
from PyQt5.QtCore import (QObject, pyqtSignal, pyqtSlot, pyqtProperty, QUrl)
from .utils import registerContext, contexts

    lrcBackHalfSecond = pyqtSignal()
    lrcForwardHarfSecond = pyqtSignal()
    lrcThemeChanged = pyqtSignal()
    showLrcSingleLine = pyqtSignal()
    showLrcDoubleLine = pyqtSignal()
    kalaokChanged = pyqtSignal()
    locked = pyqtSignal()
    unlocked = pyqtSignal()
    lrcSetting = pyqtSignal()
    lrcSearch = pyqtSignal()
    lrcClosed = pyqtSignal()

    # window manager
    simpleFullToggle = pyqtSignal()
    miniFullToggle = pyqtSignal()
    fullMode = pyqtSignal()
    simpleMode = pyqtSignal()
    miniMode = pyqtSignal()

    hideShowWindowToggle = pyqtSignal()
    hideShowDesktopLrcToggle = pyqtSignal()

    # SystemTray
    systemTrayContext = pyqtSignal()

    #information Dialog show
    informationDialogShowed = pyqtSignal(dict)

    exited = pyqtSignal()


    @registerContext