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
Juraj Oravec
285346208e
Clazy: fix "arguments needs to be fully qualified"
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
3 years ago
Laurent Montel
5ce71aa6e1
Add missing override
4 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
ba459ba600
Use nullptr here too
4 years ago
Laurent Montel
d6c4035ff6
We depend against qt5.15
4 years ago
Laurent Montel
c6ad2708d4
use nullptr here
4 years ago
Allan Sandfeld Jensen
1413aba338
Clean nullptr usage
4 years ago
Juraj Oravec
d00d385ea6
Revert "Fix white flashes"
...
This reverts commit 4ebeb509b7 .
This commit is causing rendering errors as described in bugreport
https://bugs.kde.org/show_bug.cgi?id=426486
6 years ago
Alva Snædís
4ebeb509b7
Fix white flashes
6 years ago
Juraj Oravec
14719b3ec3
Port from deprecated QPalette::background() > QPalette::window()
...
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
6 years ago
Juraj Oravec
7f654409c5
webengine: port foreach -> range-based for
...
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
6 years ago
David Rosca
5e6f92f7bc
OcsSupport: Add initial support for downloading themes/extensions
7 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
b87ccf714c
Fix all override warnings
7 years ago
David Rosca
bf9b7667f7
Fix build with QtWebEngine < 5.11
7 years ago
David Rosca
b508ed2260
WebHitTestResult: Expect null href attribute
...
Patch by Eugene Shalygin
BUG: 404320
7 years ago
David Rosca
db9d506cf5
Add support for Navigator.registerProtocolHandler()
...
It is now possible to eg. register webmail to handle mailto:
links.
If a site asks to register protocol handler, it will be available
in site info widget (right click on web icon in location bar).
Requires QtWebEngine >= 5.11
BUG: 403183
FIXED-IN: 3.1.0
7 years ago
David Rosca
b9c4a92aef
Fix coding style
7 years ago
David Rosca
6678a98d91
WebHitTestResult: Trim value of src/href attributes
...
BUG: 403619
FIXED-IN: 3.1.0
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
David Rosca
25a6008e6d
WebPage: Fix scroll to anchor workaround to also look for element ids
...
BUG: 402836
FIXED-IN: 3.1.0
7 years ago
Laurent Montel
4de3e4c703
Fix some clazy warnings
7 years ago
David Rosca
7429d1d8ef
WebPage: Add basic support for client certificates
...
It will now always selects first available client certificate.
Requires QtWebEngine 5.12
7 years ago
David Rosca
38ea9974b4
Revert "Change minimum Qt version to 5.10"
...
This reverts commit 19cce0c838 .
7 years ago
David Rosca
5fd9cb92ee
Use QWebEnginePage::printRequested with QtWebEngine 5.12
7 years ago
David Rosca
19cce0c838
Change minimum Qt version to 5.10
7 years ago
David Rosca
cba7f32666
WebTab: Fix size of web inspector in splitter
...
BUG: 397596
FIXED-IN: 3.1.0
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
3787a606d3
Rewrite internal sites to use user scripts instead of embedded code
...
It is no longer needed to setup web channel on unsafe js world
for internal pages, and thus it fixes issue where registering web
channel could fail in some cases.
BUG: 391875
FIXED-IN: 3.0.1
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
1290354f14
Use QOverload::of instead of qOverload
...
Fixes build with MSVC
BUG: 393395
8 years ago