def display_constants(self): #msgbox = dialog.Dialog() msgbox = Popup() constants = main.return_constants() msgbox.QWebView.setContent( show_constants(constants) ) msgbox.show() msgbox.app.exec_()
def display_functions(self): msgbox = Popup() constants = main.return_constants() msgbox.QWebView.setHtml( functions() ) msgbox.show() msgbox.app.exec_()