mirror of
https://github.com/PotentiaRobotics/base-station.git
synced 2025-04-08 14:20:17 -04:00
18 lines
376 B
Python
18 lines
376 B
Python
from PyQt5 import QtWidgets
|
|
from PyQt5.QtWidgets import QApplication, QMainWindow
|
|
import sys
|
|
|
|
def window():
|
|
app=QApplication(sys.argv)
|
|
win = QMainWindow()
|
|
win.setGeometry(200,200,800,800)
|
|
win.setWindowTitle("Main Interface")
|
|
|
|
label = QtWidgets.QLabel(win)
|
|
label.setText("Test")
|
|
label.move(100,100)
|
|
|
|
win.show()
|
|
sys.exit(app.exec())
|
|
|
|
window() |