MatrixPasteCommand Class Reference
#include <MatrixCommand.h>
List of all members.
Public Member Functions |
| MatrixPasteCommand (MatrixModel *model, int startRow, int endRow, int startCol, int endCol, double *clipboardData, int rows, int cols, double *backupData, int oldRows, int oldCols, const QString &text) |
virtual void | redo () |
virtual void | undo () |
| ~MatrixPasteCommand () |
Private Attributes |
double * | d_backup_data |
double * | d_clipboard_data |
int | d_cols |
int | d_end_col |
int | d_end_row |
MatrixModel * | d_model |
int | d_old_cols |
int | d_old_rows |
int | d_rows |
int | d_start_col |
int | d_start_row |
Constructor & Destructor Documentation
MatrixPasteCommand::MatrixPasteCommand |
( |
MatrixModel * |
model, |
|
|
int |
startRow, |
|
|
int |
endRow, |
|
|
int |
startCol, |
|
|
int |
endCol, |
|
|
double * |
clipboardData, |
|
|
int |
rows, |
|
|
int |
cols, |
|
|
double * |
backupData, |
|
|
int |
oldRows, |
|
|
int |
oldCols, |
|
|
const QString & |
text | |
|
) |
| | |
MatrixPasteCommand::~MatrixPasteCommand |
( |
|
) |
[inline] |
Member Function Documentation
void MatrixPasteCommand::redo |
( |
|
) |
[virtual] |
void MatrixPasteCommand::undo |
( |
|
) |
[virtual] |
References MatrixModel::columnCount(), d_backup_data, d_end_col, d_end_row, d_model, d_old_cols, d_old_rows, d_start_col, d_start_row, MatrixModel::dataVector(), MatrixModel::matrix(), Matrix::resetView(), MatrixModel::rowCount(), MatrixModel::setColumnCount(), and MatrixModel::setRowCount().
Member Data Documentation
The documentation for this class was generated from the following files: