15 #ifndef BORNAGAIN_GUI_VIEW_MASK_MASKGRAPHICSPROXY_H
16 #define BORNAGAIN_GUI_VIEW_MASK_MASKGRAPHICSPROXY_H
19 #include <QGraphicsProxyWidget>
48 void wheelEvent(QGraphicsSceneWheelEvent* event)
override;
Defines class MaskEditorHelper.
Performs conversion of MaskItems coordinates between ColorMap and GraphicsScene.
The ColorMap class presents 2D intensity data from IntensityDataItem as color map.
Interface to adapt MaskItems coordinates (expressed in units of IntensityDataItem) to/from scene coor...
Graphics proxy to place QWidget inside QGraphicsScene, used by MaskEditorCanvas.
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
void setIntensityItem(IntensityDataItem *item)
int type() const override
void wheelEvent(QGraphicsSceneWheelEvent *event) override
bool m_send_signals_to_colormap
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
~MaskGraphicsProxy() override
ColorMapSceneAdaptor * m_sceneAdaptor
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
void setInZoomMode(bool value)
Sets widget to zoom mode, when signals (zoom wheel, mouse clicks) are send down to ColorMap plot....
void setSceneAdaptor(ISceneAdaptor *sceneAdaptor)
Base class for a GUI data item.