From c8bc48e5d842e5e903319ea8b75be38d5002856f Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Mon, 3 Aug 2026 12:14:31 -0600 Subject: Removed floating control panel feature. Floating can make window disappear and no sidebar panel. Possible future implementation. --- main.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 56a5dab..b023b99 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,5 @@ """ -main.py — LabUI entry point. +main.py — LabDAQ entry point. Run: python main.py @@ -11,19 +11,13 @@ Requirements: import sys, os sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) -# Plugin dependencies installed at runtime land here so the frozen app can import them. -_PLUGIN_PACKAGES = os.path.join(os.path.expanduser("~"), ".labui", "plugin_packages") -if os.path.isdir(_PLUGIN_PACKAGES) and _PLUGIN_PACKAGES not in sys.path: - sys.path.insert(0, _PLUGIN_PACKAGES) - from PyQt6.QtWidgets import QApplication from ui.main_window import MainWindow def main(): app = QApplication(sys.argv) - app.setApplicationName("LabUI") - install_debug_log() # tee stdout/stderr for the Debug window, before anything prints + app.setApplicationName("LabDAQ") qss = os.path.join(os.path.dirname(os.path.abspath(__file__)), "ui", "style_dark.qss") if os.path.exists(qss): -- cgit v1.2.3