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

Method setLayout

src/backend/worksheet/Worksheet.cpp:708–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706/* ============================ setter methods and undo commands for layout options ================= */
707STD_SETTER_CMD_IMPL_F_S(Worksheet, SetLayout, Worksheet::Layout, layout, updateLayout)
708void Worksheet::setLayout(Worksheet::Layout layout) {
709 Q_D(Worksheet);
710 if (layout != d->layout) {
711 beginMacro(i18n("%1: set layout", name()));
712 exec(new WorksheetSetLayoutCmd(d, layout, ki18n("%1: set layout")));
713 endMacro();
714 }
715}
716
717STD_SETTER_CMD_IMPL_M_F_S(Worksheet, SetLayoutTopMargin, double, layoutTopMargin, updateLayout)
718void Worksheet::setLayoutTopMargin(double margin) {

Callers 15

mainFunction · 0.80
CAutoHideSideBarMethod · 0.80
createLayoutMethod · 0.80
CDockAreaTabBarMethod · 0.80
createLayoutMethod · 0.80
BarPlotDockMethod · 0.80
setupGeneralMethod · 0.80
LollipopPlotDockMethod · 0.80
setupGeneralMethod · 0.80
layoutChangedMethod · 0.80
BoxPlotDockMethod · 0.80
ImportFileWidgetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected