Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6d7403ff authored by Renato Araujo Oliveira Filho's avatar Renato Araujo Oliveira Filho Committed by Albert Astals Cid

Interact with hyperlinks in TextSelect mode

Allow user to click on url while on any selection mode

Based on https://git.reviewboard.kde.org/r/124961/ by Jake Linder <JakeLinder@mail.com>

Includes several autotests to try to minimize possible regressions as much as possible

BUGS: 318078
REVIEW: 130246
parent 72abe6f8
This diff is collapsed.
This diff is collapsed.
......@@ -188,12 +188,16 @@ Q_OBJECT
void updatePageStep();
void addWebShortcutsMenu( QMenu * menu, const QString & text );
QMenu* createProcessLinkMenu( PageViewItem *item, const QPoint & eventPos );
// used when selecting stuff, makes the view scroll as necessary to keep the mouse inside the view
void scrollPosIntoView( const QPoint & pos );
// called from slots to turn off trim modes mutually exclusive to id
void updateTrimMode( int except_id );
// handle link clicked
bool mouseReleaseOverLink( const Okular::ObjectRect * rect ) const;
// don't want to expose classes in here
class PageViewPrivate * d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment