#include <MatrixCommand.h>
|
| 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 () |
|
◆ MatrixPasteCommand()
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::~MatrixPasteCommand |
( |
| ) |
|
|
inline |
◆ redo()
void MatrixPasteCommand::redo |
( |
| ) |
|
|
virtual |
◆ undo()
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().
◆ d_backup_data
double * MatrixPasteCommand::d_backup_data |
|
private |
◆ d_clipboard_data
double* MatrixPasteCommand::d_clipboard_data |
|
private |
◆ d_cols
int MatrixPasteCommand::d_cols |
|
private |
◆ d_end_col
int MatrixPasteCommand::d_end_col |
|
private |
◆ d_end_row
int MatrixPasteCommand::d_end_row |
|
private |
◆ d_model
◆ d_old_cols
int MatrixPasteCommand::d_old_cols |
|
private |
◆ d_old_rows
int MatrixPasteCommand::d_old_rows |
|
private |
◆ d_rows
int MatrixPasteCommand::d_rows |
|
private |
◆ d_start_col
int MatrixPasteCommand::d_start_col |
|
private |
◆ d_start_row
int MatrixPasteCommand::d_start_row |
|
private |
The documentation for this class was generated from the following files: