|
SciDAVis
1.D4
|
#include <matrixcommands.h>
Public Member Functions | |
| MatrixSetRowCellsCmd (future::Matrix::Private *private_obj, int row, int first_column, int last_column, const QVector< qreal > &values, QUndoCommand *parent=0) | |
| virtual void | redo () |
| virtual void | undo () |
| ~MatrixSetRowCellsCmd () | |
Private Attributes | |
| int | d_first_column |
| The index of the first column. | |
| int | d_last_column |
| The index of the last column. | |
| QVector< qreal > | d_old_values |
| Backup of the changed values. | |
| future::Matrix::Private * | d_private_obj |
| The private object to modify. | |
| int | d_row |
| The index of the row. | |
| QVector< qreal > | d_values |
| New cell values. | |
Set cell values for (a part of) a row at once
| MatrixSetRowCellsCmd::MatrixSetRowCellsCmd | ( | future::Matrix::Private * | private_obj, |
| int | row, | ||
| int | first_column, | ||
| int | last_column, | ||
| const QVector< qreal > & | values, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
References d_private_obj, and future::Matrix::Private::name().
| MatrixSetRowCellsCmd::~MatrixSetRowCellsCmd | ( | ) |
|
virtual |
|
virtual |
References d_first_column, d_last_column, d_old_values, d_private_obj, d_row, and future::Matrix::Private::setRowCells().
|
private |
|
private |
|
private |
|
private |
The private object to modify.
Referenced by MatrixSetRowCellsCmd(), redo(), and undo().
|
private |
New cell values.
Referenced by redo().
1.8.1