32 #ifndef CXLAYOUTEDITORWIDGET_H_ 33 #define CXLAYOUTEDITORWIDGET_H_ 35 #include "cxGuiExport.h" 62 QSize size = QLineEdit::minimumSizeHint();
63 size.setWidth(size.height()*2);
87 void rowsColumnsChangedSlot();
88 void contextMenuSlot(
const QPoint& point);
89 void splitActionSlot();
90 void mergeActionSlot();
91 void groupActionSlot();
92 void typeActionSlot();
100 void colorRegion(
LayoutRegion region, QString selectColor, QString backColor);
101 std::set<LayoutData::iterator> getSelectedViews();
102 void updateSelection(QPoint pos);
103 void setSaneGroupIDs();
105 virtual void mouseMoveEvent(QMouseEvent* event);
106 virtual void mousePressEvent(QMouseEvent* event);
107 void onOffScreenRenderingChanged();
109 QBoxLayout* mTopLayout;
110 QBoxLayout* mRCLayout;
111 QGridLayout* mLayout;
114 QLineEdit* mNameEdit;
117 std::vector<std::vector<GridElement> > mViewDataCache;
119 std::map<PLANE_TYPE, QString> mPlaneNames;
127 ViewNamesType(PLANE_TYPE plane,
View::Type view, QString name) : mPlane(plane), mView(view), mName(name) {}
132 std::vector<ViewNamesType> mViewNames;
virtual QSize sizeHint() const
SmallLineEdit(QWidget *parent=0)
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
Namespace for all CustusX production code.