def showSSHConnect(self): self.view.close() qApp.instance().view.showInformationMessage( "Check resources availability", "Please, check resources of the cluster availability \ in order to select the best queue" ) web = MSWebBrowser(self.plateformSite, parent=qApp.instance().view) qApp.instance().view.addMdiSubWindow(web) return SSHHandle(self, parent=self.view).show()
def showDocumentation(self): """API pySpec""" web = MSWebBrowser(parent=self.view) web.load("doc/class-tree.html") self.view.addMdiSubWindow(web)
def launchWebNavigator(self): """launch Webyo""" #import webbrowser #webbrowser.open("http://www.google.com") web = MSWebBrowser(parent=self.view) self.view.addMdiSubWindow(web)
def launchCytoscape(self): """show the example for the moment""" web = MSWebBrowser(parent=self.view) web.load_cytoscape() self.view.addMdiSubWindow(web)