QtiPlot
0.9.8.2
|
#include <MatrixCommand.h>
Public Member Functions | |
MatrixSetSizeCommand (MatrixModel *model, const QSize &oldSize, const QSize &newSize, double *data, const QString &text) | |
virtual void | redo () |
virtual void | undo () |
~MatrixSetSizeCommand () | |
Protected Attributes | |
double * | d_backup |
MatrixModel * | d_model |
QSize | d_new_size |
QSize | d_old_size |
MatrixSetSizeCommand::MatrixSetSizeCommand | ( | MatrixModel * | model, |
const QSize & | oldSize, | ||
const QSize & | newSize, | ||
double * | data, | ||
const QString & | text | ||
) |
References MatrixModel::matrix().
|
inline |
References MatrixEditCellCommand::redo(), and MatrixEditCellCommand::undo().
|
virtual |
Reimplemented in MatrixResampleCommand.
References d_model, d_new_size, MatrixModel::matrix(), Matrix::resetView(), and MatrixModel::setDimensions().
|
virtual |
|
protected |
Referenced by undo().
|
protected |
Referenced by redo(), MatrixResampleCommand::redo(), and undo().
|
protected |
Referenced by redo(), and MatrixResampleCommand::redo().
|
protected |
Referenced by undo().