15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_MASKWIDGETS_MASKEDITOR_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_MASKWIDGETS_MASKEDITOR_H
18 #include <QMainWindow>
19 #include <QModelIndex>
Defines actions for MaskEditor which are related to selected MaskItem (toggle mask value,...
Painting widget for MaskEditor, contains graphics scene and graphics view.
Tool widget for MaskEditor.
Main class to draw masks on top of intensity data map.
QList< QAction * > topToolBarActions()
Returns list of actions intended for styled toolbar (on the top).
MaskEditorCanvas * m_editorCanvas
void onPropertyPanelRequest()
shows/hides right panel with properties
void contextMenuEvent(QContextMenuEvent *event)
Context menu reimplemented to supress default menu.
MaskEditor(QWidget *parent=nullptr)
MaskEditorToolBar * m_toolBar
MaskEditorActions * m_editorActions
void setMaskContext(SessionModel *model, const QModelIndex &maskContainerIndex, IntensityDataItem *intensityItem)
Main method to setup context for mask editing.
MaskEditorPropertyPanel * m_editorPropertyPanel