12 #ifndef CXVIEWCOLLECTIONWIDGET_H_
13 #define CXVIEWCOLLECTIONWIDGET_H_
15 #include "cxResourceVisualizationExport.h"
43 static QPointer<ViewCollectionWidget> createViewWidgetLayout(
RenderWindowFactoryPtr factory, QWidget* parent = NULL);
44 static QPointer<ViewCollectionWidget> createOptimizedLayout(
RenderWindowFactoryPtr factory, QWidget* parent = NULL);
49 virtual void setOffScreenRenderingAndClear(
bool on) = 0;
50 virtual bool getOffScreenRendering()
const = 0;
51 virtual void clearViews() = 0;
52 virtual void setModified() = 0;
53 virtual void render() = 0;
54 virtual void setGridSpacing(
int val) = 0;
55 virtual void setGridMargin(
int val) = 0;
56 virtual int getGridSpacing()
const = 0;
57 virtual int getGridMargin()
const = 0;
58 virtual void enableContextMenuForViews(
bool enable) = 0;
60 virtual std::vector<ViewPtr> getViews() = 0;
65 virtual QPoint getPosition(
ViewPtr view) = 0;
76 #endif // CXVIEWCOLLECTIONWIDGET_H_