CustusX
22.04-rc5
An IGT application
|
#include <cxViewCollectionWidgetMixed.h>
Public Member Functions | |
ViewCollectionWidgetMixed (RenderWindowFactoryPtr factory, 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 (RenderWindowFactoryPtr factory, QWidget *parent=NULL) |
static QPointer< ViewCollectionWidget > | createOptimizedLayout (RenderWindowFactoryPtr factory, 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 53 of file cxViewCollectionWidgetMixed.h.
cx::ViewCollectionWidgetMixed::ViewCollectionWidgetMixed | ( | RenderWindowFactoryPtr | factory, |
QWidget * | parent | ||
) |
Definition at line 26 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Definition at line 39 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 50 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 97 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 184 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 152 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 147 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 85 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 166 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 158 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 123 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 141 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 135 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 116 of file cxViewCollectionWidgetMixed.cpp.
|
virtual |
Implements cx::ViewCollectionWidget.
Definition at line 79 of file cxViewCollectionWidgetMixed.cpp.
|
protected |
Definition at line 75 of file cxViewCollectionWidgetMixed.h.