Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
moesnow committed Mar 6, 2024
1 parent 5914eaa commit 427814f
Show file tree
Hide file tree
Showing 76 changed files with 520 additions and 3,788 deletions.
2 changes: 1 addition & 1 deletion app/card/comboboxsettingcard1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon

from managers.config_manager import config
from managers.config import config


class ComboBoxSettingCard1(SettingCard):
Expand Down
2 changes: 1 addition & 1 deletion app/card/comboboxsettingcard2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon

from managers.config_manager import config
from managers.config import config


class ComboBoxSettingCard2(SettingCard):
Expand Down
2 changes: 1 addition & 1 deletion app/card/pushsettingcard1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from PyQt5.QtWidgets import QPushButton
from qfluentwidgets import SettingCard, FluentIconBase
from .messagebox_custom import MessageBoxEdit, MessageBoxDate, MessageBoxInstance, MessageBoxTeam
from managers.config_manager import config
from managers.config import config
from typing import Union
import datetime
import json
Expand Down
2 changes: 1 addition & 1 deletion app/card/rangesettingcard1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from PyQt5.QtWidgets import (QFrame, QHBoxLayout, QLabel, QToolButton, QVBoxLayout, QPushButton)
from qfluentwidgets import (SettingCard, FluentIconBase, SwitchButton, IndicatorPosition, Slider)

from managers.config_manager import config
from managers.config import config


class RangeSettingCard1(SettingCard):
Expand Down
2 changes: 1 addition & 1 deletion app/card/samplecardview1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from qfluentwidgets import FluentIcon as FIF
from ..common.signal_bus import signalBus
from ..common.style_sheet import StyleSheet
from managers.config_manager import config
from managers.config import config

from tasks.base.tasks import start_task
from ..tools.disclaimer import disclaimer
Expand Down
2 changes: 1 addition & 1 deletion app/card/switchsettingcard1.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from PyQt5.QtCore import Qt, pyqtSignal
from PyQt5.QtGui import QIcon

from managers.config_manager import config
from managers.config import config


class SwitchSettingCard1(SettingCard):
Expand Down
2 changes: 1 addition & 1 deletion app/home_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .components.link_card import LinkCardView
from .card.samplecardview1 import SampleCardView1

from managers.config_manager import config
from managers.config import config

from PIL import Image
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion app/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .tools.check_update import checkUpdate
from .tools.disclaimer import disclaimer

from managers.config_manager import config
from managers.config import config
from utils.gamecontroller import GameController
import base64

Expand Down
2 changes: 1 addition & 1 deletion app/setting_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .card.switchsettingcard1 import SwitchSettingCard1
from .card.rangesettingcard1 import RangeSettingCard1
from .card.pushsettingcard1 import PushSettingCardInstance, PushSettingCardEval, PushSettingCardDate, PushSettingCardKey, PushSettingCardTeam
from managers.config_manager import config
from managers.config import config
from tasks.base.tasks import start_task
from .tools.check_update import checkUpdate
import os
Expand Down
2 changes: 1 addition & 1 deletion app/tools/check_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from ..card.messagebox_custom import MessageBoxUpdate
from tasks.base.fastest_mirror import FastestMirror
from managers.config_manager import config
from managers.config import config

from packaging.version import parse
from enum import Enum
Expand Down
2 changes: 1 addition & 1 deletion app/tools/disclaimer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from PyQt5.QtCore import Qt
from qfluentwidgets import InfoBar, InfoBarPosition
from ..card.messagebox_custom import MessageBoxDisclaimer
from managers.config_manager import config
from managers.config import config
import markdown
import base64
import time
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 427814f

Please sign in to comment.