LiquidGUI [1.3.0.0]
- Unified Labels class to handle Linux and Windows.
This commit is contained in:
@@ -16,17 +16,15 @@ import common
|
||||
from MessageHandler import MessageHandler
|
||||
## Platform Imports #########################################
|
||||
import globals
|
||||
from sys_vitals_helper import SysVitals_Helper
|
||||
from sys_vitals_helper import SysVitals_Helper, Component
|
||||
from styles import Labels
|
||||
if globals.os == "Windows":
|
||||
from LiquidCTL_Helper_Windows import LiquidCTL_Helper
|
||||
from styles import Labels_Windows as Labels
|
||||
import win32mica # type: ignore
|
||||
import darkdetect # type: ignore
|
||||
elif globals.os == "Linux":
|
||||
from LiquidCTL_Helper_Linux import LiquidCTL_Helper
|
||||
from styles import Labels_Linux as Labels
|
||||
from pathlib import Path
|
||||
from sys_vitals_helper import SysVitals_Helper, Component
|
||||
|
||||
|
||||
|
||||
class MainWindow(QMainWindow):
|
||||
|
||||
Reference in New Issue
Block a user