|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements class CLASS? More...
Go to the source code of this file.
Classes | |
| class | ColorMapPlotControllerTest |
| Testing ColorMapPlotController. More... | |
Functions | |
| TEST_F (ColorMapPlotControllerTest, controllerDelete) | |
| Deletion of controller should lead to graph removal. More... | |
| TEST_F (ColorMapPlotControllerTest, initialState) | |
| Initial state. More... | |
| TEST_F (ColorMapPlotControllerTest, setDataAfter) | |
| Setting data to graph after. More... | |
| TEST_F (ColorMapPlotControllerTest, setGradient) | |
| Deletion of controller should lead to graph removal. More... | |
| TEST_F (ColorMapPlotControllerTest, setItem) | |
| Setting ColorMapItem with data and checking that QCPColorMap appeared among plottables. More... | |
| TEST_F (ColorMapPlotControllerTest, unlinkFromItem) | |
| Unlinking from Data2DItem or ColorMapItem. More... | |
Implements class CLASS?
Definition in file colormapplotcontroller.test.cpp.
| TEST_F | ( | ColorMapPlotControllerTest | , |
| controllerDelete | |||
| ) |
Deletion of controller should lead to graph removal.
Definition at line 167 of file colormapplotcontroller.test.cpp.
References ModelView::SessionModel::insertItem().
| TEST_F | ( | ColorMapPlotControllerTest | , |
| initialState | |||
| ) |
Initial state.
Definition at line 39 of file colormapplotcontroller.test.cpp.
References ModelView::ItemListener< T >::currentItem().
| TEST_F | ( | ColorMapPlotControllerTest | , |
| setDataAfter | |||
| ) |
Setting data to graph after.
Definition at line 88 of file colormapplotcontroller.test.cpp.
References ModelView::FixedBinAxisItem::create(), ModelView::SessionModel::insertItem(), ModelView::Data2DItem::setAxes(), and ModelView::ItemListenerBase::setItem().
| TEST_F | ( | ColorMapPlotControllerTest | , |
| setGradient | |||
| ) |
Deletion of controller should lead to graph removal.
Definition at line 191 of file colormapplotcontroller.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::ColorMapItem::P_GRADIENT, ModelView::SessionItem::property(), ModelView::SessionItem::setProperty(), and ModelView::ComboProperty::setValue().
| TEST_F | ( | ColorMapPlotControllerTest | , |
| setItem | |||
| ) |
Setting ColorMapItem with data and checking that QCPColorMap appeared among plottables.
Definition at line 52 of file colormapplotcontroller.test.cpp.
References ModelView::FixedBinAxisItem::create(), ModelView::SessionModel::insertItem(), ModelView::Data2DItem::setAxes(), ModelView::ColorMapItem::setDataItem(), and ModelView::ItemListenerBase::setItem().
| TEST_F | ( | ColorMapPlotControllerTest | , |
| unlinkFromItem | |||
| ) |
Unlinking from Data2DItem or ColorMapItem.
Definition at line 125 of file colormapplotcontroller.test.cpp.
References ModelView::FixedBinAxisItem::create(), ModelView::SessionModel::insertItem(), ModelView::Data2DItem::setAxes(), ModelView::ColorMapItem::setDataItem(), and ModelView::ItemListenerBase::setItem().