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
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
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
0eea083f07
removes no longer required debug prints
2016-04-06 06:55:27 +02:00
mfreiholz
45f269835b
Using grabMouse() leads to more problems. I think there is a better way to ensure that the mouse sometimes doesn't lose the current dragging floating widget.
2016-03-16 13:58:57 +01:00
tanaxiusi
f2f5de707c
Fix bug after saving-restoring a empty container with no SectionWidget.
...
SectionTitleWidget::mousePressEvent call 'grabMouse' to ensure the floaing widget can always follow the mouse after floated.
SectionTitleWidget::mouseMoveEvent check Qt::LeftButton.
2016-03-16 20:12:39 +08:00
mfreiholz
d2d2467101
Adds possibility to remove section contents.
2016-03-14 15:12:34 +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
f0b1ea4735
Serializes and deserializes FloatingWidgets.
2016-02-17 09:59:11 +01:00
mfreiholz
5a17a88146
Updates stylesheet margins and more...
2016-02-15 15:18:52 +01:00
mfreiholz
3ec2d9d8f6
Fixes compiler warning C4482 (enum usage with type name).
2016-02-15 13:56:42 +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
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
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