22#ifndef jkqtpgraphsmodel_H
23#define jkqtpgraphsmodel_H
25#include "jkqtplotter/jkqtpbaseplotter.h"
26#include "jkqtplotter/jkqtplotter_imexport.h"
28#include <QAbstractTableModel>
45 int rowCount(
const QModelIndex &parent = QModelIndex())
const override ;
46 int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
47 QVariant
data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const override;
48 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole)
override;
49 Qt::ItemFlags
flags(
const QModelIndex & index)
const override ;
base class for 2D plotter classes (used by the plotter widget JKQTPlotter)
Definition jkqtpbaseplotter.h:394
data model with all plots ina JKQTBasePlotter (+ allows to switch them visible/invisible)
Definition jkqtpgraphsmodel.h:41
int columnCount(const QModelIndex &parent=QModelIndex()) const override
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
JKQTPGraphsModel(JKQTBasePlotter *parent)
Qt::ItemFlags flags(const QModelIndex &index) const override
JKQTBasePlotter * m_plotter
Definition jkqtpgraphsmodel.h:53
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
int rowCount(const QModelIndex &parent=QModelIndex()) const override
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89