0e25b116cb
SearchBar - Show number of matches found on page search
...
Summary: BUG: 395429
Test Plan: Open searchbar on webpage and type some text which is present on the page
Reviewers: #falkon, drosca
Reviewed By: #falkon, drosca
Subscribers: drosca, falkon
Tags: #falkon
Differential Revision: https://phabricator.kde.org/D27095
2020-02-15 15:32:32 +01:00
David Rosca
63aa4028a4
SearchToolBar: Remove warning message that no results were found
2019-03-22 14:01:20 +01:00
Carl Schwan
9601e8ad34
Use a searchbar similar to the one in okular
...
Summary: {F6674717}
Reviewers: #falkon, #vdg, drosca
Reviewed By: #falkon, drosca
Subscribers: drosca, loh.tar, SGOrava, falkon
Tags: #falkon
Differential Revision: https://phabricator.kde.org/D19625
2019-03-14 13:56:40 +01:00
David Rosca
b87ccf714c
Fix all override warnings
2019-03-01 17:08:50 +01:00
Laurent Montel
ec8217035f
Remove deprecated method
2019-03-01 08:49:55 +01:00
David Rosca
a237c8ff87
SearchToolBar: Add Shift+Enter shortcut to find previous
...
BUG: 402989
FIXED-IN: 3.1.0
2019-01-24 15:53:59 +01:00
Laurent Montel
4c9d503699
Const'ify
2019-01-11 07:40:51 +01:00
Laurent Montel
4de3e4c703
Fix some clazy warnings
2019-01-08 13:28:02 +01:00
David Rosca
cba7f32666
WebTab: Fix size of web inspector in splitter
...
BUG: 397596
FIXED-IN: 3.1.0
2018-12-24 20:58:05 +01:00
David Rosca
51eb65ecec
SearchToolBar: Ignore old search callbacks
...
BUG: 401343
FIXED-IN: 3.1.0
2018-12-24 14:05:29 +01:00
David Rosca
7fce81feaa
Merge branch 'Falkon/3.0'
2018-05-03 13:42:10 +02:00
David Rosca
9375b474ba
BrowserWindow: Track webview that initiated html fullscreen
...
Fixes issue where it wouldn't be possible to leave fullscreen
with F11 shortcut after closing webview that was in html fullscreen.
BUG: 393797
FIXED-IN: 3.0.1
2018-05-03 13:41:55 +02:00
David Rosca
162f09901d
Merge branch 'Falkon/3.0'
2018-03-25 09:13:44 +02:00
David Rosca
ba3563362d
TabIcon: Avoid infinite loop when trying to change size from resize event
...
Instead call updateIcon delayed after setting tab button which achieves
resizing TabIcon to correct size too.
Fixes high cpu load from last commit.
2018-03-25 09:09:58 +02:00
David Rosca
9ee1fc9c59
Merge branch 'Falkon/3.0'
2018-03-24 21:47:53 +01:00
David Rosca
bf0043e16c
Export WebTab::SavedTab
2018-03-23 12:09:21 +01:00
David Rosca
f80b0bcbb5
Merge branch 'Falkon/3.0'
2018-03-17 13:58:46 +01:00
David Rosca
dc131ddfee
NavigationBar: Fix syncing back/forward buttons state with web history
...
BUG: 391331
FIXED-IN: 3.0.1
2018-03-17 13:55:35 +01:00
Julian Wolff
d708fea839
Use selected text in searchToolBar
...
Summary:
With this patch, the currently selected text in a webpage is automatically inserted into the
searchToolBar when it is opened.
This matches the behaviour of the search tool bar in Kate.
Test Plan:
Open a webpage. Select a single line of text. Press Ctrl+F. The selected text is inserted into the
searchToolBar.
Reviewers: #falkon, drosca
Reviewed By: #falkon, drosca
Subscribers: drosca
Differential Revision: https://phabricator.kde.org/D11210
2018-03-10 15:05:37 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS
2018-02-25 13:33:07 +01:00
Anmol Gautam
c67a32a845
fixed drop url over unrestored tabs ( #2604 )
2018-02-12 22:13:19 +01:00
David Rosca
315218db9d
TabModel: Add BackgroundActivityRole
2018-02-11 16:20:57 +01:00
David Rosca
1ff43ec6d8
WebTab: Raise notifications instead of clearing parent
2018-02-07 11:23:32 +01:00
David Rosca
41b6ae21cd
WebTab: Return requestedUrl when url is empty
2018-02-06 17:40:35 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
...
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
9eccf4fae3
TabModel: Rework drag&drop logic
...
Use QMimeData subclass to safely pass pointers.
Only allow to drop one tab at a time and disable drop action
when not possible. Allow to move tabs to other windows, with the
exception of tabs with children.
2018-02-04 17:23:06 +01:00
David Rosca
095e0ff517
WebTab: Add sessionData property
2018-02-04 17:21:57 +01:00
David Rosca
e6b220a87a
WebTab: Add option to prepend child tabs instead of appending
2018-02-04 17:20:00 +01:00
David Rosca
e9f3679bb1
TabTreeModel: Sync top-level tabs with main tabbar
...
This way the order of top-level tabs is also preserved in session.
2018-02-04 17:18:23 +01:00
David Rosca
af95dd14e2
WebTab: Fix updating isCurrentTab in attach
2018-02-04 16:59:23 +01:00
David Rosca
01c5397fef
WebTab: Don't set "Loading..." tab text
...
Instead improve page title from url when title is empty
2018-02-04 16:58:18 +01:00
David Rosca
29735b24c8
WebTab: Add makeCurrentTab and closeTab methods
2018-02-04 16:58:01 +01:00
David Rosca
188082b690
TabModel: Add AudioPlayingRole and AudioMutedRole
2018-02-04 16:56:04 +01:00
David Rosca
85def54d3c
WebTab: Preserve order of child tabs in session file
2018-01-31 21:05:30 +01:00
David Rosca
4bb75de25c
WebTab: Fix removing from existing parent in addChildTab
2018-01-31 21:05:21 +01:00
David Rosca
fa19d97dc4
WebTab: Don't add pinned tabs to tab tree
2018-01-31 21:03:11 +01:00
David Rosca
e57fb65c95
Add TabTreeModel
...
This model orders tabs in "Tree Style Tabs" fashion.
2018-01-31 21:03:06 +01:00
David Rosca
57b605e4e0
TabModel: add CurrentTabRole and LoadingRole
2018-01-31 21:01:36 +01:00
David Rosca
2b994920ad
WebTab: Fix detaching completer and site icon
...
Fixes crash when detaching tab and closing the originating window.
2018-01-31 20:59:32 +01:00
David Rosca
67973d704d
WebTab: Add addChildTab method
...
Also fix detaching from parent/child tabs and add autotest.
2018-01-31 20:58:36 +01:00
David Rosca
1b473ac580
Detach WebTab when removing tab
...
That way tab is removed from parent and children before
it is removed from tabbar.
2018-01-31 20:56:48 +01:00
David Rosca
8fe53f1c2c
WebTab: Correctly reparent children in destructor
2018-01-31 20:55:52 +01:00
David Rosca
61299c89b6
WebTab: Save parent tab index in session file
2018-01-31 20:55:35 +01:00
David Rosca
5b7653188b
Track parent tab for WebTab when opening new tabs
2018-01-31 20:55:25 +01:00
David Rosca
e44877d4c7
WebTab: Add parentTab and childTabs properties
2018-01-31 20:54:59 +01:00
David Rosca
2377503517
Add TabModel
2018-01-31 20:54:50 +01:00
David Rosca
2d01a6d092
WebTab: Set new WebPage when unloading tab
...
This way it is not needed to have special handling for unloading
in WebTab and it also kills the QtWebEngineProcess entirely.
2018-01-28 22:40:17 +01:00
David Rosca
9b3f56093e
TabbedWebView: Rename setWebPage -> setPage
...
Fixes hovered links not being shown in statusbar for target=_blank
tabs as WebPage is setting new page of webview with setPage.
2018-01-28 22:40:04 +01:00
David Rosca
444884bee9
Rename StatusBarMessage -> StatusBar
2018-01-24 20:36:34 +01:00
David Rosca
ba75905134
TabContextMenu: Add Unload Tab action
...
Closes #2563
2018-01-24 15:15:03 +01:00