<table><tr><td style="">rjvbb updated this revision to Diff 20596.<br />rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8211" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Subclassing <tt style="background: #ebebeb; font-size: 13px;">StandardDocumentationView</tt> also makes it trivial to provide a tailored context menu in the QtHelp documentation plugin when using the QTextBrowser-based viewer. This one is based on the menu Qt's assistant provides, and allows to copy links.</p>

<p>I've included outline code showing how one could provide an option to open the displayed documentation in an external viewer directly; see <a href="https://phabricator.kde.org/D4484" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D4484</a>.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8211?vs=20575&id=20596" rel="noreferrer">https://phabricator.kde.org/D8211?vs=20575&id=20596</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8211" rel="noreferrer">https://phabricator.kde.org/D8211</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/documentation/CMakeLists.txt<br />
kdevplatform/documentation/standarddocumentationview.cpp<br />
kdevplatform/documentation/standarddocumentationview.h<br />
plugins/qthelp/CMakeLists.txt<br />
plugins/qthelp/qthelpdocumentation.cpp<br />
plugins/qthelp/qthelpdocumentation.h<br />
plugins/qthelp/tests/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>flherne, arichardson, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>