David Rosca
2e377390b5
Add experimental support for Python extensions
...
Disabled by default until the build system is sorted out.
As it is now, Python extensions are loaded from "python"
subdirectory in standard plugin paths. Extensions can be loaded
and unloaded same way as C++ plugins.
Currently there are only wrappers needed to get PluginInterface
working from Python, other Falkon classes are inaccessible.
2018-02-25 18:51:31 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS
2018-02-25 13:33:07 +01:00
Luigi Toscano
c36a113219
gettext translations: extract them and use ECM to load them
...
Summary:
Extract the strings: one main catalog and a catalog for each plugin.
Also use the ECM macro to install the translations.
Ref T6858
Reviewers: #falkon, drosca
Reviewed By: #falkon, drosca
Subscribers: drosca
Tags: #falkon
Maniphest Tasks: T6858
Differential Revision: https://phabricator.kde.org/D8049
2018-02-25 00:27:41 +01:00
David Rosca
a4c246ab0e
GreaseMonkey: Fix removing statusbar icon when unloading plugin
2018-02-24 14:19:06 +01:00
David Rosca
a2731ef393
Use Falkon icons in about dialog and internal pages
2018-02-24 09:21:13 +01:00
David Rosca
86d3ebebc7
Add new Falkon icon
2018-02-23 12:58:04 +01:00
l10n daemon script
b4eaa10c10
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-02-19 05:02:21 +01:00
l10n daemon script
00f337b82c
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-02-18 04:59:49 +01:00
David Rosca
e5a599ee23
VerticalTabs: Disable scrollbars in other direction
2018-02-17 17:11:54 +01:00
l10n daemon script
dd3c570c41
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-02-17 05:04:26 +01:00
David Rosca
99bdca9944
Replaced another qupzilla urls
2018-02-16 15:00:40 +01:00
l10n daemon script
adf24d7f94
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-02-14 04:57:58 +01:00
l10n daemon script
3de958a3ed
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-02-13 05:17:37 +01:00
David Rosca
802e447c0c
VerticalTabs: Show detach tab action in context menu
...
It's not possible to detach tabs by dragging them to empty space
as with main tabbar.
2018-02-12 09:52:14 +01:00
David Rosca
28d78cdcca
Fix missing override warnings
2018-02-11 20:36:06 +01:00
David Rosca
512a19e528
VerticalTabs: Draw background activity indicator
2018-02-11 16:21:08 +01:00
David Rosca
7c013f5342
Plugins: Port plugin spec to standard desktop file
...
Makes it translatable
2018-02-11 14:38:01 +01:00
David Rosca
3333b61650
Unregister scheme handler / extra js objects by pointer not name
2018-02-11 11:50:05 +01:00
David Rosca
4a1d807fec
Remove QzRegExp
...
Port directly to QRegularExpression everywhere
2018-02-11 10:54:59 +01:00
David Rosca
f1c7c2beaf
Remove NetworkProxyFactory
2018-02-11 10:24:55 +01:00
David Rosca
881615a629
Remove AccessKeysNavigation plugin
2018-02-11 10:09:39 +01:00
David Rosca
7670c7df90
VerticalTabs: Scroll to current tab when opening new selected tab
2018-02-09 18:12:13 +01:00
David Rosca
75b072ec88
Fix missing override warnings
2018-02-07 11:55:46 +01:00
David Rosca
4caab39269
Fix building password backend plugins
2018-02-06 17:53:21 +01:00
David Rosca
977b45505c
PluginProxy: Remove QZ_REGISTER_* macros
2018-02-06 17:40:14 +01:00
David Rosca
43fa19121a
VerticalTabs: Make it possible to change height of pinned tab view
...
Same as TabTreeView, TabListView uses font metrics to calculate height.
Themes can change it with "font-size" property.
2018-02-06 17:39:52 +01:00
David Rosca
6aee383a9c
VerticalTabs: Add Tab Tree context menu with tree actions
...
With Close Tree + Expand/Collapse all actions.
2018-02-05 16:49:38 +01:00
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.
2018-02-05 16:49:24 +01:00
David Rosca
ea432a7de7
TabContextMenu: Add Options flags
2018-02-05 16:44:44 +01:00
David Rosca
825ee7ea96
Revert "TabContextMenu: Require only WebTab in constructor"
...
This broke context menu on empty tab bar space.
This reverts commit e791e77045b572af02d27f7a15ae082a4a13814c.
2018-02-05 16:44:39 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
...
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
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.
2018-02-04 17:23:46 +01:00
David Rosca
dbd4e75941
VerticalTabs: Save expanded state in session
2018-02-04 17:22:00 +01:00
David Rosca
62264501e2
VerticalTabs: Switch tabs with mouse wheel
...
But only when there is no scrollbar in normal tabs view.
2018-02-04 17:21:54 +01:00
David Rosca
bbbe136346
VerticalTabs: Handle Ctrl+Tab switching tabs in tree order
2018-02-04 17:21:50 +01:00
David Rosca
25d70e557a
VerticalTabs: Add Simple theme
2018-02-04 17:21:38 +01:00
David Rosca
7bb2b5dfed
VerticalTabs: Cleanups in Windows theme
2018-02-04 17:21:34 +01:00
David Rosca
ca60f9a300
VerticalTabs: Don't use selected icon mode for favicons
...
On some styles (particularly QStyleSheetStyle) it returns pixmap
drawn onto background color.
2018-02-04 17:21:26 +01:00
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