12 #ifndef CXVIEWCOLLECTIONWIDGETMIXED_H_ 13 #define CXVIEWCOLLECTIONWIDGETMIXED_H_ 15 #include "cxResourceVisualizationExport.h" 30 class ViewCollectionWidgetUsingViewContainer;
31 class LayoutWidgetUsingViewWidgets;
61 virtual void setOffScreenRenderingAndClear(
bool on);
62 virtual bool getOffScreenRendering()
const;
63 virtual void clearViews();
64 virtual void setModified();
65 virtual void render();
66 virtual void setGridSpacing(
int val);
67 virtual void setGridMargin(
int val);
68 virtual int getGridSpacing()
const;
69 virtual int getGridMargin()
const;
70 virtual std::vector<ViewPtr> getViews();
71 virtual QPoint getPosition(
ViewPtr view);
72 virtual void enableContextMenuForViews(
bool enable);
78 void addWidgetToLayout(QGridLayout* layout, QWidget* widget,
LayoutRegion region);
79 void initBaseLayout();
83 std::vector<ViewWidget*> mOverlays;
85 MultiViewCachePtr mViewCache;
92 #endif // CXVIEWCOLLECTIONWIDGETMIXED_H_ boost::shared_ptr< class MultiViewCache > MultiViewCachePtr
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class RenderWindowFactory > RenderWindowFactoryPtr
Namespace for all CustusX production code.