Commit Graph

933 Commits

Author SHA1 Message Date
Uwe Kindler
635b96a2ae Fixed some issues with mouse double clicks, remove unused and supefluous code 2017-02-15 21:54:26 +01:00
Uwe Kindler
72fc9cd79a Implemented initial support for dropping multiple sections at the same time 2017-02-14 23:55:38 +01:00
Uwe Kindler
268c49af3b Added debug output 2017-02-12 20:06:45 +01:00
Uwe Kindler
025bedfb65 Preparing dropping of section widgets with multiple sections 2017-02-12 19:59:29 +01:00
Uwe Kindler
df97d17844 Fixed movement of witget on start of floating 2017-02-11 22:05:23 +01:00
Uwe Kindler
2bf1a51627 Fixed container removal from MainCOntainerWidget 2017-02-10 21:23:14 +01:00
Uwe Kindler
a4de5c5560 Added suppport for floating widgets with native toolbar to support the windows desktop docking and split system 2017-02-08 23:03:13 +01:00
Uwe Kindler
0716020ab4 Created CFloatingTitleWidget 2017-02-07 23:51:29 +01:00
Uwe Kindler
7f5e393cfb Startet refactoring common container stuff into CContainerWidget 2017-02-03 22:56:08 +01:00
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
Uwe Kindler
68b93f6fa9 Started refactoring to improve code quality, overall designa nd to gain knowledge of the impolemented functionality 2017-01-17 07:57:24 +01:00
mfreiholz
abc8468989 fixes build scripts for linux 2016-10-23 11:15:06 +02:00
mfreiholz
5dc8c616e9 updates build scripts: adds version number and removes no longer needed include paths. 2016-10-23 10:35:09 +02:00
mfreiholz
70e614b561 #18 adds flags to disable close functionality 2016-08-04 13:36:55 +02:00
mfreiholz
9e27d0b224 removes travis-ci icon as long as it doesn't work... 2016-07-15 09:06:33 +02:00
mfreiholz
6420381354 fix: adding a new SC without target SW to CenterDropArea causes invalid state 2016-07-15 08:43:49 +02:00
mfreiholz
0317c3ebeb fixes #20 crash on-show.
checks for _sections.count() > 0 in dropContent() and creates first
SectionWidget, if needed.
2016-06-08 06:50:08 +02:00
Manuel Freiholz
0be013bca2 Update .travis.yml 2016-06-01 13:39:50 +02:00
Manuel Freiholz
c27c0713f2 updates script for container-based build VMs 2016-06-01 13:37:08 +02:00
Manuel Freiholz
c07242cd5f Update .travis.yml 2016-06-01 12:53:27 +02:00
mfreiholz
65d1454c8c sets object name of container widget for tabs. 2016-05-23 08:25:52 +02:00
mfreiholz
4c65bde599 fix #2
makes tabs scrollable
scrollable by mouse wheel
adds menu to access not visible tabs
2016-05-23 07:47:28 +02:00
mfreiholz
5c9b383af8 Adds gitter batch 2016-04-27 17:59:07 +02:00
mfreiholz
f983a6ff85 Adds usage of ADS_Expects precondition check. 2016-04-21 09:16:45 +02:00
mfreiholz
3a5cd2118a Adds API method ContainerWidget::isSectionContentVisible.
Updates demo project with example.
2016-04-21 07:51:26 +02:00
mfreiholz
1fb78aa873 fix #16: resets WA_WState_Created to true. No longer apply flag to content wrapper widget.
note: setting this flag seems to be very ugly, since it breaks some special content views (3D stuff).
2016-04-21 07:05:27 +02:00
mfreiholz
c3e96cfa67 Fix #16: sets Qt::WA_WState_Created to false before reparenting to avoid internal hide->show sequence, which does forward mousemove events to splitter.. 2016-04-20 09:24:00 +02:00
mfreiholz
a1225545e4 Fixes compiler warnings. 2016-04-18 14:34:07 +02:00
mfreiholz
94b1fc85fc Use prefix for resources.
Updates demo project and README with clean main() and initStyleSheet().
2016-04-18 12:47:42 +02:00
mfreiholz
8c3a00d7b5 Create drop indicator images on the fly. No longer use PNG resources
(better in case of license issues). Drop images should be scalable now!
2016-04-18 12:30:24 +02: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
823028c6aa clean handling of QEvent::accept() 2016-04-11 09:12:48 +02:00
mfreiholz
fffc84374a Use QT_VERSION_CHECK macro for better compatibility. 2016-04-11 07:27:02 +02:00
mfreiholz
14a80f1753 fix: FloatingWidget calls ContainerWidget::hideSectionContent(...) instead
of it's own close() method to be consistent in the way of hiding and
showing contents.
2016-04-11 07:15:42 +02:00
mfreiholz
932ec71ad8 Issue #15
- adds sectionContentVisibilityChanged(...) signal
2016-04-11 07:08:40 +02:00
mfreiholz
f2a352c305 fixes position mapping of sections inside container. all positions are now relative to it's container. 2016-04-06 07:52:17 +02:00
mfreiholz
0eea083f07 removes no longer required debug prints 2016-04-06 06:55:27 +02:00
mfreiholz
f110ad8ec7 fix: position (not yet tested) 2016-04-05 15:00:05 +02:00
mfreiholz
d8dc37b788 adds read() for SectionIndexData
updates unit-tests
2016-04-05 13:23:01 +02:00
mfreiholz
0105ee1de7 fixes file name letter case for builds on linux
adds travis-ci icon
2016-04-05 08:01:14 +02:00
mfreiholz
40727028d6 Fix version check for QLayout::replaceWidget() 2016-04-05 07:54:12 +02:00
mfreiholz
a8383d14d0 Updates travis build script 2016-04-05 07:45:12 +02:00