71 Public method to set the URL of the document to be shown. |
71 Public method to set the URL of the document to be shown. |
72 |
72 |
73 @param url source of the document |
73 @param url source of the document |
74 @type QUrl |
74 @type QUrl |
75 """ |
75 """ |
76 self.setSource(url) |
76 if url.toString() == "about:blank": |
|
77 self.setHtml(self.__helpViewerWidget.emptyDocument()) |
|
78 else: |
|
79 self.setSource(url) |
77 |
80 |
78 def link(self): |
81 def link(self): |
79 """ |
82 """ |
80 Public method to get the URL of the shown document. |
83 Public method to get the URL of the shown document. |
81 |
84 |