MCPcopy Create free account
hub / github.com/MITK/MITK / QtToMitk

Function QtToMitk

Modules/SegmentationUI/src/QmitkMultiLabelTreeModel.cpp:505–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505mitk::Color QtToMitk(const QColor& color)
506{
507 mitk::Color mitkColor;
508
509 mitkColor.SetRed(color.red() / 255.0f);
510 mitkColor.SetGreen(color.green() / 255.0f);
511 mitkColor.SetBlue(color.blue() / 255.0f);
512
513 return mitkColor;
514}
515
516bool QmitkMultiLabelTreeModel::setData(const QModelIndex& index, const QVariant& value, int role)
517{

Callers 1

setDataMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected