## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ## ############################################################################ import sys import os from PySide2 import QtGui import qtdemo_rc from displaywidget import DisplayWidget from displayshape import PanelShape from launcher import Launcher if __name__ == "__main__": # Make sure we run from the right directory. (I don't think this should be # necessary.) dir = os.path.dirname(__file__) if dir: os.chdir(dir) app = QtGui.QApplication(sys.argv) launcher = Launcher() if not launcher.setup(): sys.exit(1) launcher.show() sys.exit(app.exec_())