BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Widget to show canvas with graph collection. More...
Public Member Functions | |
GraphCanvasWidget (QWidget *parent=nullptr) | |
void | setItem (CanvasItem *canvas_item) |
void | updateViewport () |
Private Attributes | |
ModelView::GraphCanvas * | m_graphCanvas {nullptr} |
Widget to show canvas with graph collection.
Occupies the right part of ImportDataEditor.
Definition at line 32 of file graphcanvaswidget.h.
gui2::GraphCanvasWidget::GraphCanvasWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 22 of file graphcanvaswidget.cpp.
References m_graphCanvas.
void gui2::GraphCanvasWidget::setItem | ( | CanvasItem * | canvas_item | ) |
Definition at line 30 of file graphcanvaswidget.cpp.
References m_graphCanvas, and ModelView::GraphCanvas::setItem().
Referenced by gui2::ImportDataEditor::setupConnections().
void gui2::GraphCanvasWidget::updateViewport | ( | ) |
Definition at line 35 of file graphcanvaswidget.cpp.
References m_graphCanvas, and ModelView::GraphCanvas::setViewportToContent().
Referenced by gui2::ImportDataEditor::setupConnections().
|
private |
Definition at line 43 of file graphcanvaswidget.h.
Referenced by GraphCanvasWidget(), setItem(), and updateViewport().