David Rosca
4db34d4645
VerticalTabs: Remove custom properties for colors
2018-02-04 17:21:23 +01:00
David Rosca
06621a6f8a
VerticalTabs: Add windows theme
2018-02-04 17:21:15 +01:00
David Rosca
2c731111d7
VerticalTabs: Add support for changing themes
2018-02-04 17:21:12 +01:00
David Rosca
2c60d8bcfb
VerticalTabs: Add option to append/prepend new child tabs
2018-02-04 17:21:08 +01:00
David Rosca
e981f638de
VerticalTabs: Hide pinned tabs view when empty
2018-02-04 17:21:04 +01:00
David Rosca
f3d5f27cdf
VerticalTabs: Set Qt::NoFocus policy
...
Fixes some styles painting unwanted focus indicator.
2018-02-04 17:21:01 +01:00
David Rosca
8c96660852
VerticalTabs: Add new tab button
2018-02-04 17:20:56 +01:00
David Rosca
faec2d2b20
VerticalTabs: Fix object names for close button
2018-02-04 17:20:52 +01:00
David Rosca
ac9830381d
VerticalTabs: Add option to indentate background of items
2018-02-04 17:20:49 +01:00
David Rosca
e5a55a6c69
VerticalTabs: Fix rendering negative margins when updating single index
2018-02-04 17:20:44 +01:00
David Rosca
79d116d07c
TabTreeDelegate: Make it stylable on which items to show close button
2018-02-04 17:20:40 +01:00
David Rosca
36eb1f5523
VerticalTabs: Fix QSS styling issues
...
It is now possible to replicate tabbar from Windows theme.
2018-02-04 17:20:28 +01:00
David Rosca
ad387fe712
TabTreeView: Draw real tabbar close button and make it stylable
2018-02-04 17:20:17 +01:00
David Rosca
6985a8567a
RestoreManager: Validate all elements in session file
...
Session file can be corrupted or have data from unsupported version
inside the file.
2018-02-04 17:20:10 +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
81e86d4a3c
BookmarksToolbar: Fix setting correct minimum height
...
Closes #2588
2018-02-04 17:19:39 +01:00
David Rosca
4ad6d6cda1
TabTreeModel: Only sync top-level tabs when closing window
...
Otherwise reordering tabs is too distracting when tabbar is visible.
2018-02-04 17:18:39 +01:00
David Rosca
ae4d971d1a
BrowserWindow: Add aboutToClose signal
2018-02-04 17:18:35 +01:00
David Rosca
05bb94adfe
VerticalTabs: Correctly delete models when switching view type
2018-02-04 17:18:31 +01:00
David Rosca
68c30781bb
VerticalTabs: Show tooltips for tabs
2018-02-04 17:18:27 +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
a1101c129c
VerticalTabs: Move scrollbar to the left
2018-02-04 17:18:19 +01:00
David Rosca
805c23ddb9
VerticalTabs: Expand subtree when new tab is inserted
2018-02-04 17:18:13 +01:00
David Rosca
072d3c28ee
VerticalTabs: Show pinned tabs in horizontal list above normal tabs
2018-02-04 17:18:01 +01:00
David Rosca
801c1845b5
Cleanups in TabTreeView
2018-02-04 17:16:19 +01:00
David Rosca
fc9f88ae67
VerticalTabs: Set scrolling per pixel
2018-02-04 17:15:57 +01:00
David Rosca
ebd2b6da51
VerticalTabs: Automatically scroll to current tab
2018-02-04 17:15:50 +01:00
David Rosca
66023d2dba
Add VerticalTabs plugin
2018-02-04 17:15:23 +01:00
David Rosca
af95dd14e2
WebTab: Fix updating isCurrentTab in attach
2018-02-04 16:59:23 +01:00
David Rosca
16c7af63b6
BrowserWindow: Add accessor for TabModel
2018-02-04 16:58:43 +01:00
David Rosca
9f4ac24cf8
TabBar: Initialize pinned tab width from real tab
...
Calculates the padding between tab border and icon from tabRect
instead of using style pixel metric which was oftentimes incorrect.
Pinned tabs should now have correct size and icon be perfectly centered
with all possible widget and qss styles.
2018-02-04 16:58:35 +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
0c7245fa9f
TabContextMenu: Require only WebTab in constructor
2018-02-04 16:58:08 +01:00
David Rosca
29735b24c8
WebTab: Add makeCurrentTab and closeTab methods
2018-02-04 16:58:01 +01:00
David Rosca
349f6b9c32
TabWidget: Fix emitting tabMoved when pinning tabs
2018-02-04 16:57:49 +01:00
David Rosca
188082b690
TabModel: Add AudioPlayingRole and AudioMutedRole
2018-02-04 16:56:04 +01:00
David Rosca
47be65f903
TabIcon: Make static image data public
2018-02-04 16:47:25 +01:00
l10n daemon script
7bba5b79ed
GIT_SILENT made messages (after extraction)
2018-02-04 03:24:04 +01:00
David Rosca
59dbfc1f48
TabTreeModel: Reset model when source resets
2018-01-31 21:06:33 +01:00
David Rosca
ebaab19f88
TabWidget: Correctly emit tabRemoved when detaching tab
2018-01-31 21:05:56 +01:00
David Rosca
43e472e50e
TabBar: Disallow detaching tab when there is only one tab in the only window
...
Otherwise it would close the last window which would quit the app.
2018-01-31 21:05:48 +01:00
David Rosca
dc8ddb03c1
TabTreeModel: Don't allow to move pinned tabs
2018-01-31 21:05:41 +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
1c7288204c
ProfileManager: Never allow to use session from newer profile version
...
Always make a backup instead of possibly corrupting it.
2018-01-31 21:04:54 +01:00
David Rosca
4124c67c5f
Autotests: Add qWait(10) at the end of QtWebEngine tests
...
Otherwise it crashes on exit
2018-01-31 21:04:38 +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
a8bda61f3e
TabModel: Remove ParentTabRole and ChildTabsRole
2018-01-31 21:00:20 +01:00