<table><tr><td style="">poboiko created this revision.<br />poboiko added a reviewer: dvratil.<br />Herald added a project: KDE PIM.<br />poboiko requested review of this revision.
</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/D29094">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When user Ctrl+Clicks on the link in the editing mode, emit the linkClicked signal<br />
(which is forwarded to corresponding slot inside <tt style="background: #ebebeb; font-size: 13px;">KJotsWidget</tt>).</p>

<p>We use <tt style="background: #ebebeb; font-size: 13px;">mousePressEvent</tt> instead of <tt style="background: #ebebeb; font-size: 13px;">mouseReleaseEvent</tt> to be able not to move the cursor<br />
when user ctrl+clicks on the link (so we override default <tt style="background: #ebebeb; font-size: 13px;">mousePressEvent</tt>, which moves it)</p>

<p>Add visual feedback when hovering the mouse over a link with ctrl pressed (override the cursor)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Add Link, Ctrl+Click on it -> mouse cursor changes, link opens</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R573 KJots</div></div></div><br /><div><strong>BRANCH</strong><div><div>edit-links (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29094">https://phabricator.kde.org/D29094</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kjotsedit.cpp<br />
src/kjotsedit.h<br />
src/kjotswidget.cpp</div></div></div><br /><div><strong>To: </strong>poboiko, dvratil<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>