Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
932ec71ad8 Issue #15
- adds sectionContentVisibilityChanged(...) signal
2016-04-11 07:08:40 +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
3d9e3c2efc fixes qt4 compatibility 2016-04-01 09:53:30 +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
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
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
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
747874b1e5 Adds capabilities to build as shared library on Windows. 2016-02-23 21:31:09 +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
5a17a88146 Updates stylesheet margins and more... 2016-02-15 15:18:52 +01:00
mfreiholz
91e0f62f3e Move style sheets into resource *.css files.
Even keep vendor style sheets there.
2016-02-15 14:25:12 +01:00
mfreiholz
3ec2d9d8f6 Fixes compiler warning C4482 (enum usage with type name). 2016-02-15 13:56:42 +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
9b09ae2fa6 Do some refactoring for public api logic 2016-02-15 11:13:58 +01:00
mfreiholz
77d05431c6 Updates high level api usage of ContainerWidget. 2016-02-15 10:28:42 +01:00
mfreiholz
893d9f4e43 Refactoring: Renames saveGeometry to saveState.. same for restore. 2016-02-12 11:43:34 +01:00
mfreiholz
93ddfb6413 Updates compatibility for Qt 4.5.3 and MSVC2008 2016-02-12 11:07:45 +01:00
mfreiholz
08f1968b31 C++98 compatibility. 2016-02-12 07:15:10 +01:00
mfreiholz
9050d1910c Implements storeGeometry() and restoreGeometry() for ContainerWidget. It
correctly aligns all widgets... wohooo.
2016-02-11 14:33:02 +01:00
mfreiholz
2a5849a266 Toggles visible of FloatingWidget by context-menu actions 2016-02-03 09:15:07 +01:00
mfreiholz
4f394ddf5e - Fixes empty QSplitter bug
- Removes obsolete code
2016-02-03 08:01:26 +01:00
mfreiholz
cb5781cfdc Refactors directory structure and file naming. 2016-02-02 15:01:48 +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
1336118e09 Updates some spacings and removes unused code.
Updates demo app style.
2016-02-02 10:13:11 +01:00
mfreiholz
bc14d9255f Implements tab-movement, changing the order of tabs by dragging with mouse. 2016-02-02 08:24:12 +01:00
mfreiholz
b52436aac7 Adds c++11 flags for compiler. 2015-12-09 17:22:43 +01:00
mfreiholz
343c5cc727 Init commit for GitHub. 2015-12-09 12:21:38 +01:00