62 #ifndef _MIRA_WIDGETRESIZEHANDLER_H_ 63 #define _MIRA_WIDGETRESIZEHANDLER_H_ 90 void setActive(Action ac,
bool b);
92 bool isActive(Action ac)
const;
110 bool eventFilter(QObject *o, QEvent *e);
111 void mouseMoveEvent(QMouseEvent *e);
112 void keyPressEvent(QKeyEvent *e);
119 TopLeft, BottomRight, BottomLeft, TopRight,
120 Top, Bottom, Left, Right,
125 QWidget *childWidget;
127 QPoint invertedMoveOffset;
133 uint moveResizeMode :1;
134 uint activeForResize :1;
136 uint movingEnabled :1;
137 uint activeForMove :1;
139 void setMouseCursor(MousePosition m);
140 bool isMove()
const {
141 return moveResizeMode && mode == Center;
143 bool isResize()
const {
144 return moveResizeMode && !isMove();
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Gui export macro declaration.
#define MIRA_GUI_RCP_EXPORT
Definition: GuiRCPExports.h:61