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
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
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
f0b1ea4735
Serializes and deserializes FloatingWidgets.
2016-02-17 09:59:11 +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
2d1a3b8665
Do some refactoring for public api logic
2016-02-15 11:32:35 +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
8f13dbd77c
Makes project mostly compatible with Qt 4.5
2016-02-12 08:00:31 +01:00
mfreiholz
08f1968b31
C++98 compatibility.
2016-02-12 07:15:10 +01:00
mfreiholz
861d5187e3
Serialize current index of SectionWidget
2016-02-11 14:51:38 +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
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
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