def openWebsite(self): if not QtGui.QDesktopServices.openUrl( QtCore.QUrl('http://docs.gpilab.com')): QtWidgets.QMessageBox.information( self, 'Documentation', "Documentation can be found at\nhttp://docs.gpilab.com", QtWidgets.QMessageBox.Close)
def openLIBDIRSHelp(self): if not QtGui.QDesktopServices.openUrl(QtCore.QUrl('http://docs.gpilab.com/Configuration/#configuration-library-directories')): QtWidgets.QMessageBox.information(self, 'Documentation',"Documentation can be found at\nhttp://docs.gpilab.com", QtWidgets.QMessageBox.Close)