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

Method setLabelsFormat

src/backend/worksheet/plots/cartesian/Axis.cpp:932–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930// Labels
931STD_SETTER_CMD_IMPL_F_S(Axis, SetLabelsFormat, Axis::LabelsFormat, labelsFormat, retransformTicks)
932void Axis::setLabelsFormat(LabelsFormat labelsFormat) {
933 DEBUG(Q_FUNC_INFO << ", format = " << ENUM_TO_STRING(Axis, LabelsFormat, labelsFormat))
934 Q_D(Axis);
935 if (labelsFormat != d->labelsFormat)
936 exec(new AxisSetLabelsFormatCmd(d, labelsFormat, ki18n("%1: set labels format")));
937}
938
939STD_SETTER_CMD_IMPL_F_S(Axis, SetLabelsFormatAuto, bool, labelsFormatAuto, retransformTicks)
940void Axis::setLabelsFormatAuto(bool automatic) {

Callers 1

labelsFormatChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected