ayon-core/pype/tools/settings/__main__.py
2020-09-15 15:19:38 +02:00

18 lines
430 B
Python

import sys
import settings
from Qt import QtWidgets, QtGui
if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
stylesheet = settings.style.load_stylesheet()
app.setStyleSheet(stylesheet)
app.setWindowIcon(QtGui.QIcon(settings.style.app_icon_path()))
develop = "-d" in sys.argv or "--develop" in sys.argv
widget = settings.MainWidget(develop)
widget.show()
sys.exit(app.exec_())