|
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().
| MatrixSetSizeCommand::~MatrixSetSizeCommand | ( | ) | [inline] |
References d_backup.
| void MatrixSetSizeCommand::redo | ( | ) | [virtual] |
Reimplemented in MatrixResampleCommand.
References d_model, d_new_size, MatrixModel::matrix(), Matrix::resetView(), and MatrixModel::setDimensions().
| void MatrixSetSizeCommand::undo | ( | ) | [virtual] |
double* MatrixSetSizeCommand::d_backup [protected] |
Referenced by undo(), and ~MatrixSetSizeCommand().
MatrixModel* MatrixSetSizeCommand::d_model [protected] |
Referenced by redo(), MatrixResampleCommand::redo(), and undo().
QSize MatrixSetSizeCommand::d_new_size [protected] |
Referenced by redo(), and MatrixResampleCommand::redo().
QSize MatrixSetSizeCommand::d_old_size [protected] |
Referenced by undo().
1.7.6.1