BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Widget to show 2D data as color map. More...
Public Member Functions | |
ColorMapCanvas (QWidget *parent=nullptr) | |
~ColorMapCanvas () override | |
std::unique_ptr< SceneAdapterInterface > | createSceneAdapter () const |
Creates adapter to convert widget coordinates, to QCustomPlot internal coordinate system (defined by its axes). More... | |
void | setItem (ColorMapViewportItem *viewport_item) |
Private Attributes | |
std::unique_ptr< ColorMapCanvasImpl > | p_impl |
Widget to show 2D data as color map.
Contains embedded QCustomPlot widget, shows content of ColorMapViewportItem.
Definition at line 30 of file colormapcanvas.h.
|
explicit |
Definition at line 45 of file colormapcanvas.cpp.
References p_impl.
|
overridedefault |
std::unique_ptr< SceneAdapterInterface > ColorMapCanvas::createSceneAdapter | ( | ) | const |
Creates adapter to convert widget coordinates, to QCustomPlot internal coordinate system (defined by its axes).
Definition at line 69 of file colormapcanvas.cpp.
References p_impl.
void ColorMapCanvas::setItem | ( | ColorMapViewportItem * | viewport_item | ) |
Definition at line 61 of file colormapcanvas.cpp.
References p_impl.
|
private |
Definition at line 43 of file colormapcanvas.h.
Referenced by ColorMapCanvas(), createSceneAdapter(), and setItem().