JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

QAbstractTableModel descendent that allows to view data in a JKQTPDatastore. More...

#include <jkqtpdatastorage.h>

Inheritance diagram for JKQTPDatastoreModel:
[legend]
Collaboration diagram for JKQTPDatastoreModel:
[legend]

Public Slots

void reloadModel ()
 

Public Member Functions

 JKQTPDatastoreModel (JKQTPDatastore *datastore, QObject *parent=nullptr)
 
virtual ~JKQTPDatastoreModel () override
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
virtual QVariant data (const QModelIndex &index, int role) const override
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const override
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const override
 

Protected Attributes

JKQTPDatastoredatastore
 

Detailed Description

QAbstractTableModel descendent that allows to view data in a JKQTPDatastore.

See also
JKQTPDatastore

Constructor & Destructor Documentation

◆ JKQTPDatastoreModel()

JKQTPDatastoreModel::JKQTPDatastoreModel ( JKQTPDatastore datastore,
QObject *  parent = nullptr 
)

◆ ~JKQTPDatastoreModel()

virtual JKQTPDatastoreModel::~JKQTPDatastoreModel ( )
overridevirtual

Member Function Documentation

◆ columnCount()

virtual int JKQTPDatastoreModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
overridevirtual

◆ data()

virtual QVariant JKQTPDatastoreModel::data ( const QModelIndex &  index,
int  role 
) const
overridevirtual

◆ flags()

virtual Qt::ItemFlags JKQTPDatastoreModel::flags ( const QModelIndex &  index) const
overridevirtual

◆ headerData()

virtual QVariant JKQTPDatastoreModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
overridevirtual

◆ reloadModel

void JKQTPDatastoreModel::reloadModel ( )
slot

◆ rowCount()

virtual int JKQTPDatastoreModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
overridevirtual

Member Data Documentation

◆ datastore

JKQTPDatastore* JKQTPDatastoreModel::datastore
protected

The documentation for this class was generated from the following file: