plugins/paintops/libpaintop
kis_multi_sensors_model_p.h
Go to the documentation of this file.
38 void setCurrentCurve(const QModelIndex& currentIndex, const KisCubicCurve& curve, bool useSameCurve);
KisMultiSensorsModel(QObject *parent=0)
void sensorChanged(KisDynamicSensorSP sensor)
KisCurveOption is the base class for paintop options that are defined through one or more curves.
Definition: kis_curve_option.h:34
int rowCount(const QModelIndex &parent=QModelIndex()) const override
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
void setCurrentCurve(const QModelIndex ¤tIndex, const KisCubicCurve &curve, bool useSameCurve)
QModelIndex sensorIndex(KisDynamicSensorSP arg1)
Create an index that correspond to the sensor given in argument.
void parametersChanged()
This signal is emitted when the parameters of sensor are changed.
~KisMultiSensorsModel() override
void resetCurveOption()
void setCurveOption(KisCurveOption *curveOption)
KisDynamicSensorSP getSensor(const QModelIndex &index)
Qt::ItemFlags flags(const QModelIndex &index) const override
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
KisSharedPtr< KisDynamicSensor > KisDynamicSensorSP
Definition: kis_dynamic_sensor.h:55
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
typedef ItemFlags
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 17 2021 23:38:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 17 2021 23:38:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.