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

Method setFixedLabelMode

src/frontend/widgets/LabelWidget.cpp:376–391  ·  view source on GitHub ↗

! * enables/disables the "fixed label"-mode, used when displaying * the properties of axis' title label. * In this mode, in the "geometry"-part only the offset (offset to the axis) * and the rotation of the label are available. */

Source from the content-addressed store, hash-verified

374 * and the rotation of the label are available.
375 */
376void LabelWidget::setFixedLabelMode(const bool b) {
377 ui.lPositionX->setVisible(!b);
378 ui.cbPositionX->setVisible(!b);
379 ui.sbPositionX->setVisible(!b);
380 ui.lPositionY->setVisible(!b);
381 ui.cbPositionY->setVisible(!b);
382 ui.sbPositionY->setVisible(!b);
383 ui.lHorizontalAlignment->setVisible(!b);
384 ui.cbHorizontalAlignment->setVisible(!b);
385 ui.lVerticalAlignment->setVisible(!b);
386 ui.cbVerticalAlignment->setVisible(!b);
387 ui.lOffsetX->setVisible(b);
388 ui.lOffsetY->setVisible(b);
389 ui.sbOffsetX->setVisible(b);
390 ui.sbOffsetY->setVisible(b);
391}
392
393/*!
394 * enables/disables all geometry relevant widgets.

Callers 1

AxisDockMethod · 0.80

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected