示例#1
0
    def showDateNoWaitDetails(self, data):
        QWebSettings.clearMemoryCaches()
        QWebSettings.clearIconDatabase()

        ViewGenerator.generate_css(data, self.app)
        ViewGenerator.generate_html(data)
        self.reload()
示例#2
0
    def showDataNoGeneration(self, data):
        QWebSettings.clearMemoryCaches()
        QWebSettings.clearIconDatabase()

        ViewGenerator.generate_css(data, self.app)
        ViewGenerator.generate_html(data)

        time.sleep(2)

        self.load(QtCore.QUrl('file:///'+os.getcwd()+"/generated_html/index.html"))