BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Editor to draw projections on top of intensity plot. Part of. More...
Public Member Functions | |
ProjectionsEditor (QWidget *parent=nullptr) | |
void | resetContext () |
void | setContext (SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem) |
QList< QAction * > | topToolBarActions () |
Private Member Functions | |
void | setup_connections () |
Private Attributes | |
ProjectionsEditorActions * | m_editorActions |
ProjectionsEditorCanvas * | m_projectionsCanvas |
main tool bar with bottoms at the right More... | |
ProjectionsWidget * | m_projectionsWidget |
canvas with color map at the top More... | |
ProjectionsPropertyPanel * | m_propertyPanel |
bottom widget to draw projections plot More... | |
QItemSelectionModel * | m_selectionModel |
pannel at the right with properties More... | |
ProjectionsToolBar * | m_toolBar |
Editor to draw projections on top of intensity plot. Part of.
Definition at line 33 of file ProjectionsEditor.h.
ProjectionsEditor::ProjectionsEditor | ( | QWidget * | parent = nullptr | ) |
Definition at line 26 of file ProjectionsEditor.cpp.
References m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, m_toolBar, and setup_connections().
void ProjectionsEditor::resetContext | ( | ) |
Definition at line 70 of file ProjectionsEditor.cpp.
References m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, ProjectionsEditorCanvas::resetContext(), ProjectionsWidget::setItem(), and SessionItemWidget::setItem().
Referenced by IntensityDataProjectionsWidget::unsubscribeFromItem().
void ProjectionsEditor::setContext | ( | SessionModel * | model, |
const QModelIndex & | shapeContainerIndex, | ||
IntensityDataItem * | intensityItem | ||
) |
Definition at line 52 of file ProjectionsEditor.cpp.
References m_editorActions, m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, m_selectionModel, ProjectionsEditorActions::setContext(), ProjectionsEditorCanvas::setContext(), ProjectionsWidget::setItem(), SessionItemWidget::setItem(), ProjectionsEditorCanvas::setSelectionModel(), and ProjectionsEditorActions::setSelectionModel().
Referenced by IntensityDataProjectionsWidget::subscribeToItem().
|
private |
Definition at line 82 of file ProjectionsEditor.cpp.
References ProjectionsToolBar::activityModeChanged(), ProjectionsWidget::changeActivityRequest(), ProjectionsEditorCanvas::changeActivityRequest(), ProjectionsEditorCanvas::deleteSelectedRequest(), MaskEditorFlags::HORIZONTAL_LINE_MODE, m_editorActions, m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, m_toolBar, ProjectionsEditorCanvas::marginsChanged(), ProjectionsEditorCanvas::onActivityModeChanged(), ProjectionsWidget::onActivityModeChanged(), ProjectionsToolBar::onChangeActivityRequest(), ProjectionsEditorActions::onDeleteAction(), ProjectionsWidget::onMarginsChanged(), ProjectionsToolBar::onProjectionTabChange(), ProjectionsEditorCanvas::onResetViewRequest(), ProjectionsEditorActions::propertyPanelRequest(), and ProjectionsEditorActions::resetViewRequest().
Referenced by ProjectionsEditor().
QList< QAction * > ProjectionsEditor::topToolBarActions | ( | ) |
Definition at line 77 of file ProjectionsEditor.cpp.
References m_editorActions, and ProjectionsEditorActions::topToolBarActions().
Referenced by IntensityDataProjectionsWidget::actionList().
|
private |
Definition at line 49 of file ProjectionsEditor.h.
Referenced by setContext(), setup_connections(), and topToolBarActions().
|
private |
main tool bar with bottoms at the right
Definition at line 51 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
canvas with color map at the top
Definition at line 52 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
bottom widget to draw projections plot
Definition at line 53 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
pannel at the right with properties
Definition at line 54 of file ProjectionsEditor.h.
Referenced by setContext().
|
private |
Definition at line 50 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), and setup_connections().