MCPcopy Create free account
hub / github.com/YACReader/yacreader / saveFlowParameters

Method saveFlowParameters

custom_widgets/yacreader_options_dialog.cpp:99–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void YACReaderOptionsDialog::saveFlowParameters()
100{
101 settings->setValue(X_ROTATION, gl->xRotation->getValue());
102 settings->setValue(Y_POSITION, gl->yPosition->getValue());
103 settings->setValue(COVER_DISTANCE, gl->coverDistance->getValue());
104 settings->setValue(CENTRAL_DISTANCE, gl->centralDistance->getValue());
105 settings->setValue(ZOOM_LEVEL, gl->zoomLevel->getValue());
106 settings->setValue(Y_COVER_OFFSET, gl->yCoverOffset->getValue());
107 settings->setValue(Z_COVER_OFFSET, gl->zCoverOffset->getValue());
108 settings->setValue(COVER_ROTATION, gl->coverRotation->getValue());
109 settings->setValue(FADE_OUT_DIST, gl->fadeOutDist->getValue());
110 settings->setValue(LIGHT_STRENGTH, gl->lightStrength->getValue());
111 settings->setValue(MAX_ANGLE, gl->maxAngle->getValue());
112}
113
114void YACReaderOptionsDialog::saveOptions()
115{

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.80
getValueMethod · 0.80

Tested by

no test coverage detected