33 #ifndef CXVIEWCOLLECTIONWIDGETMIXED_H_ 34 #define CXVIEWCOLLECTIONWIDGETMIXED_H_ 36 #include "cxResourceVisualizationExport.h" 51 class ViewCollectionWidgetUsingViewContainer;
52 class LayoutWidgetUsingViewWidgets;
82 virtual void setOffScreenRenderingAndClear(
bool on);
83 virtual bool getOffScreenRendering()
const;
84 virtual void clearViews();
85 virtual void setModified();
86 virtual void render();
87 virtual void setGridSpacing(
int val);
88 virtual void setGridMargin(
int val);
89 virtual int getGridSpacing()
const;
90 virtual int getGridMargin()
const;
91 virtual std::vector<ViewPtr> getViews();
92 virtual QPoint getPosition(
ViewPtr view);
93 virtual void enableContextMenuForViews(
bool enable);
99 void addWidgetToLayout(QGridLayout* layout, QWidget* widget,
LayoutRegion region);
100 void initBaseLayout();
103 QGridLayout* mLayout;
104 std::vector<ViewWidget*> mOverlays;
106 MultiViewCachePtr mViewCache;
113 #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.