Beispiel #1
0
    #     self.close()

    # def closeEvent(self, ce):
    #     self.fileQuit()

    def about(self):
        QMessageBox.about(
            self, "About", """embedding_in_qt5.py example
        Copyright 2015 BoxControL

        This program is a simple example of a Qt5 application embedding matplotlib
        canvases. It is base on example from matplolib documentation, and initially was
        developed from Florent Rougon and Darren Dale.

        http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html

        It may be used and modified with no restriction; raw copies as well as
        modified versions may be distributed without limitation.
        """)


if __name__ == '__main__':
    app = QApplication(sys.argv)
    outputs = parameters.Outputs()
    gs = parameters.GS()
    outjson = 'output.json'
    Func.LoadJson(outjson, outputs, gs)
    aw = ApplicationWindow(gs)
    aw.show()
    #sys.exit(qApp.exec_())
    app.exec_()