David Rosca
|
6a48f4d862
|
TabBar: Disable greying out not restored tabs
It doesn't really work with some themes and there doesn't seem
to be easy way to make the text always clearly visible.
|
2018-01-11 19:45:27 +01:00 |
|
David Rosca
|
4c7eaf0f9f
|
ComboTabBar: Add support for tabPadding property
Workarounds bug where tabs have zero padding when styled using style
sheets.
|
2018-01-11 19:44:50 +01:00 |
|
David Rosca
|
e617f3f6ec
|
ComboTabBar: Fix drop indicator position on last tab
|
2018-01-11 19:44:45 +01:00 |
|
David Rosca
|
679a5f0136
|
ComboTabBar: Also use our TabBarHelper drawing code when drag is in progress
|
2018-01-11 19:44:40 +01:00 |
|
David Rosca
|
47ee7bfbca
|
TabWidget: Set outside-tabbar property to both add tab buttons
It is now possible to exclusively distinguish both buttons.
|
2018-01-11 19:43:38 +01:00 |
|
David Rosca
|
7e8b2a103b
|
ComboTabBar: Draw tab as only one in tabbar in tabPixmap
|
2018-01-11 19:43:33 +01:00 |
|
David Rosca
|
848a61440c
|
TabWidget: Hide closed tabs button when there are no closed tabs
|
2018-01-11 19:42:46 +01:00 |
|
David Rosca
|
4c494ebfb0
|
ComboTabBar: Improve drop indicator drawing
Code was taken and modified from KFilePlacesView
|
2018-01-11 19:31:41 +01:00 |
|
David Rosca
|
65d1493f0a
|
Fix closing tabs - regression from last commits
Closes #2534
|
2018-01-11 19:25:48 +01:00 |
|
David Rosca
|
5cc41d219e
|
Always open new window when restoring session after crash
Also remove special handling for qupzilla:restore tabs.
|
2018-01-11 19:23:36 +01:00 |
|
David Rosca
|
679268dbd1
|
ClosedTabsManager: Move check for saving restore tab from TabWidget
|
2018-01-11 19:22:43 +01:00 |
|
David Rosca
|
f2002892aa
|
Save previous crashed session that were not restored to session file
Closes #2331
|
2018-01-11 19:21:17 +01:00 |
|
David Rosca
|
c97d077f67
|
TabBar: Make updatePinnedTabCloseButton private
It is no longer needed to call it after changing tab pinned state.
|
2018-01-11 19:19:04 +01:00 |
|
David Rosca
|
5013053811
|
TabBar: Reject drags from other app instances
|
2018-01-02 22:57:26 +01:00 |
|
David Rosca
|
7b6b69c35f
|
TabBar: Fix dropping text/url to tabs
|
2018-01-02 15:03:27 +01:00 |
|
David Rosca
|
b3bd08c5e4
|
BrowserWindow: Add SavedWindow struct and use it for saving/restoring
|
2018-01-02 15:01:16 +01:00 |
|
David Rosca
|
16fcae4202
|
ClosedTabsManager: Rewrite to use WebTab::SavedTab
|
2018-01-02 14:59:06 +01:00 |
|
David Rosca
|
90153e280e
|
Fix build
|
2018-01-01 17:10:44 +01:00 |
|
David Rosca
|
8817493c68
|
Tabs: Allow to detach tab from window with only one tab
Window will be closed after detaching this tab.
|
2018-01-01 17:01:41 +01:00 |
|
David Rosca
|
3eac8bd161
|
TabContextMenu: Remove detach tab action
Tabs can now be detached with drag&drop
|
2018-01-01 17:01:19 +01:00 |
|
David Rosca
|
38bfd49d4f
|
TabBar: Change mimetype to falkon
|
2018-01-01 17:00:42 +01:00 |
|
David Rosca
|
fb652ff6cd
|
Tabs: Make the code work better with zero tabs
|
2018-01-01 16:59:52 +01:00 |
|
David Rosca
|
21ca9adf6b
|
TabBar: Add support for drag&drop tabs to other windows
Also it is possible to detach tab by dragging it outside of tabbar.
BUG: 386672
|
2018-01-01 16:58:47 +01:00 |
|
David Rosca
|
fe396e64ff
|
ComboTabBar: Add tabPixmap method to render single tab
|
2018-01-01 16:58:16 +01:00 |
|
David Rosca
|
08c0b480c1
|
ComboTabBar: Fix clearing drop marker when moving from main to pinned tabbar
|
2018-01-01 16:58:09 +01:00 |
|
David Rosca
|
f5ad4424aa
|
TabWidget: Add insertView method for WebTab
|
2018-01-01 16:58:02 +01:00 |
|
David Rosca
|
c679fdf397
|
TabBar: Add support for droping text/url inside tabbar to insert new tab
|
2018-01-01 16:57:03 +01:00 |
|
David Rosca
|
246adbfb0b
|
ComboTabBar: Add support for drawing drop indicator
It's just a solid line now, should be improved later.
|
2018-01-01 16:56:58 +01:00 |
|
David Rosca
|
4fb73f3840
|
ComboTabBar: Fix edge case in tabAt
Right corner of pinned tabbar would incorrectly return tabs from main tabbar.
Also make it work on close button.
|
2018-01-01 16:56:52 +01:00 |
|
David Rosca
|
8100020b41
|
TabBar: Support dropping text on tabs
It will be searched for using default search engine
|
2018-01-01 16:56:47 +01:00 |
|
David Rosca
|
c7d58017d2
|
AddTabButton: Remove handling of drop events
It is handeld by the TabBar itself.
|
2018-01-01 16:56:39 +01:00 |
|
David Rosca
|
ca04e9d967
|
TabBar: Support adding new tabs with text drop data
Urls are loaded directly and text is searched for using default search
engine.
|
2018-01-01 16:56:32 +01:00 |
|
David Rosca
|
373df431a7
|
TabWidget: Switch to newly created tab when duplicating tab
|
2018-01-01 16:56:26 +01:00 |
|
Razi Alavizadeh
|
8086e46ca4
|
ComboTabBar: Fix duplicate call to slotCurrentChanged() when closing tab.
- The issue occurred after 04b288b395
- See https://github.com/QupZilla/qupzilla/issues/2489
|
2017-10-22 20:00:06 +03:30 |
|
Razi Alavizadeh
|
991fb32cc3
|
Fix restoring state of current tab after restoring last session.
- After 04b288b3 WebTab does not restore its state on showEvent
- QupZilla issue: https://github.com/QupZilla/qupzilla/issues/2467
|
2017-10-06 19:35:54 +03:30 |
|
Razi Alavizadeh
|
bad3a76a2e
|
TabManager: Don't repeat detaching tab code.
|
2017-10-03 17:02:30 +03:30 |
|
Razi Alavizadeh
|
f17eb82cf9
|
TabManager: Add tab context-menu to treewidget context-menu.
|
2017-10-03 17:02:26 +03:30 |
|
Razi Alavizadeh
|
04b288b395
|
Fix restoring non-loaded tabs when moving them.
|
2017-10-03 17:02:25 +03:30 |
|
Razi Alavizadeh
|
f041d87534
|
Move tab context-menu methods to TabContextMenu.
|
2017-10-03 17:02:24 +03:30 |
|
Luigi Toscano
|
3c67be06b9
|
Fix UI strings with plural forms
Otherwise those strings can not be extracted.
|
2017-09-26 01:37:46 +02:00 |
|
David Rosca
|
efff69b7b2
|
Continue with Falkon renaming
|
2017-08-25 17:55:52 +02:00 |
|
David Rosca
|
d00e769749
|
Initial rename to Falkon
|
2017-08-25 17:32:32 +02:00 |
|
David Rosca
|
67c6834a5f
|
ComboTabBar: Disable focusing scroll buttons
|
2017-08-12 15:56:26 +02:00 |
|
David Rosca
|
3492999abe
|
Don't return empty QByteArray when there are no tabs in session
|
2017-04-07 12:38:54 +02:00 |
|
David Rosca
|
cb4012c5c9
|
Don't save qupzilla:restore tabs in sessions
|
2017-04-07 12:36:42 +02:00 |
|
srazi
|
2654081912
|
Fix 2178 (#2292)
* CheckBoxDialog: Rewritten to inherit from QMessageBox
- QMessageBox supports showing checkbox for Qt >= 5.2
* Add option to disable warning message when closing tabs from tabbar context menu.
- Closes #2178
|
2017-04-05 10:27:03 +02:00 |
|
David Rosca
|
e150e44cc6
|
Replace Q_OS_MAC with Q_OS_MACOS
|
2017-02-10 19:00:58 +01:00 |
|
David Rosca
|
5873ed48fd
|
TabIcon: Hide icon immediately when url is empty or has qupzilla: scheme
|
2017-02-07 10:41:37 +01:00 |
|
David Rosca
|
bcb633fcd0
|
TabBar: Use correct duration for showing add tab button after releasing dragged tab
|
2017-01-28 10:31:45 +01:00 |
|
David Rosca
|
8ba412e584
|
ComboTabBar: Add setFocusPolicy
TabBar is setting Qt::NoFocus policy which was ignored
|
2017-01-27 16:51:45 +01:00 |
|