Commit Graph

68 Commits

Author SHA1 Message Date
Uwe Kindler
ad49745b18 Refactorings to improve code, started to refactor secion content 2017-02-22 22:33:48 +01:00
Uwe Kindler
d0fc4ace07 Switched license to GPLv3 2017-02-20 10:06:55 +01:00
Uwe Kindler
70a7a7b352 Started implementing support for docking multiple sections into section 2017-02-20 07:36:27 +01:00
Uwe Kindler
b93d2fbd48 Some cleanup and support for dropping floating window with multiple setcion into section 2017-02-17 07:40:12 +01:00
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
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
70e614b561 #18 adds flags to disable close functionality 2016-08-04 13:36:55 +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
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
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
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
d8dc37b788 adds read() for SectionIndexData
updates unit-tests
2016-04-05 13:23:01 +02:00
mfreiholz
195b34c0ca Serialize SectionIndexData on storeSate(). 2016-04-04 08:51:38 +02:00
mfreiholz
ac80242545 Fixes version check for serialized data.
Use new ::serialization package for save- and restore state.
2016-04-01 13:06:12 +02:00
mfreiholz
2a1bc4c43b Refactor: Add *Entity to all serialization entities to omit name collisions 2016-04-01 12:35:33 +02:00
mfreiholz
34891e746e Refactor: Moves EntryTypes into namespace enum.
Adds ADS_EXPORT_API defines to public classes.
2016-04-01 12:11:52 +02:00
mfreiholz
158dac5309 Build
- Use absolute file paths by using $$PWD variable.
- Adds unit testing project + unit-test for serialization.
- Adds ADS_IMPORT define possibility for static code include.

Core
- Fixes usage of QBuffer.. missed the QBuffer::open() call..
2016-04-01 11:49:16 +02:00
mfreiholz
d29bdd1438 Fixes "const" usage 2016-04-01 09:57:52 +02:00
mfreiholz
4debaaaf85 Serialization
- Adds prototype impls for InMemoryWriter and InMemoryReader.
- Use major- and minor-version idiom
2016-04-01 09:52:59 +02:00
mfreiholz
6c587ff8c4 Adds prototype classes for better serialization. 2016-03-31 14:47:19 +02:00
mfreiholz
d2d2467101 Adds possibility to remove section contents. 2016-03-14 15:12:34 +01:00
mfreiholz
34cf851e24 Updates default stylesheet and demo app 2016-03-08 14:24:33 +01:00
mfreiholz
865213c5b5 Fixes includes for Qt4. 2016-02-26 12:48:10 +01: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
74f6ba333f Adds activeTabChanged() signal to let API users know about this state
change. It might be use to re-polish style sheets.
2016-02-26 09:07:19 +01:00
mfreiholz
014fb04daf Linux fixes. 2016-02-24 17:39:35 +01:00
mfreiholz
4482182dad Adds dllimport spec 2016-02-24 15:17:53 +01:00
mfreiholz
0e831ee55f Adds optional "title" attribute to SectionContent and show it in visible
areas e.g. context-menu.
Build as shared library by default.
2016-02-24 12:12:09 +01:00
mfreiholz
7e41d18a6d Adds function to raise a section-content. 2016-02-24 11:45:19 +01:00
mfreiholz
747874b1e5 Adds capabilities to build as shared library on Windows. 2016-02-23 21:31:09 +01:00
mfreiholz
0238828afa Uses static lazy loaded QHash objects instead of static linker initialized
class members. This should fix multi initialization when linking static
into DLL and EXE at the same time. Hopefully..
2016-02-23 20:51:19 +01:00