Пример #1
0
 def open_url_in_browser(self, url):
     options = {'url':url}
     dialog = RaftBrowserDialog(self.framework, self, options)
     dialog.show()
     dialog.exec_()
Пример #2
0
 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_()
Пример #3
0
 def launch_browser(self):
     dialog = RaftBrowserDialog(self.framework, self)
     dialog.show()
     dialog.exec_()