CustusX
16.12
An IGT application
|
#include <cxViewCollectionWidgetMixed.h>
Public Member Functions | |
ViewCollectionWidgetMixed (QWidget *parent) | |
virtual | ~ViewCollectionWidgetMixed () |
ViewPtr | addView (View::Type type, LayoutRegion region) |
virtual void | setOffScreenRenderingAndClear (bool on) |
virtual bool | getOffScreenRendering () const |
virtual void | clearViews () |
virtual void | setModified () |
virtual void | render () |
virtual void | setGridSpacing (int val) |
virtual void | setGridMargin (int val) |
virtual int | getGridSpacing () const |
virtual int | getGridMargin () const |
virtual std::vector< ViewPtr > | getViews () |
virtual QPoint | getPosition (ViewPtr view) |
virtual void | enableContextMenuForViews (bool enable) |
Public Member Functions inherited from cx::ViewCollectionWidget | |
virtual | ~ViewCollectionWidget () |
Protected Attributes | |
ViewCollectionWidget * | mBaseLayout |
Additional Inherited Members | |
Signals inherited from cx::ViewCollectionWidget | |
void | rendered () |
Static Public Member Functions inherited from cx::ViewCollectionWidget | |
static QPointer < ViewCollectionWidget > | createViewWidgetLayout (QWidget *parent=NULL) |
static QPointer < ViewCollectionWidget > | createOptimizedLayout (QWidget *parent=NULL) |
Protected Member Functions inherited from cx::ViewCollectionWidget | |
ViewCollectionWidget (QWidget *parent) | |
Widget for displaying Views, minimizing number of renderwindows but keeping the 3D views in separate renderwindows.
The rationale behind this class is:
The solution here is to use a LayoutWidgetUsingViewCollection as basis, then adding LayoutWidgetUsingViewWidgets each containing one 3D view, and placing these on top of the basis in the QGridLayout.
Definition at line 74 of file cxViewCollectionWidgetMixed.h.
cx::ViewCollectionWidgetMixed::ViewCollectionWidgetMixed | ( | QWidget * | parent | ) |
Definition at line 46 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Definition at line 59 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 70 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 117 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 204 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 172 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 167 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 105 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Get the position of the Upper Left corner of the view, given in qt-coordinates of this (the ViewCollectionWidget).
Implements cx::ViewCollectionWidget.
Definition at line 186 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 178 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 143 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 161 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 155 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 136 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 99 of file cxViewCollectionWidgetMixed.cpp.
|
protected |
Definition at line 96 of file cxViewCollectionWidgetMixed.h.