Sergio Martins
85fb4ff671
indicators: Prepare the visibility to be more granular
...
Currently either all or none inner indicators can be hidden/shown,
and same of the outter.
We'll soon allow some of them to be hidden, selectively, by the
client app.
2022-02-11 17:37:26 +00:00
Sergio Martins
79cc347cd8
Refactor: Move indicator visibility logic into base class
2022-02-11 16:42:07 +00:00
Allen Winter
93e60a743e
update copyright year
2022-01-20 08:05:26 -05:00
Allen Winter
7001aa58ce
clang-format on code base
2021-07-12 17:05:37 -04:00
Sergio Martins
dfaf455624
Add support for the rubber bands to be top-level
...
Worksaround a bug where they can't be transparent when embedded
in a MFC application
2021-06-20 21:26:43 +01:00
Sergio Martins
ae58a8b9df
Fix boolean variables being accessed before initialization
...
As detected by ASAN:
ClassicIndicators.cpp:66:12: runtime error: load of value 190, which is not a valid value for type 'bool'
2021-05-21 09:24:58 +01:00
Roman Pudashkin
e3d5203f1a
fixed the API for disabling the tab indicator
2021-04-29 21:50:17 +02:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00
Sergio Martins
75db599142
tests: Make DropArea::hover() return the chosen drop location
...
Just for tests.
2020-11-28 16:47:19 +00:00
Sergio Martins
ac35a919f4
Don't show center/tab docking indicator when there's no affinity
...
If the dock widget can't dock there as tabbed, don't show the
indicator
2020-10-02 17:35:15 +01:00
Sergio Martins
283d814dc6
indicators: Also install the headers
...
So that the example app can show how to switch style type
2020-08-23 16:43:54 +01:00
Sergio Martins
034dc25483
indicators: Remove type()
...
There's no point in using it
2020-08-23 16:22:21 +01:00
Sergio Martins
0aee56114b
qml: Dropping a dragged window now works
2020-08-11 23:40:07 +01:00
Sergio Martins
179cd4cf45
qml: Add properties for outter/inner indicators visibility
2020-08-11 22:19:51 +01:00
Sergio Martins
2c917dcd7c
qml: Show 4 proper indicators when dragging in a floating window
...
They don't do much yet, but at least appear.
2020-08-11 01:35:28 +01:00
Sergio Martins
cf692797b6
qml: ClassicIndicators are now abstracted and built
...
The QtQuick counterpart just needs to be implemented
2020-08-09 20:27:05 +01:00
Sergio Martins
0e4ec055b2
Remove unused function
2020-08-09 20:05:38 +01:00
Sergio Martins
cf7c25cd88
Remove old cruft "rubberBandIsTopLevel" which we don't use
2020-08-09 19:23:52 +01:00
Sergio Martins
60b5eb00a3
Move IndicatorWindow to its own file
...
As it's the part that will be different with QtQuick.
ClassicIndicators can be shared.
2020-08-09 19:19:31 +01:00
Sergio Martins
0705b4da72
qml: Make Indicator class a implementation detail of QtWidgets
...
No longer accessed by ClassicIndicators
2020-08-09 18:57:23 +01:00
Sergio Martins
09b3e685a9
IndicatorWindow: Make some members private
2020-08-09 18:53:30 +01:00
Sergio Martins
64791eec82
qml: decouple ClassicIndicator from QRubberBand
...
the rubber band is now returned from the factory, meaning it can
be a QQuickItem when QtQuick is being used
Still need to remove the QtWidget'isms from IndicatorWindow
though
2020-08-09 18:39:56 +01:00
Allen Winter
b4f49895c2
clarify: licensing is GPL2 or GPL3 or commercial licensed
...
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
df692686e7
various - update copyright year
2020-01-07 11:36:56 -05:00
Sergio Martins
945dbc1f27
Fix build with namespaced Qt
...
Fixes #18
2019-11-27 16:17:48 +00:00
Sergio Martins
787f7802be
Move the private code into a private/ folder
...
It's nice to have a similar include hierarchy at build time and install
time.
It also makes things more explicit
2019-10-20 19:24:54 +01:00