BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
ColorScalePlotControllerImpl (ColorScalePlotController *controller, QCPColorScale *color_scale) | |
QCustomPlot * | customPlot () |
void | hide_colorscale () |
void | setup_components () |
void | setup_margins () |
Setup margins of color scale to match top/bottom margins of axis rectangle. More... | |
void | show_colorscale () |
void | update_log_scale () |
Updates color scale for log10. More... | |
Public Attributes | |
std::unique_ptr< ViewportAxisPlotController > | axisController |
QCPColorScale * | color_scale {nullptr} |
ColorScalePlotController * | controller {nullptr} |
QCPLayoutGrid * | layout_grid {new QCPLayoutGrid} |
QCPMarginGroup * | margin_group {nullptr} |
Definition at line 23 of file colorscaleplotcontroller.cpp.
|
inline |
Definition at line 31 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::axisController, and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale.
|
inline |
Definition at line 86 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::hide_colorscale(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_margins(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::show_colorscale().
|
inline |
Definition at line 65 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::customPlot(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::layout_grid.
|
inline |
Definition at line 40 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::axisController, ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::controller, ModelView::ItemListener< T >::currentItem(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_margins(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::show_colorscale(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::update_log_scale().
|
inline |
Setup margins of color scale to match top/bottom margins of axis rectangle.
Definition at line 74 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale, ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::customPlot(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::margin_group.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_components().
|
inline |
Definition at line 56 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale, ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::customPlot(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::layout_grid.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_components().
|
inline |
Updates color scale for log10.
Definition at line 50 of file colorscaleplotcontroller.cpp.
References ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale, ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::controller, ModelView::ItemListener< T >::currentItem(), and ModelView::ViewportAxisItem::is_in_log().
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_components().
std::unique_ptr<ViewportAxisPlotController> ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::axisController |
QCPColorScale* ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::color_scale {nullptr} |
Definition at line 26 of file colorscaleplotcontroller.cpp.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::ColorScalePlotControllerImpl(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::customPlot(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_margins(), ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::show_colorscale(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::update_log_scale().
ColorScalePlotController* ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::controller {nullptr} |
Definition at line 25 of file colorscaleplotcontroller.cpp.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_components(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::update_log_scale().
QCPLayoutGrid* ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::layout_grid {new QCPLayoutGrid} |
Definition at line 27 of file colorscaleplotcontroller.cpp.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::hide_colorscale(), and ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::show_colorscale().
QCPMarginGroup* ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::margin_group {nullptr} |
Definition at line 29 of file colorscaleplotcontroller.cpp.
Referenced by ModelView::ColorScalePlotController::ColorScalePlotControllerImpl::setup_margins().