QtiPlot  0.9.8.2
Public Member Functions | Private Attributes
MatrixEditCellCommand Class Reference

Matrix commands used by the undo/redo framework. More...

#include <MatrixCommand.h>

List of all members.

Public Member Functions

 MatrixEditCellCommand (MatrixModel *model, const QModelIndex &index, double valBefore, double valAfter, const QString &text)
virtual void redo ()
virtual void undo ()

Private Attributes

QModelIndex d_index
MatrixModeld_model
double d_val_after
double d_val_before

Detailed Description

Matrix commands used by the undo/redo framework.


Constructor & Destructor Documentation

MatrixEditCellCommand::MatrixEditCellCommand ( MatrixModel model,
const QModelIndex &  index,
double  valBefore,
double  valAfter,
const QString &  text 
)

References MatrixModel::matrix().


Member Function Documentation

void MatrixEditCellCommand::redo ( ) [virtual]
void MatrixEditCellCommand::undo ( ) [virtual]

Member Data Documentation

QModelIndex MatrixEditCellCommand::d_index [private]

Referenced by redo(), and undo().

Referenced by redo(), and undo().

Referenced by redo().

Referenced by undo().


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