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

Method setColumn

src/backend/worksheet/plots/cartesian/Value.cpp:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121STD_SETTER_CMD_IMPL_F_S(Value, SetColumn, const AbstractColumn*, column, updateValue)
122void Value::setColumn(const AbstractColumn* column) {
123 Q_D(Value);
124 if (column != d->column) {
125 exec(new ValueSetColumnCmd(d, column, ki18n("%1: set values column")));
126 if (column) {
127 connect(column, &AbstractColumn::dataChanged, this, &Value::updateRequested);
128 connect(column->parentAspect(), &AbstractAspect::childAspectAboutToBeRemoved, this, &Value::columnAboutToBeRemoved);
129 }
130 }
131}
132
133STD_SETTER_CMD_IMPL_F_S(Value, SetPosition, Value::Position, position, updateValue)
134void Value::setPosition(Position position) {

Callers 3

columnChangedMethod · 0.45
setDataExportStartPosMethod · 0.45
handleAspectUpdatedMethod · 0.45

Calls 1

parentAspectMethod · 0.80

Tested by

no test coverage detected