David Rosca
beeb68f7a6
TabMruModel: Ignore moving already first index
8 years ago
David Rosca
71f5d72a65
Move last tab tracking from TabWidget to TabBar
8 years ago
David Rosca
0f2728e49e
BrowserWindow: Always create tab models in initialization
8 years ago
David Rosca
94e6b98450
TabModel: Check return value of beginMoveRows
8 years ago
David Rosca
b933e87c99
Add TabMruModel
...
Sorts tabs in most recently used order.
8 years ago
David Rosca
6aee383a9c
VerticalTabs: Add Tab Tree context menu with tree actions
...
With Close Tree + Expand/Collapse all actions.
8 years ago
David Rosca
67e82e8923
TabTreeModel: Fix reordering tabs in the same tree with drag&drop
8 years ago
David Rosca
5e2af2ff66
VerticalTabs: Add support for creating groups
...
Long press on New Tab button will show menu with existing groups
and clicking on group will open new tab inside this group.
8 years ago
David Rosca
e74f18e8e8
History: Only save whitelisted schemes
8 years ago
David Rosca
e28b2048df
NetworkManager: Add support for "extension://" scheme
8 years ago
David Rosca
ea432a7de7
TabContextMenu: Add Options flags
8 years ago
David Rosca
825ee7ea96
Revert "TabContextMenu: Require only WebTab in constructor"
...
This broke context menu on empty tab bar space.
This reverts commit e791e77045b572af02d27f7a15ae082a4a13814c.
8 years ago
David Rosca
408b2ffad6
TabWidget: Add public webTab method
...
Also cleanup tabbedwebview.h includes.
8 years ago
David Rosca
fbbe3c6385
TabTreeModel: Ignore dropping child on its parent
8 years ago
David Rosca
aa332a4ed2
VerticalTabs: Reject drop on last row in pinned tabs model
...
It seems like a weird behavior in Qt because source model receives
drop on last index (in filter model) as drop on last index in source
model instead of filter model and it can't make a right decision.
Source model:
| 1 | 2 | 3 | 4 | 5 | 6 |
Filter model:
| 1 | 2 | 3 | 4 |
^
Dropping here propagates to source model as drop on index 7, not 5.
Let's just ignore this case to workaround it.
8 years ago
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.
8 years ago
David Rosca
ca15006145
TabWidget: Track last WebTab instead of only index
8 years ago
David Rosca
dbd4e75941
VerticalTabs: Save expanded state in session
8 years ago
David Rosca
095e0ff517
WebTab: Add sessionData property
8 years ago
David Rosca
62264501e2
VerticalTabs: Switch tabs with mouse wheel
...
But only when there is no scrollbar in normal tabs view.
8 years ago
David Rosca
bbbe136346
VerticalTabs: Handle Ctrl+Tab switching tabs in tree order
8 years ago
David Rosca
ee2e1e9f78
TabWidget: Add BrowserWindow accessor
8 years ago
David Rosca
0bf881c168
Plugins: Hook key events in TabWidget
8 years ago
David Rosca
25d70e557a
VerticalTabs: Add Simple theme
8 years ago
David Rosca
7bb2b5dfed
VerticalTabs: Cleanups in Windows theme
8 years ago
David Rosca
b24041cb8e
LocationCompleterDelegate: Don't use selected icon mode for favicons
...
Same reason as previous commit
8 years ago
David Rosca
ca60f9a300
VerticalTabs: Don't use selected icon mode for favicons
...
On some styles (particularly QStyleSheetStyle) it returns pixmap
drawn onto background color.
8 years ago
David Rosca
4db34d4645
VerticalTabs: Remove custom properties for colors
8 years ago
David Rosca
06621a6f8a
VerticalTabs: Add windows theme
8 years ago
David Rosca
2c731111d7
VerticalTabs: Add support for changing themes
8 years ago
David Rosca
2c60d8bcfb
VerticalTabs: Add option to append/prepend new child tabs
8 years ago
David Rosca
e981f638de
VerticalTabs: Hide pinned tabs view when empty
8 years ago
David Rosca
f3d5f27cdf
VerticalTabs: Set Qt::NoFocus policy
...
Fixes some styles painting unwanted focus indicator.
8 years ago
David Rosca
8c96660852
VerticalTabs: Add new tab button
8 years ago
David Rosca
faec2d2b20
VerticalTabs: Fix object names for close button
8 years ago
David Rosca
ac9830381d
VerticalTabs: Add option to indentate background of items
8 years ago
David Rosca
e5a55a6c69
VerticalTabs: Fix rendering negative margins when updating single index
8 years ago
David Rosca
79d116d07c
TabTreeDelegate: Make it stylable on which items to show close button
8 years ago
David Rosca
36eb1f5523
VerticalTabs: Fix QSS styling issues
...
It is now possible to replicate tabbar from Windows theme.
8 years ago
David Rosca
ad387fe712
TabTreeView: Draw real tabbar close button and make it stylable
8 years ago
David Rosca
6985a8567a
RestoreManager: Validate all elements in session file
...
Session file can be corrupted or have data from unsupported version
inside the file.
8 years ago
David Rosca
e6b220a87a
WebTab: Add option to prepend child tabs instead of appending
8 years ago
David Rosca
81e86d4a3c
BookmarksToolbar: Fix setting correct minimum height
...
Closes #2588
8 years ago
David Rosca
4ad6d6cda1
TabTreeModel: Only sync top-level tabs when closing window
...
Otherwise reordering tabs is too distracting when tabbar is visible.
8 years ago
David Rosca
ae4d971d1a
BrowserWindow: Add aboutToClose signal
8 years ago
David Rosca
05bb94adfe
VerticalTabs: Correctly delete models when switching view type
8 years ago
David Rosca
68c30781bb
VerticalTabs: Show tooltips for tabs
8 years ago
David Rosca
e9f3679bb1
TabTreeModel: Sync top-level tabs with main tabbar
...
This way the order of top-level tabs is also preserved in session.
8 years ago
David Rosca
a1101c129c
VerticalTabs: Move scrollbar to the left
8 years ago
David Rosca
805c23ddb9
VerticalTabs: Expand subtree when new tab is inserted
8 years ago