Jacopo De Simoi
5d16bea0d4
Tarmak-2 marker keys
3 years ago
Jacopo De Simoi
ceeb8ad2e6
Do not trigger markers with modifiers
3 years ago
Jacopo De Simoi
8824ac3a1e
Steal keypresses when markers are active.
...
Do not propagate keypresses to view when the markers are active.
3 years ago
Jacopo De Simoi
9f8133299a
Reset the label when the markers disappear
...
This should really be made into a slot.
3 years ago
Jacopo De Simoi
9608654b89
Move marker handling to keypress
...
This is done to avoid clashes with other key handling
routines (e.g. writing in a form)
There are still issues with (e.g.) pages entirely made of forms so
that the key would never be handled by us. This will only get clearer
by eating the dog food in real life.
3 years ago
Jacopo De Simoi
873e7ac5ee
Put in a working implementation
...
This has some issues:
- no feedback
- it shows up even when the keys should be captured by some lineedits
3 years ago
Jacopo De Simoi
2c070b0b0f
Clear link markers when scrolling or resizing
3 years ago
Jacopo De Simoi
0b982ab788
Use show/hide in methods
...
This is the usual wording in Qt
3 years ago
Jacopo De Simoi
58ab781083
Add method to cleanup link markers
...
This is mostly for testing purposes; we need to clear them on scroll,
move, and other things that cause trouble
3 years ago
Jacopo De Simoi
e5b1ef6559
Load markers and test
3 years ago
Jacopo De Simoi
1bce476a2b
Zoom in with = too
3 years ago
Jacopo De Simoi
05288a5f93
Zoom in/out with Plus and Minus
3 years ago
Juraj Oravec
80bd47ef46
Port away from many deprecated things
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
3 years ago
Laurent Montel
424340e392
Use Q_EMIT/nullptr/fix gcc warning
4 years ago
Laurent Montel
3fa1e81105
Modernize code
4 years ago
Laurent Montel
d6c4035ff6
We depend against qt5.15
4 years ago
Juraj Oravec
7f654409c5
webengine: port foreach -> range-based for
...
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
6 years ago
Anmol Gautam
a154ef5480
fix context menu on falkon:speeddial
...
Summary: Function addSpeedDial and others are not in scope so they didn't worked when called via javascript. So, I have removed the anonymous function which is wrapping those functions.
Reviewers: drosca
Reviewed By: drosca
Subscribers: falkon
Tags: #falkon
Differential Revision: https://phabricator.kde.org/D19564
7 years ago
David Rosca
b9c4a92aef
Fix coding style
7 years ago
David Rosca
0bb78c8501
WebView: Use Qt::Back/ForwardButton instead of XButton1/2
7 years ago
David Rosca
ab43af9958
WebView: Fix detecting rwhvqt change with QtWebEngine 5.12
...
BUG: 402805
FIXED-IN: 3.1.0
7 years ago
Laurent Montel
4de3e4c703
Fix some clazy warnings
7 years ago
David Rosca
38ea9974b4
Revert "Change minimum Qt version to 5.10"
...
This reverts commit 19cce0c838 .
7 years ago
David Rosca
19cce0c838
Change minimum Qt version to 5.10
7 years ago
David Rosca
d25c34901c
Use QTWEBENGINEWIDGETS_VERSION for determining QtWebEngine version
7 years ago
David Rosca
9f0f688ee8
Use QTWEBENGINE_VERSION instead of QT_VERSION
...
Fixes build against separate QtWebEngine releases.
8 years ago
David Rosca
42f70c5252
Add missing config.h include for HAVE_QTWEBENGINE_5_10 define
8 years ago
David Rosca
148d2d94c1
Use QTWEBENGINE_VERSION instead of QT_VERSION
...
Allows to build against separate QtWebEngine releases.
8 years ago
Kevin Kofler
d06a0d60e0
Fix the fix for #391300 to require only QtWebEngine 5.10, not Qt 5.10
...
QtWebEngine can be newer than the rest of Qt (e.g., on Fedora 27).
This fixes the version check in WebView::savePageAs to use a macro
defined in config.h.cmake based on the version of QtWebEngineWidgets
rather than relying on QT_VERSION, which is the version of QtCore.
Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D12833
CCBUG: 391300
8 years ago
David Rosca
ad2466f2fa
WebView: Fix finding correct rwhvqt
...
Focus proxy is actually set only after adding it to the layout, so without
the timer it would pick old rwhvqt.
BUG: 393398
8 years ago
David Rosca
9f0817ca71
WebView: Fix finding rwhvqt with QtWebEngine 5.11
8 years ago
David Rosca
1d74b41420
WebView: Don't prevent tabbing out of webview with QtWebEngine 5.11
...
QTBUG-67043 which caused losing focus is now fixed.
8 years ago
David Rosca
93af3896ee
WebView: Use direct url download when contents is not web page
...
Directly download file when contents is not a web page, eg. image,
text file, video, ...
Requires building against QtWebEngine 5.10.
CCBUG: 391300
8 years ago
David Rosca
d7dc9ba9f6
WebView: Don't show "Show image" action when showing image
8 years ago
David Rosca
954cfeefd6
WebView: Only show source code action on supported schemes
8 years ago
David Rosca
674a0e78f6
WebView: Workaround QtWebEngine issue where webview loses focus
8 years ago
David Rosca
84dd402de5
WebView: Don't clear history when navigatin from speed dial
...
QWebEngineView loses focus when clearing history, so when opening
new tab with speed dial and navigating to other page from location bar
it would give focus back to location bar.
BUG: 391228
FIXED-IN: 3.0.1
8 years ago
David Rosca
5d4333a3e4
WebView: Remove translate, dictionary and validate actions
...
They should be moved into extension instead.
BUG: 391204
FIXED-IN: 3.1.0
8 years ago
David Rosca
4d2f02ac45
Remove option to change language on per-profile basis
...
System locale is now always used.
8 years ago
David Rosca
a89a9a8ddc
WebView: Add support for changing default background color
...
BUG: 390316
8 years ago
David Rosca
97a1765b6c
Emit webPageDeleted only from WebView
...
Closes #2582
8 years ago
David Rosca
dd30a1bc72
WebView: Disable setForceContextMenuOnMouseRelease on Windows
...
Windows open context menu on mouse release by default.
8 years ago
David Rosca
78cb4f6509
WebView: Immediately delete old page in setPage
8 years ago
Anmol Gautam
5152e514a0
Printing to PDF with the page title
8 years ago
David Rosca
01c5397fef
WebTab: Don't set "Loading..." tab text
...
Instead improve page title from url when title is empty
8 years ago
David Rosca
33b2f0f908
WebView: Try requestedUrl when url is empty in title()
8 years ago
David Rosca
f36799a8da
WebView: Correctly transfer loading signals when changing page
8 years ago
David Rosca
2e7436c741
LocationBar: Handle url/search resolution in loadAction instead of WebView::load
8 years ago
David Rosca
087c98343e
Remove compatibility code with Qt older than 5.9
8 years ago
David Rosca
4f0c30c5c7
Add support for window.print()
...
Closes #2509
8 years ago