BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Editor to draw projections on top of intensity plot. Part of.
Definition at line 34 of file ProjectionsEditor.h.
Public Member Functions | |
ProjectionsEditor (SessionItemWidget *upperSessionItemWidget=nullptr, 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... | |
IntensityDataPropertyWidget * | m_propertyPanel |
bottom widget to draw projections plot More... | |
QItemSelectionModel * | m_selectionModel |
panel at the right with properties More... | |
ProjectionsToolbar * | m_toolbar |
ProjectionsEditor::ProjectionsEditor | ( | SessionItemWidget * | upperSessionItemWidget = nullptr , |
QWidget * | parent = nullptr |
||
) |
Definition at line 27 of file ProjectionsEditor.cpp.
References m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, m_toolbar, and setup_connections().
void ProjectionsEditor::resetContext | ( | ) |
Definition at line 77 of file ProjectionsEditor.cpp.
References m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, ProjectionsEditorCanvas::resetContext(), IntensityDataPropertyWidget::setItem(), and ProjectionsWidget::setItem().
Referenced by IntensityDataProjectionsWidget::unsubscribeFromItem().
void ProjectionsEditor::setContext | ( | SessionModel * | model, |
const QModelIndex & | shapeContainerIndex, | ||
IntensityDataItem * | intensityItem | ||
) |
Definition at line 59 of file ProjectionsEditor.cpp.
References m_editorActions, m_projectionsCanvas, m_projectionsWidget, m_propertyPanel, m_selectionModel, ProjectionsEditorActions::setContext(), ProjectionsEditorCanvas::setContext(), IntensityDataPropertyWidget::setItem(), ProjectionsWidget::setItem(), ProjectionsEditorCanvas::setSelectionModel(), and ProjectionsEditorActions::setSelectionModel().
Referenced by IntensityDataProjectionsWidget::subscribeToItem().
|
private |
Definition at line 89 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 84 of file ProjectionsEditor.cpp.
References m_editorActions, and ProjectionsEditorActions::topToolbarActions().
Referenced by IntensityDataProjectionsWidget::actionList().
|
private |
Definition at line 51 of file ProjectionsEditor.h.
Referenced by setContext(), setup_connections(), and topToolbarActions().
|
private |
main tool bar with bottoms at the right
Definition at line 53 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
canvas with color map at the top
Definition at line 54 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
bottom widget to draw projections plot
Definition at line 55 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), resetContext(), setContext(), and setup_connections().
|
private |
panel at the right with properties
Definition at line 56 of file ProjectionsEditor.h.
Referenced by setContext().
|
private |
Definition at line 52 of file ProjectionsEditor.h.
Referenced by ProjectionsEditor(), and setup_connections().