Logo
Explore Help
Register Sign In
sadmen
/
dragonpilot
mirror of https://github.com/dragonpilot-community/dragonpilot.git
1
0
Fork
You've already forked dragonpilot
0
Code Issues 6 Packages Projects Releases Wiki Activity
dragonpilot - 基於 openpilot 的開源駕駛輔助系統
11291 Commits
42 Branches
64 Tags
7.0 GiB
Tree: adb04b5dc5
dragonpilot/scripts/pyqt_demo.py

15 lines
301 B
Raw Normal View History Unescape Escape

PyQt demo app (#21625) * build python helpers lib * call setMainWindow from python * put in helper lib * linter * move to scripts
4 years ago
#!/usr/bin/env python3
Linter: remove pylint (#29611) remove pylint
2 years ago
from PyQt5.QtWidgets import QApplication, QLabel
add openpilot prefix to imports (#29498) * add openpilot prefix to imports * more * more * fix docs * fix linter * bump submodules * fix patched tests * update dynamic imports * debug * Revert "debug" This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b. * fix pm test
2 years ago
from openpilot.selfdrive.ui.qt.python_helpers import set_main_window
PyQt demo app (#21625) * build python helpers lib * call setMainWindow from python * put in helper lib * linter * move to scripts
4 years ago
if __name__ == "__main__":
app = QApplication([])
label = QLabel('Hello World!')
# Set full screen and rotate
set_main_window(label)
app.exec_()
Powered by Gitea Version: 1.17.1 Page: 213ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website