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

Function SaveGeometry

Modules/SegmentationUI/src/QmitkFindSegmentationTaskDialog.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void SaveGeometry(const QByteArray& geometry)
43 {
44 auto* node = mitk::CoreServices::GetPreferencesService()->GetSystemPreferences()->Node("/org.mitk.views.segmentationtasklist");
45 node->PutByteArray("QmitkFindSegmentationTaskDialog geometry", reinterpret_cast<const std::byte*>(geometry.data()), geometry.size());
46 }
47
48 void SaveColumnWidths(const QTableWidget* table)
49 {

Callers 1

OnFinishedMethod · 0.85

Calls 5

PutByteArrayMethod · 0.80
NodeMethod · 0.45
GetSystemPreferencesMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected