Beispiel #1
0
class HelpViewDialog(QtGui.QDialog):
    def __init__(self, startimage=None):
        QtGui.QDialog.__init__(self)
        self.ui = Ui_HelpViewer()
        self.ui.setupUi(self)
        
    def loadFile(self, htmlfile):
        self.ui.webView.load(QtCore.QUrl.fromLocalFile(htmlfile))
Beispiel #2
0
 def __init__(self, startimage=None):
     QtGui.QDialog.__init__(self)
     self.ui = Ui_HelpViewer()
     self.ui.setupUi(self)