MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / insert

Method insert

src/openms_gui/source/VISUAL/MultiGradient.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void MultiGradient::insert(double position, QColor color)
58 {
59 if (position >= 0 && position <= 100)
60 {
61 pos_col_[position] = std::move(color);
62 }
63 else
64 {
65 throw InvalidRange(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION);
66 }
67 }
68
69 UInt MultiGradient::position(UInt index)
70 {

Callers 15

storeRecursive_Method · 0.45
addTransitionAsLayerFunction · 0.45
SpectraIDViewTabMethod · 0.45
updateEntries_Method · 0.45
saveIDs_Method · 0.45
finishHoveringEdgeMethod · 0.45
foreachFunction · 0.45
contextMenuEventMethod · 0.45
openContainingFolderMethod · 0.45
addLayerMethod · 0.45
waitForToolParamsMethod · 0.45
waitForPluginParamsMethod · 0.45

Calls

no outgoing calls

Tested by 3

SpectraIDViewTabMethod · 0.36
updateEntries_Method · 0.36
saveIDs_Method · 0.36