Uwe Kindler
f4c0d38ba4
Continued refactoring to prepare split of functionality of ContainerWidget
2017-01-30 22:44:27 +01:00
Uwe Kindler
411e4002f1
Improved handling and display of border drop overlays. Now border drop overlay items are visible as soon as a floating widget enters container widget area, some refactoring to improve code quality
2017-01-28 12:18:16 +01:00
Uwe Kindler
3fd20fad16
Continued refactoring, created private ContainerWidget class
2017-01-21 22:22:20 +01:00
Uwe Kindler
889d9bff5b
Some refactorings to cleanup code, moved ContainerWidget private data into private data class
2017-01-20 22:43:18 +01:00
mfreiholz
e04b5c7900
fix : #13 custom drop area widgets
...
- adds public function to set widgets
- some cleanup changes
2016-04-18 09:40:51 +02:00
mfreiholz
180ed31fc4
Updates API for #13 - Custom drop indicators.
...
DropOverlayCross is better reusable now and area widgets can be changed.
2016-04-18 08:27:28 +02:00
mfreiholz
9c530dcc58
refactor: Renames member _splitAreas to _cross.
...
mod: removes ContainerWiget::set/Orientation() members. Obsolete since
everything is managed over drop areas.
2016-04-18 07:18:50 +02:00
mfreiholz
86c23c6269
refactor: Renames DropSplitAreas => DropOverlayCross
...
mod: Uses QPalette::Highlight color, instead of in-source fixed color, for area overlay painting.
2016-04-18 07:06:46 +02:00
mfreiholz
0bd5dc57fa
Preparation for #13 - custom drop images.
...
- DropOverlay and DropSplitArea widgets are friendly, but still separate
for better customization.
- Both classes are reusable, no longer create a new instance of
DropSplitArea for each show call.
2016-04-15 12:14:50 +02:00
mfreiholz
5041f5076a
fix #17 - get rid of static drop overlay
...
- holds one instance of DropOverlay for each ContainerWidget.
2016-04-15 08:21:23 +02:00
mfreiholz
06304b9818
Optimizes includes and forward declarations.
...
Fixes a bug where SectionWidget removes itself from _sections list during a qDeleteAll call on _sections.. that was stupid..
2016-02-26 12:43:14 +01:00
mfreiholz
3ec2d9d8f6
Fixes compiler warning C4482 (enum usage with type name).
2016-02-15 13:56:42 +01:00
mfreiholz
7123410bb1
Available drop areas for DropOverlay can be configured via constructor
...
now.
Better visualization for edge-drops, always shown entire rect as active
drop area and only show a single drop icon.
2016-02-03 10:50:34 +01:00
mfreiholz
cb5781cfdc
Refactors directory structure and file naming.
2016-02-02 15:01:48 +01:00