99 Public method to set the URL of the document to be shown. |
99 Public method to set the URL of the document to be shown. |
100 |
100 |
101 @param url URL of the document |
101 @param url URL of the document |
102 @type QUrl |
102 @type QUrl |
103 """ |
103 """ |
104 super().setUrl(url) |
104 if url.toString() == "about:blank": |
|
105 self.setHtml(self.__helpViewerWidget.emptyDocument()) |
|
106 else: |
|
107 super().setUrl(url) |
105 |
108 |
106 def link(self): |
109 def link(self): |
107 """ |
110 """ |
108 Public method to get the URL of the shown document. |
111 Public method to get the URL of the shown document. |
109 |
112 |