MCPcopy Create free account
hub / github.com/KDE/labplot / save

Method save

src/frontend/worksheet/GridDialog.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void GridDialog::save(WorksheetView::GridSettings& settings) {
109 if (cbStyle->currentIndex() == 0)
110 settings.style = WorksheetView::GridStyle::Line;
111 else
112 settings.style = WorksheetView::GridStyle::Dot;
113
114 settings.horizontalSpacing = sbHorizontalSpacing->value();
115 settings.verticalSpacing = sbVerticalSpacing->value();
116 settings.color = kcbColor->color();
117 settings.opacity = (float)sbOpacity->value() / 100;
118}

Callers 9

getMaxIconMethod · 0.45
getMinIconMethod · 0.45
getBackIconMethod · 0.45
getForwardIconMethod · 0.45
drawForegroundMethod · 0.45
drawBackgroundMethod · 0.45
changeGridMethod · 0.45
exportToFileMethod · 0.45
exportPaintMethod · 0.45

Calls 3

currentIndexMethod · 0.45
valueMethod · 0.45
colorMethod · 0.45

Tested by

no test coverage detected