Commit Graph

71 Commits

Author SHA1 Message Date
mfreiholz
9c958d0d22 Adds notes 2016-03-09 12:02:31 +01:00
mfreiholz
34cf851e24 Updates default stylesheet and demo app 2016-03-08 14:24:33 +01:00
mfreiholz
9bbc5e41a3 Better implementation of empty QSplitter deletion (no longer crashes).
Call it after restore, because sometimes one splitter was left ?-/
2016-03-08 10:58:56 +01:00
mfreiholz
bbf2fd26b7 Updates readme todos. 2016-03-02 11:39:16 +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
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
fa90c7f7e9 Updates README, adds license. 2016-02-19 12:41:15 +01:00
mfreiholz
032a5d6cdf Memleak fixes
* Set parent of title- and content-widget to associated container-widget
* inside FloatingWidget::takeContent(...)

Restore state
* Restore all contents as visible and then call hideSectionContent(...) at
* the end. This is more consistent and uses same code (public API).
* Pass version to sub-methods to handle different formats
* Fix serialization, if nothing is visible (no sections, only hidden
* contents)
2016-02-19 12:00:39 +01:00
mfreiholz
6a1b6307c9 Implements show/hide of SectionContent + serialization of state (not yet
completed/tested).
Context menu also works with new impl.
Shows close button on top-right corner of SectionWidget.
2016-02-18 15:06:00 +01:00
mfreiholz
d5eaabd2a7 Updates todo list. 2016-02-17 14:58:47 +01:00
mfreiholz
45bb77e7d7 Updates todo list. 2016-02-17 14:52:22 +01:00
mfreiholz
eaff4f3d4e Refactors: Move save/restore impl into separate methods.
Updates SectionContent API: Its only possible to use it as shared pointer
(RefPtr), Copies not possible.
Handle missing or too many content references in restore procecure.
2016-02-17 14:42:46 +01:00
mfreiholz
8914904dba Adds previews. 2016-02-17 10:57:28 +01:00
mfreiholz
f0b1ea4735 Serializes and deserializes FloatingWidgets. 2016-02-17 09:59:11 +01:00
mfreiholz
2513ab1f2b Better compatible with qt4.
* Q_PROPERTY MEMBER wasn't available, use READ and WRITE instead
* Disables namespace with qt4
* Updates default stylesheet to work with qt4 (no namespaces)

Unifies include/forward-declaration style in header files.
README status updates
2016-02-15 12:27:23 +01:00
mfreiholz
1befbace4b Updates readme todos 2016-02-12 11:58:12 +01:00
mfreiholz
4f394ddf5e - Fixes empty QSplitter bug
- Removes obsolete code
2016-02-03 08:01:26 +01:00
mfreiholz
5a5e4c7c78 Updates README file with requirements, build-instructions and more. 2016-02-02 14:35:51 +01:00
mfreiholz
19b5f57610 Adds function to generate context menu with available contents.
Refactors some auto-keywords to its real class names.
Paints drop location based on cursors drop area indicator.
Waits a few pixel before moving tab from SectionWidget.
2016-02-02 13:49:10 +01:00
mfreiholz
acd549d6a6 Updates README file 2016-01-19 12:21:06 +01:00