SciDAVis  1.D4
Public Member Functions | Private Attributes
MatrixSetRowCellsCmd Class Reference

#include <matrixcommands.h>

List of all members.

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::Privated_private_obj
 The private object to modify.
int d_row
 The index of the row.
QVector< qreal > d_values
 New cell values.

Detailed Description

Set cell values for (a part of) a row at once


Constructor & Destructor Documentation

MatrixSetRowCellsCmd::MatrixSetRowCellsCmd ( future::Matrix::Private private_obj,
int  row,
int  first_column,
int  last_column,
const QVector< qreal > &  values,
QUndoCommand *  parent = 0 
)
MatrixSetRowCellsCmd::~MatrixSetRowCellsCmd ( )

Member Function Documentation

void MatrixSetRowCellsCmd::redo ( )
virtual
void MatrixSetRowCellsCmd::undo ( )
virtual

Member Data Documentation

int MatrixSetRowCellsCmd::d_first_column
private

The index of the first column.

Referenced by redo(), and undo().

int MatrixSetRowCellsCmd::d_last_column
private

The index of the last column.

Referenced by redo(), and undo().

QVector<qreal> MatrixSetRowCellsCmd::d_old_values
private

Backup of the changed values.

Referenced by redo(), and undo().

future::Matrix::Private* MatrixSetRowCellsCmd::d_private_obj
private

The private object to modify.

Referenced by MatrixSetRowCellsCmd(), redo(), and undo().

int MatrixSetRowCellsCmd::d_row
private

The index of the row.

Referenced by redo(), and undo().

QVector<qreal> MatrixSetRowCellsCmd::d_values
private

New cell values.

Referenced by redo().


The documentation for this class was generated from the following files: