MCPcopy Create free account
hub / github.com/KDAB/KDChart / AttributesModel

Method AttributesModel

src/KDChart/KDChartAttributesModel.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59#define d d_func()
60
61AttributesModel::AttributesModel(QAbstractItemModel *model, QObject *parent /* = 0 */)
62 : AbstractProxyModel(parent)
63 , _d(new Private)
64{
65 setSourceModel(model);
66 setDefaultForRole(KDChart::DataValueLabelAttributesRole,
67 DataValueAttributes::defaultAttributesAsVariant());
68}
69
70AttributesModel::~AttributesModel()
71{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected