Files
dragonpilot/scripts/pyqt_demo.py
Comma Device 5c73e264e9 Release 260308
2026-03-08 23:26:57 +08:00

15 lines
352 B
Python
Executable File

#!/usr/bin/env python3
from PyQt5.QtWidgets import QApplication, QLabel # pylint: disable=no-name-in-module, import-error
from openpilot.selfdrive.ui.qt.python_helpers import set_main_window
if __name__ == "__main__":
app = QApplication([])
label = QLabel('Hello World!')
# Set full screen and rotate
set_main_window(label)
app.exec_()