- 10 Nov, 2013 2 commits
-
-
Artur Grunau authored
DataContainerInspectorWidget was previously stored in a regular dock widget, but because of its rather large dimensions it didn't fit well in any of the docking areas. Put DataContainerInspectorWidget in an MdiDockableWindow and add it to the MDI area. It fits much better there, and can still be undocked if need be.
-
Artur Grunau authored
The default implementation of activateWindow didn't forward activation requests to MdiDockableWindow's sub-windows. Since MdiDockableWindow is always hidden, the method was pretty much a no-op in disguise. The overridden version of activateWindow properly forwards activation requests, using the right method to activate the current sub-window, no matter if it's floating or docked.
-
- 09 Nov, 2013 2 commits
-
-
Artur Grunau authored
MdiDockedWindow's mouseMoveEvent method intercepted all mouse move events when the left mouse button was pressed. This interfered with the resizing of docked windows. Intercept only non-resize drag events to make manipulating docked MDI windows easier. As a side effect, moving MdiDockedWindows doesn't cause the MDI area to re-tile its sub-windows anymore.
-
Artur Grunau authored
Both MdiDockedWindow and MdiFloatingWindow were previously regular windows, i.e. they had minimise, maximise, and close buttons. The first two of these buttons didn't make much sense for docked MDI windows, and made floating MDI windows look different from undocked QDockWidgets. Represent all MDI sub-windows as tool windows to make their subordinate status more pronounced. For floating MDI windows this has the added benefit of keeping them on top of the main window and minimising them when it gets hidden.
-
- 08 Nov, 2013 1 commit
-
-
Christian Schulte zu Berge authored
-
- 02 Nov, 2013 5 commits
-
-
Artur Grunau authored
MdiDockableWindow has been extracted from MdiDockArea to simplify and better structure our MDI implementation. The new class takes care of creating all necessary representations (docked and floating window) of widgets added to MdiDockArea and seamlessly switching between them in response to the user's actions (window dragging, key presses, etc). MdiDockableWindow improves our MDI implementation in two ways: - MdiFloatingWindow and MdiDockedWindow instances shouldn't be interacted with directly; they're created and disposed of as needed, and therefore can't be used as a handle to access and modify an MDI window's state; MdiDockableWindow, in contrast, fits this role perfectly; it manages both representations of an MDI window, and as a result stays around as long as at least one of them is needed - managing state transitions of many sub-windows directly in MdiDockArea was becoming clumsy as signal mapping and dynamic properties were required; having a separate widget that only has to control the state of one sub-window makes the code related to state transitions much simpler
-
Artur Grunau authored
Closing a docked MDI subwindow caused it to disappear if the MDI area was in SubWindowView mode, but its inactive tab could still be seen in TabbedView mode. If a docked MDI subwindow gets closed, hide it by removing it from the MDI area.
-
Artur Grunau authored
The "Tools" submenu lists all standard docked tools offered by the application (i.e. "Pipeline tree", "Pipeline properties", and "Log viewer"), and lets the user toggle their visibility.
-
Artur Grunau authored
This commit adds a simple main menu to the application. For the time being it only has 2 submenus, "File" and "Visualizations". The latter is created by MdiDockArea and lets users manage the visibility and placement of canvas windows.
-
Artur Grunau authored
-
- 29 Oct, 2013 3 commits
-
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
reverted changes from e7b11bfa: "added s_changed signal of properties also being propagated to its shared properties" This was weak design and lead to problems with the AutoEvaluationPipeline.
-
Christian Schulte zu Berge authored
-
- 28 Oct, 2013 3 commits
-
-
Christian Schulte zu Berge authored
Introducing usage of C++11 lambda functions instead of functors in some tbb::parallel_for blocks for better readibility
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
Merge branch 'log-highlighter-double-free-fix' of /mnt/bigone/git/repositories/berge/campvis into development
-
- 26 Oct, 2013 1 commit
-
-
Artur Grunau authored
In its destructor, LogHighlighter first of all deleted its filter regex explicitly, and then called `setFilterRegExp(0)`, triggering a second — this time somewhat implicit — delete. If the filter regex pointer was not NULL, this caused the application to crash due to a double-free. Fix this error by not invoking `setFilterRegExp` in LogHighlighter's destructor; the explicit delete performs the same cleanup as `setFilterRegExp` anyways.
-
- 25 Oct, 2013 1 commit
-
-
Christian Schulte zu Berge authored
* fixed 1D geometry TF editor * introduced OptionProperty to specify gradient computation mode * added s_changed signal of properties also being propagated to its shared properties * fixed sampling rate compensation when using adaptive sampling in simpleraycaster.frag
-
- 16 Oct, 2013 4 commits
-
-
Christian Schulte zu Berge authored
Fixed missing/wrong deregistration of GeometryXdTransferFcuntionEditors when their widgets are closed (and hence the GL contexts destroyed)
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
Merge branch 'fix-const' of /mnt/bigone/git/repositories/sebastian.poelsterl/campvis into development
-
Christian Schulte zu Berge authored
Merge branch 'revert-no-tree-vrp' of /mnt/bigone/git/repositories/sebastian.poelsterl/campvis into development
-
- 15 Oct, 2013 13 commits
-
-
Sebastian Pölsterl authored
This reverts commit 442d5051.
-
Sebastian Pölsterl authored
Fixes -Wignored-qualifiers
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
Added -fno-tree-vrp to CMake definition, since tree-vrp optimization breaks the code for some strange reason.
-
Sebastian Pölsterl authored
-
Christian Schulte zu Berge authored
-
Sebastian Pölsterl authored
Fixes -Wsign-compare
-
Sebastian Pölsterl authored
Fixes -Wignored-qualifiers
-
Sebastian Pölsterl authored
Fixes -Wswitch
-
Sebastian Pölsterl authored
Fixes -Wreorder
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
-
- 14 Oct, 2013 4 commits
-
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
-
Artur Grunau authored
-
- 13 Oct, 2013 1 commit
-
-
Artur Grunau authored
Previously, QtCanvas' init() would call show() on its underlying widget and cause it to appear as a top-level window for a split second, before the canvas was docked. To avoid this flicker, show() is now only called on the canvas after it's been added to the MDI area.
-