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.
tanaxiusi
2016-03-16 20:12:39 +08:00
9bbc5e41a3
Better implementation of empty QSplitter deletion (no longer crashes). Call it after restore, because sometimes one splitter was left ?-/
mfreiholz
2016-03-08 10:58:56 +01:00
94d8fe3e25
Fixes invisible SectionWidget TAB, if the content was hidden previously, by calling setvisible(true) on title-widget - content-widget is managed by QStackedWidget.
mfreiholz
2016-03-04 06:50:22 +01:00
c5e39068b2
Replaces a qFatal with qWarning to skip a bug, which i couldn't find yet...
mfreiholz
2016-03-03 13:44:14 +01:00
a47073cdf8
raise* now works on hidden contents, too.
mfreiholz
2016-03-03 07:12:26 +01:00
9f952c38f0
takeContents now also searches for SC in hidden items. Otherwise we sometimes get a crash during restoreState.
mfreiholz
2016-03-01 07:41:13 +01:00
865213c5b5
Fixes includes for Qt4.
mfreiholz
2016-02-26 12:48:10 +01:00
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..
mfreiholz
2016-02-26 12:43:14 +01:00
74f6ba333f
Adds activeTabChanged() signal to let API users know about this state change. It might be use to re-polish style sheets.
mfreiholz
2016-02-26 09:07:19 +01:00
014fb04daf
Linux fixes.
mfreiholz
2016-02-24 17:39:35 +01:00
0e831ee55f
Adds optional "title" attribute to SectionContent and show it in visible areas e.g. context-menu. Build as shared library by default.
mfreiholz
2016-02-24 12:12:09 +01:00
7e41d18a6d
Adds function to raise a section-content.
mfreiholz
2016-02-24 11:45:19 +01:00
747874b1e5
Adds capabilities to build as shared library on Windows.
mfreiholz
2016-02-23 21:31:09 +01:00
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..
mfreiholz
2016-02-23 20:51:19 +01:00
846535c085
Fixes crash, if only a single SectionContent elemet has been added to ContainerWidget, make it floating and drop it back into ContainerWidget.
mfreiholz
2016-02-23 09:30:17 +01:00
032a5d6cdf
Memleak fixes * Set parent of title- and content-widget to associated container-widget * inside FloatingWidget::takeContent(...)
mfreiholz
2016-02-19 12:00:39 +01:00
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.
mfreiholz
2016-02-18 15:06:00 +01:00
d5eaabd2a7
Updates todo list.
mfreiholz
2016-02-17 14:58:47 +01:00
45bb77e7d7
Updates todo list.
mfreiholz
2016-02-17 14:52:22 +01:00
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.
mfreiholz
2016-02-17 14:42:46 +01:00
1b91fe241b
Use takeContents() for strict ownership switch.
mfreiholz
2016-02-17 11:09:24 +01:00
d67a7e65e9
Save/restore visiblity state of FloatingWidget.
mfreiholz
2016-02-17 10:10:36 +01:00
f0b1ea4735
Serializes and deserializes FloatingWidgets.
mfreiholz
2016-02-17 09:59:11 +01:00
5a17a88146
Updates stylesheet margins and more...
mfreiholz
2016-02-15 15:18:52 +01:00
91e0f62f3e
Move style sheets into resource *.css files. Even keep vendor style sheets there.
mfreiholz
2016-02-15 14:25:12 +01:00
3ec2d9d8f6
Fixes compiler warning C4482 (enum usage with type name).
mfreiholz
2016-02-15 13:56:42 +01:00
34d7bf6aeb
Fixes qt4 compatibility.. Pass all WindowFlags at once (bug).
mfreiholz
2016-02-15 13:00:09 +01:00
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)
mfreiholz
2016-02-15 12:27:23 +01:00
2d1a3b8665
Do some refactoring for public api logic
mfreiholz
2016-02-15 11:32:35 +01:00
9b09ae2fa6
Do some refactoring for public api logic
mfreiholz
2016-02-15 11:13:58 +01:00
77d05431c6
Updates high level api usage of ContainerWidget.
mfreiholz
2016-02-15 10:28:42 +01:00
1befbace4b
Updates readme todos
mfreiholz
2016-02-12 11:58:12 +01:00
893d9f4e43
Refactoring: Renames saveGeometry to saveState.. same for restore.
mfreiholz
2016-02-12 11:43:34 +01:00
93ddfb6413
Updates compatibility for Qt 4.5.3 and MSVC2008
mfreiholz
2016-02-12 11:07:45 +01:00
8f13dbd77c
Makes project mostly compatible with Qt 4.5
mfreiholz
2016-02-12 08:00:31 +01:00
9050d1910c
Implements storeGeometry() and restoreGeometry() for ContainerWidget. It correctly aligns all widgets... wohooo.
mfreiholz
2016-02-11 14:33:02 +01:00
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.
mfreiholz
2016-02-03 10:50:34 +01:00
2a5849a266
Toggles visible of FloatingWidget by context-menu actions
mfreiholz
2016-02-03 09:15:07 +01:00
5a5e4c7c78
Updates README file with requirements, build-instructions and more.
mfreiholz
2016-02-02 14:35:51 +01:00
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.
mfreiholz
2016-02-02 13:49:10 +01:00
1336118e09
Updates some spacings and removes unused code. Updates demo app style.
mfreiholz
2016-02-02 10:13:11 +01:00
bc14d9255f
Implements tab-movement, changing the order of tabs by dragging with mouse.
mfreiholz
2016-02-02 08:24:12 +01:00
863d3233ad
Adds drop functionality for outer areas
mfreiholz
2016-02-01 10:55:45 +01:00