1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 18:22:10 +02:00
Commit Graph

63 Commits

Author SHA1 Message Date
Vlad
9ae6c12a3c Show navigation in new tab in fullscreen mode (#2055) 2016-08-15 14:24:35 +02:00
David Rosca
648090d167 Fix warning about converting double to int 2016-08-15 14:24:27 +02:00
David Rosca
4cb62b73fb TabBar: Don't calculate tabSizeHint only when window is invisible
Fixes issue with tabbar sometimes having 1px height when leaving fullscreen.

Closes #1967
2016-07-10 16:34:05 +02:00
David Rosca
f93ea0e199 Fix use of deprecated QStyleOptions 2016-04-24 10:49:54 +02:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
Vladislav Tronko
3f3f9eb428 Fix tabwidget signals connect 2016-02-15 20:34:20 +02:00
David Rosca
3e3da5909d TabIcon: Don't delay start of loading animation 2016-02-14 11:17:36 +01:00
David Rosca
779292713f ComboTabBar: Add small space between pinned and main tabbar 2016-01-31 12:37:02 +01:00
David Rosca
732e0ec94e TabIcon: Fix rendering for Qt 5.6 HighDPI 2016-01-27 12:26:30 +01:00
David Rosca
ac792de566 TabBar: Improve logic to calculate pinned tab width 2016-01-25 13:33:05 +01:00
David Rosca
ace8c9702b TabIcon: Set the same size as close button
Some styles calculates the height of tabs from displayed tab buttons,
so if the close tab is not visible, it would render the tabs smaller.
2016-01-25 12:51:05 +01:00
David Rosca
f9359da446 Fix some warnings when starting with new profile 2016-01-24 16:37:31 +01:00
innermous
5801ff0725 WebTab: Save/Restore zoom level on restart 2015-12-17 22:21:31 +01:00
David Rosca
fb4782dab2 ComboTabBar: Event handling cleanup 2015-11-06 18:12:48 +01:00
David Rosca
83b7f8f441 ComboTabBar: Call ensureVisible() in resize event 2015-11-06 18:10:02 +01:00
David Rosca
35fd959315 HighDpi: Save site icons to database with 32x32px size 2015-10-24 12:50:42 +02:00
David Rosca
374af4277a HighDpi: Fix TabIcon 2015-10-24 12:50:42 +02:00
David Rosca
26644f8cb9 Fix build 2015-10-22 21:02:39 +02:00
srazi
33553a049a TabManager: Add an option to use it as main tabbar replacement.
- Note: in `TabBar::setVisible()` we didn't need to
  check `(visible && m_window->isFullScreen())` because tabbar's
  visibility in fullscreen mode is managed by m_navigationContainer.
2015-10-22 20:50:35 +02:00
David Rosca
12661a7d61 TabWidget: Ensure current tab is visible after restoring session 2015-10-22 18:33:20 +02:00
David Rosca
ebaf53f4f4 WebView: Always use WebView::restoreHistory() 2015-10-15 20:51:26 +02:00
David Rosca
1f32a018f5 TabStackedWidget: Cleanup pinUnPinTab code 2015-10-14 22:50:57 +02:00
David Rosca
398232246e TabStackedWidget: Only send show event to one widget after removing tab
When removing current tab, the widget was removed from stackwidget,
which would send the show event to next widget in stack and then
send show event to another widget when changing the current index from
ComboTabBar.
2015-10-14 22:48:17 +02:00
David Rosca
1a068e8c7d Use QWebEnginePage::RequestClose action to close tabs
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
e127000cb7 ComboTabBar: Remove blured background support 2015-10-11 10:52:04 +02:00
David Rosca
53e4512d31 ComboTabBar: Fix showing tooltip when animating scrolling 2015-10-11 10:51:16 +02:00
David Rosca
b39809bfae Remove option to show tab previews 2015-10-09 16:03:38 +02:00
David Rosca
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +02:00
David Rosca
5f6cfdc62a Remove WebView::guessUrlFromString and use QUrl::fromUserInput instead
This also fixes setting homepage and new tab urls in preferences.

Closes #1710
2015-10-01 18:37:45 +02:00
David Rosca
bfad9eb0aa WebView: Bring back support for unbeforeunload when closing tab 2015-09-30 13:01:14 +02:00
David Rosca
f448bba885 Fix previous commit 2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535 Fix emitting changed() in TabWidget
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +02:00
David Rosca
6d37ab5ce4 Save pinned tabs per window if restoring session on start
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
a0b84a5cd3 TabBar: Don't use ProxyStyle directly 2015-06-11 21:10:47 +02:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
David Rosca
f67348fac8 TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +01:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
S. Razi Alavizadeh
37ce38bbf8 TabBarHelper: Fix a rare bug and compute pressed index, correctly. 2014-12-25 15:16:31 +03:30
S. Razi Alavizadeh
598ad6f13c TabStackedWidget: Emit signal on change of pin state. 2014-12-02 10:04:03 +03:30
David Rosca
72ab5de448 [Code] Small code cleanups
Mostly to silence a warnings from cppcheck

[ci-skip]
2014-06-05 20:33:16 +02:00
S. Razi Alavizadeh
4ea5974914 [Windows] Fixed some issue with the blur background effect,
- Also moved all of codes related to blur effect of tabbar to ComboTabBar.
2014-05-29 01:08:42 +04:30
David Rosca
0b6478d110 [ComboTabBar] Use initStyleOption workaround only for Bespin theme
It is needed only with Bespin.
With other themes, it actually makes it worse.
2014-05-03 11:40:14 +02:00
David Rosca
34feb19dab [Code] TabHelper: Rename m_pinnedTabBar to m_isPinnedTabBar
[ci skip]
2014-05-02 22:16:48 +02:00
David Rosca
78fbccae15 [ComboTabBar] Correctly set QStyleOptionTab::position for tabs
This fixes rendering of OnlyOneTab with Bespin theme.
2014-05-02 22:15:36 +02:00
David Rosca
90760eaa2b [ComboTabBar] Draw tabbar base even when main tabbar is empty 2014-05-02 21:39:08 +02:00
David Rosca
a30aac169a [ComboTabBar] Fixed pinned tabs being hidden when there are no normal tabs 2014-05-02 21:25:49 +02:00
David Rosca
e6f4853af7 [TabBar] Show add tab button at correct position when there are no normal tabs
Fix 2 for #1322
Closes #1322
2014-05-02 20:15:05 +02:00
David Rosca
964a76c04b [ComboTabBar] Correctly switch tabs when closing last tab in tabbar
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove

Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
d1754094b8 [TabBar] Use contextMenuEvent instead of customContextMenu signals 2014-05-02 13:39:02 +02:00