BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
GraphItemControllerImpl (GraphPlotController *master, QCustomPlot *plot) | |
~GraphItemControllerImpl () | |
GraphItem * | graph_item () |
void | init_graph () |
Setups controllers and updates graph properties. More... | |
void | reset_graph () |
void | update_data_controller () |
void | update_graph_pen () |
Updates graph pen from GraphItem. More... | |
void | update_visible () |
Update visible. More... | |
Public Attributes | |
QCustomPlot * | m_customPlot {nullptr} |
std::unique_ptr< Data1DPlotController > | m_dataController |
QCPGraph * | m_graph {nullptr} |
std::unique_ptr< PenController > | m_penController |
GraphPlotController * | m_self {nullptr} |
Definition at line 26 of file graphplotcontroller.cpp.
|
inline |
Definition at line 33 of file graphplotcontroller.cpp.
|
inline |
Definition at line 51 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::m_customPlot, and ModelView::GraphPlotController::GraphItemControllerImpl::m_graph.
|
inline |
Definition at line 57 of file graphplotcontroller.cpp.
References ModelView::ItemListener< T >::currentItem(), and ModelView::GraphPlotController::GraphItemControllerImpl::m_self.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::update_data_controller(), ModelView::GraphPlotController::GraphItemControllerImpl::update_graph_pen(), and ModelView::GraphPlotController::GraphItemControllerImpl::update_visible().
|
inline |
Setups controllers and updates graph properties.
Definition at line 40 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::m_customPlot, ModelView::GraphPlotController::GraphItemControllerImpl::m_dataController, ModelView::GraphPlotController::GraphItemControllerImpl::m_graph, ModelView::GraphPlotController::GraphItemControllerImpl::m_penController, ModelView::GraphPlotController::GraphItemControllerImpl::update_data_controller(), ModelView::GraphPlotController::GraphItemControllerImpl::update_graph_pen(), and ModelView::GraphPlotController::GraphItemControllerImpl::update_visible().
|
inline |
Definition at line 72 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::m_customPlot, ModelView::GraphPlotController::GraphItemControllerImpl::m_dataController, ModelView::GraphPlotController::GraphItemControllerImpl::m_graph, and ModelView::GraphPlotController::GraphItemControllerImpl::m_penController.
|
inline |
Definition at line 59 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::graph_item(), and ModelView::GraphPlotController::GraphItemControllerImpl::m_dataController.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::init_graph().
|
inline |
Updates graph pen from GraphItem.
Definition at line 63 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::graph_item(), and ModelView::GraphPlotController::GraphItemControllerImpl::m_penController.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::init_graph().
|
inline |
Update visible.
Definition at line 66 of file graphplotcontroller.cpp.
References ModelView::GraphPlotController::GraphItemControllerImpl::graph_item(), ModelView::GraphPlotController::GraphItemControllerImpl::m_customPlot, ModelView::GraphPlotController::GraphItemControllerImpl::m_graph, and ModelView::GraphItem::P_DISPLAYED.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::init_graph().
QCustomPlot* ModelView::GraphPlotController::GraphItemControllerImpl::m_customPlot {nullptr} |
Definition at line 28 of file graphplotcontroller.cpp.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::~GraphItemControllerImpl(), ModelView::GraphPlotController::GraphItemControllerImpl::init_graph(), ModelView::GraphPlotController::GraphItemControllerImpl::reset_graph(), and ModelView::GraphPlotController::GraphItemControllerImpl::update_visible().
std::unique_ptr<Data1DPlotController> ModelView::GraphPlotController::GraphItemControllerImpl::m_dataController |
QCPGraph* ModelView::GraphPlotController::GraphItemControllerImpl::m_graph {nullptr} |
Definition at line 29 of file graphplotcontroller.cpp.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::~GraphItemControllerImpl(), ModelView::GraphPlotController::GraphItemControllerImpl::init_graph(), ModelView::GraphPlotController::GraphItemControllerImpl::reset_graph(), and ModelView::GraphPlotController::GraphItemControllerImpl::update_visible().
std::unique_ptr<PenController> ModelView::GraphPlotController::GraphItemControllerImpl::m_penController |
GraphPlotController* ModelView::GraphPlotController::GraphItemControllerImpl::m_self {nullptr} |
Definition at line 27 of file graphplotcontroller.cpp.
Referenced by ModelView::GraphPlotController::GraphItemControllerImpl::graph_item().