Adds previews.

This commit is contained in:
mfreiholz 2016-02-17 10:57:28 +01:00
parent d67a7e65e9
commit 8914904dba
3 changed files with 14 additions and 10 deletions

View File

@ -3,6 +3,9 @@ Manages content widgets more like Visual Studio or similar programs.
I also try to get everything done with basic Qt functionality. I also try to get everything done with basic Qt functionality.
Basic usage of QWidgets an QLayouts and using basic styles as much as possible. Basic usage of QWidgets an QLayouts and using basic styles as much as possible.
![Layout of widgets](preview01.png)
![Dropping widgets](preview02.png)
## Tested with - Requirements ## Tested with - Requirements
**Windows** **Windows**
- \>= Qt 5.5, VC12 or MinGW - \>= Qt 5.5, VC12 or MinGW
@ -21,18 +24,19 @@ Open the `build.pro` with QtCreator and start the build, that's it.
## TODOs ## TODOs
Sorted by priority Sorted by priority
- **[DONE]** Improve FloatingWidget (Remove maximize button, only support close-button which hides the widget) - [x] Improve FloatingWidget (Remove maximize button, only support close-button which hides the widget)
- **[DONE]** Serialize and Deserialize state/size/positions of dockings - [x] Serialize and Deserialize state/size/positions of dockings
- **[DONE]** Make compatible with Qt 4.5 (\*ROFL!\*) - [x] Make compatible with Qt 4.5 (\*ROFL!\*)
- **[DONE]** Save and restore FloatingWidget states - [x] Save and restore FloatingWidget states
- Restore: Manage new or deleted SectionContent objects, which are not available - [ ] Restore: Manage new or deleted SectionContent objects, which are not available
- Show close button on right corner of SectionWidget - [ ] Show close button on right corner of SectionWidget
- Drop indicator images should be fully visible over the DropOverlay rectangle - [ ] Drop indicator images should be fully visible over the DropOverlay rectangle
- Pin contents: Pins a content and its title widget to the edge and opens on click/hover as long as it has focus - [ ] Pin contents: Pins a content and its title widget to the edge and opens on click/hover as long as it has focus
## Bugs ## Bugs
- **[DONE]** Working with outer-edge-drops sometimes leaves empty splitters - [x] Working with outer-edge-drops sometimes leaves empty splitters
- **[DONE]** Clean up of unused e.g. count()<=1 QSplitters doesn't work well - [x] Clean up of unused e.g. count()<=1 QSplitters doesn't work well
- [ ] Empty splitters, if only 2 or 1 items are in container
## Credits ## Credits
- Drop indicator images from: - Drop indicator images from:

BIN
preview01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
preview02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB