43 mLayout =
new QGridLayout;
45 mLayout->setSpacing(2);
46 mLayout->setMargin(4);
48 this->setLayout(mLayout);
70 mViews.push_back(view);
78 return this->mViewCache2D->retrieveView();
80 return this->mViewCache3D->retrieveView();
82 return this->mViewCacheRT->retrieveView();
83 return this->mViewCache->retrieveView();
88 mViewCache2D->clearUsedViews();
89 mViewCache3D->clearUsedViews();
90 mViewCacheRT->clearUsedViews();
92 for (
unsigned i=0; i<mViews.size(); ++i)
95 mLayout->removeWidget(mViews[i]);
104 for (
unsigned i=0; i<mViews.size(); ++i)
113 for (
unsigned i=0; i<mViews.size(); ++i)
122 mLayout->setSpacing(val);
127 mLayout->setMargin(val);
LayoutPosition span
size of region
boost::shared_ptr< class View > ViewPtr
void setStretchFactors(QGridLayout *layout, LayoutRegion region, int stretchFactor)
LayoutPosition pos
start position of region