def open_url_in_browser(self, url): options = {'url':url} dialog = RaftBrowserDialog(self.framework, self, options) dialog.show() dialog.exec_()
def open_content_in_browser(self, url, body, mimetype = ''): options = {'url':url, 'body':body, 'mimetype':mimetype} dialog = RaftBrowserDialog(self.framework, self, options) dialog.show() dialog.exec_()
def launch_browser(self): dialog = RaftBrowserDialog(self.framework, self) dialog.show() dialog.exec_()