57de32b172
Fixes 25 remaining manual lint errors after auto-fix pass (94 auto-fixed earlier): - GUI_V6.py: noqa on availability imports, bare except, unused vars, F811 redefs - GUI_V6_Demo.py: unused app variable - v7/models.py: noqa F401 on 8 try/except availability-check imports - FPGA cosim: unused header/status/span vars, ambiguous 'l' renamed to 'line', E701 while-on-one-line split, F841 padding vars annotated Also adds v7/ module, GUI_PyQt_Map.py, and GUI_V7_PyQt.py to version control. Expands CI lint job to cover all 21 maintained Python files (was 4). All 58 Python tests pass. Zero ruff errors on all target files.
41 lines
781 B
Python
41 lines
781 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
PLFM Radar System GUI V7 — PyQt6 Edition
|
|
|
|
Entry point. Launches the RadarDashboard main window.
|
|
|
|
Usage:
|
|
python GUI_V7_PyQt.py
|
|
"""
|
|
|
|
import sys
|
|
import logging
|
|
|
|
from PyQt6.QtWidgets import QApplication
|
|
from PyQt6.QtGui import QFont
|
|
|
|
from v7 import RadarDashboard
|
|
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format="%(asctime)s %(levelname)-8s %(name)s %(message)s",
|
|
)
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def main():
|
|
app = QApplication(sys.argv)
|
|
app.setApplicationName("PLFM Radar System V7")
|
|
app.setApplicationVersion("7.0.0")
|
|
app.setFont(QFont("Segoe UI", 10))
|
|
|
|
window = RadarDashboard()
|
|
window.show()
|
|
|
|
logger.info("PLFM Radar GUI V7 started")
|
|
sys.exit(app.exec())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|