MatrixEditCellCommand Class Reference

#include <MatrixCommand.h>

List of all members.


Detailed Description

Matrix commands used by the undo/redo framework.

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

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:

Generated on Tue Jun 17 08:36:16 2008 for QtiPlot by  doxygen 1.5.5