scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot). Fossies Dox: scidavis-2.3.0.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
33 #include <QAbstractItemModel>
35 #include <QStringList>
72 Qt::ItemFlags
flags(
const QModelIndex &
index )
const;
73 QVariant
data(
const QModelIndex &
index,
int role)
const;
75 Qt::Orientation orientation,
int role)
const;
78 bool setData(
const QModelIndex &
index,
const QVariant & value,
int role);
79 QModelIndex
index(
int row,
int column,
const QModelIndex &
parent = QModelIndex())
const;
80 QModelIndex
parent(
const QModelIndex & child)
const;
83 #ifdef LEGACY_CODE_0_2_x
84 bool isReadOnly()
const {
return d_read_only; }
85 void setReadOnly(
bool read_only) { d_read_only = read_only; }
112 #ifdef LEGACY_CODE_0_2_x
Model for the access to a Table.
CustomDataRole
Custom data roles used in addition to Qt::ItemDataRole.
void handleColumnsAboutToBeInserted(int, QList< Column * >)
QVariant data(const QModelIndex &index, int role) const
QPointer< future::Table > d_table
TableModel(future::Table *table)
Constructor.
int rowCount(const QModelIndex &parent=QModelIndex()) const
void handleColumnsRemoved(int first, int count)
bool d_formula_mode
Toggle flag for formula mode.
Aspect providing a spreadsheet table with column logic.
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Aspect that manages a column.
void handleRowsAboutToBeInserted(int before, int count)
Qt::ItemFlags flags(const QModelIndex &index) const
MDI window providing a spreadsheet table with column logic.
void handleColumnsAboutToBeRemoved(int first, int count)
void handleDataChanged(int top, int left, int bottom, int right)
void handleRowsAboutToBeRemoved(int first, int count)
QVariant headerData(int section, Qt::Orientation orientation, int role) const
int columnCount(const QModelIndex &parent=QModelIndex()) const
void handleColumnsInserted(int first, int count)
QModelIndex parent(const QModelIndex &child) const
void activateFormulaMode(bool on)
@ CommentRole
the column comment (for headerData())
@ FormulaRole
the cells formula
void handleRowsInserted(int first, int count)
@ MaskingRole
bool determining whether the cell is masked
void handleRowsRemoved(int first, int count)
bool formulaModeActive() const
bool setData(const QModelIndex &index, const QVariant &value, int role)
Column * column(int index)