BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Holds tabs of vertical and horizontal projections, located at the bottom of ProjectionsEditor.
Definition at line 26 of file ProjectionsWidget.h.
Public Types | |
enum | ETabId { HORIZONTAL , VERTICAL } |
Public Slots | |
void | onActivityModeChanged (MaskEditorFlags::Activity value) |
void | onMarginsChanged (double left, double right) |
Signals | |
void | changeActivityRequest (MaskEditorFlags::Activity value) |
Public Member Functions | |
ProjectionsWidget (QWidget *parent=nullptr) | |
virtual QList< QAction * > | actionList () |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
void | setItem (SessionItem *intensityItem) override |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
virtual void | subscribeToItem () |
virtual void | unsubscribeFromItem () |
Private Slots | |
void | onTabChanged (int tab_index) |
Private Member Functions | |
void | setConnected (bool isConnected) |
Private Attributes | |
SessionItemController * | m_itemController |
QTabWidget * | m_tabWidget |
ProjectionsPlot * | m_xProjection |
ProjectionsPlot * | m_yProjection |
ProjectionsWidget::ProjectionsWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 28 of file ProjectionsWidget.cpp.
References HORIZONTAL, m_tabWidget, m_xProjection, m_yProjection, setConnected(), and VERTICAL.
|
virtualinherited |
Reimplemented in IntensityDataProjectionsWidget, SpecularDataWidget, SpecularDataCanvas, FitComparisonWidget1D, FitComparisonWidget, IntensityDataWidget, IntensityDataCanvas, SpecularDataImportWidget, RealDataPresenter, and RealDataMaskWidget.
Definition at line 36 of file SessionItemWidget.cpp.
Referenced by ItemComboWidget::setPresentation().
|
signal |
Referenced by onTabChanged(), and ProjectionsEditor::setup_connections().
|
inherited |
Definition at line 41 of file SessionItemWidget.cpp.
Referenced by FitFlowWidget::fitSuiteItem(), RealDataMaskWidget::intensityDataItem(), IntensityDataCanvas::intensityDataItem(), IntensityDataWidget::intensityDataItem(), IntensityDataProjectionsWidget::intensityDataItem(), ProjectionsPlot::intensityItem(), ColorMap::intensityItem(), JobResultsPresenter::itemPresentation(), FitParameterWidget::jobItem(), ParameterTuningWidget::jobItem(), RunFitControlWidget::jobItem(), FitComparisonWidget::jobItem(), FitComparisonWidget1D::jobItem(), IntensityDataPropertyWidget::jobItem(), SpecularDataPropertyWidget::jobItem(), SpecularDataImportWidget::realDataItem(), ItemComboWidget::setPresentation(), JobResultsPresenter::setPresentation(), SpecularDataImportWidget::specularDataItem(), SpecularDataCanvas::specularDataItem(), SpecularDataWidget::specularDataItem(), SpecularPlot::specularItem(), ItemComboWidget::subscribeToItem(), ProjectionsPlot::unsubscribeFromChildren(), and Plot1D::viewItem().
|
inherited |
Definition at line 46 of file SessionItemWidget.cpp.
References SessionItemController::currentItem(), and SessionItemWidget::m_itemController.
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
slot |
Definition at line 55 of file ProjectionsWidget.cpp.
References MaskEditorFlags::HORIZONTAL_LINE_MODE, m_tabWidget, setConnected(), and MaskEditorFlags::VERTICAL_LINE_MODE.
Referenced by ProjectionsEditor::setup_connections().
|
slot |
Definition at line 67 of file ProjectionsWidget.cpp.
References m_xProjection, m_yProjection, and ProjectionsPlot::onMarginsChanged().
Referenced by ProjectionsEditor::setup_connections().
|
privateslot |
Definition at line 73 of file ProjectionsWidget.cpp.
References changeActivityRequest(), MaskEditorFlags::HORIZONTAL_LINE_MODE, and MaskEditorFlags::VERTICAL_LINE_MODE.
Referenced by setConnected().
|
private |
Definition at line 81 of file ProjectionsWidget.cpp.
References m_tabWidget, and onTabChanged().
Referenced by ProjectionsWidget(), and onActivityModeChanged().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 48 of file ProjectionsWidget.cpp.
References m_xProjection, m_yProjection, and SessionItemWidget::setItem().
Referenced by ProjectionsEditor::resetContext(), and ProjectionsEditor::setContext().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
inlineprotectedvirtualinherited |
Reimplemented in ProjectionsPlot, IntensityDataProjectionsWidget, ColorMap, SpecularPlot, Plot1D, FitFlowWidget, FitComparisonWidget1D, FitComparisonWidget, IntensityDataCanvas, RealDataMaskWidget, RunFitControlWidget, ParameterTuningWidget, FitParameterWidget, and ItemComboWidget.
Definition at line 43 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget().
|
inlineprotectedvirtualinherited |
Reimplemented in ProjectionsPlot, IntensityDataProjectionsWidget, ColorMap, SpecularPlot, Plot1D, FitFlowWidget, FitComparisonWidget1D, FitComparisonWidget, RealDataMaskWidget, and RunFitControlWidget.
Definition at line 44 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget().
|
privateinherited |
Definition at line 49 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget(), SessionItemWidget::currentItem(), SessionItemWidget::hideEvent(), SessionItemWidget::setItem(), and SessionItemWidget::showEvent().
|
private |
Definition at line 50 of file ProjectionsWidget.h.
Referenced by ProjectionsWidget(), onActivityModeChanged(), and setConnected().
|
private |
Definition at line 48 of file ProjectionsWidget.h.
Referenced by ProjectionsWidget(), onMarginsChanged(), and setItem().
|
private |
Definition at line 49 of file ProjectionsWidget.h.
Referenced by ProjectionsWidget(), onMarginsChanged(), and setItem().