11 #ifndef CXLAYOUTEDITORWIDGET_H_
12 #define CXLAYOUTEDITORWIDGET_H_
14 #include "cxGuiExport.h"
41 QSize size = QLineEdit::minimumSizeHint();
42 size.setWidth(size.height()*2);
66 void rowsColumnsChangedSlot();
67 void contextMenuSlot(
const QPoint& point);
68 void splitActionSlot();
69 void mergeActionSlot();
70 void groupActionSlot();
71 void typeActionSlot();
79 void colorRegion(
LayoutRegion region, QString selectColor, QString backColor);
80 std::set<LayoutData::iterator> getSelectedViews();
81 void updateSelection(QPoint pos);
82 void setSaneGroupIDs();
84 virtual void mouseMoveEvent(QMouseEvent* event);
85 virtual void mousePressEvent(QMouseEvent* event);
86 void onOffScreenRenderingChanged();
88 QBoxLayout* mTopLayout;
89 QBoxLayout* mRCLayout;
96 std::vector<std::vector<GridElement> > mViewDataCache;
98 std::map<PLANE_TYPE, QString> mPlaneNames;
106 ViewNamesType(PLANE_TYPE plane,
View::Type view, QString name) : mPlane(plane), mView(view), mName(name) {}
111 std::vector<ViewNamesType> mViewNames;