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