1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

77 Commits

Author SHA1 Message Date
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
David Rosca
7fc7558221 [ComboTabBar] Correctly returns tabAt over tab icon 2014-05-02 13:35:01 +02:00
David Rosca
028db62be0 [ComboTabBar] Set objectName of base widget, so it can be styled
TabBar base is now correctly styled in all themes.
Updated the themes accordingly to this change.
2014-04-20 13:03:08 +02:00
David Rosca
6797433e39 [ComboTabBar] Fixed tabAt() on scroll buttons 2014-04-19 18:47:44 +02:00
David Rosca
7568ee3e2d [TabWidget] Don't save qupzilla:restore page in closed tabs 2014-04-19 18:24:09 +02:00
David Rosca
97d32a1191 [Mac] Drawing QTabBar without actual object crashes on Mac
[ci skip]
2014-04-15 09:58:51 +02:00
nowrep
a560b7f498 [TabWidget] Make sure current tab is loaded on session restore
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.

Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +02:00
nowrep
5c2c90ae6d [WebTab] More cleanup in detach/attach code.
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
7469aced65 [Cleanup] Deleted unused ActionCopy class
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
2d9dfa9db7 [WebInspector] WebInspector is now displayed inside WebTab
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00