mirror of
https://github.com/UN-GCPDS/qt-material.git
synced 2025-01-20 16:52:55 +08:00
17 lines
360 B
Python
17 lines
360 B
Python
|
import sys
|
||
|
from PySide6 import QtWidgets
|
||
|
# from PySide2 import QtWidgets
|
||
|
# from PyQt5 import QtWidgets
|
||
|
from qt_material import apply_stylesheet
|
||
|
|
||
|
# create the application and the main window
|
||
|
app = QtWidgets.QApplication(sys.argv)
|
||
|
window = QtWidgets.QMainWindow()
|
||
|
|
||
|
# setup stylesheet
|
||
|
apply_stylesheet(app, theme='dark_teal.xml')
|
||
|
|
||
|
# run
|
||
|
window.show()
|
||
|
app.exec_()
|