SpikeStream Application Library  0.2
spikestream::ConnectionsModel Class Reference

#include <ConnectionsModel.h>

List of all members.

Public Member Functions

 ConnectionsModel ()
 ~ConnectionsModel ()
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
int rowCount (const QModelIndex &parent=QModelIndex()) const

Detailed Description

Model for displaying connection groups. Based on the ConnectionGroups table in the SpikeStreamNetwork database. Uses the connections list that is held in the NetworkDisplay class and populated by the NetworkViewer when it renders the connections.

Definition at line 17 of file ConnectionsModel.h.


Constructor & Destructor Documentation

Constructor

Definition at line 15 of file ConnectionsModel.cpp.

Destructor

Definition at line 22 of file ConnectionsModel.cpp.


Member Function Documentation

int ConnectionsModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Inherited from QAbstractTableModel. Returns the number of columns in the model

Definition at line 31 of file ConnectionsModel.cpp.

QVariant ConnectionsModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Inherited from QAbstractTableModel. Returns the data at the specified model index ready to be displayed in the way requested

Definition at line 38 of file ConnectionsModel.cpp.

QVariant ConnectionsModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Inherited from QAbstractTableModel. Returns the header data

Definition at line 76 of file ConnectionsModel.cpp.

int ConnectionsModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Inherited from QAbstractTableModel. Returns the number of rows in the model.

Definition at line 101 of file ConnectionsModel.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines