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

#include <matrixcommands.h>

List of all members.

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::Privated_private_obj
 The private object to modify.
QVector< qreal > d_values
 New cell values.

Detailed Description

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


Constructor & Destructor Documentation

MatrixSetColumnCellsCmd::MatrixSetColumnCellsCmd ( future::Matrix::Private private_obj,
int  col,
int  first_row,
int  last_row,
const QVector< qreal > &  values,
QUndoCommand *  parent = 0 
)
MatrixSetColumnCellsCmd::~MatrixSetColumnCellsCmd ( )

Member Function Documentation

void MatrixSetColumnCellsCmd::redo ( )
virtual
void MatrixSetColumnCellsCmd::undo ( )
virtual

Member Data Documentation

int MatrixSetColumnCellsCmd::d_col
private

The index of the column.

Referenced by redo(), and undo().

int MatrixSetColumnCellsCmd::d_first_row
private

The index of the first row.

Referenced by redo(), and undo().

int MatrixSetColumnCellsCmd::d_last_row
private

The index of the last row.

Referenced by redo(), and undo().

QVector<qreal> MatrixSetColumnCellsCmd::d_old_values
private

Backup of the changed values.

Referenced by redo(), and undo().

future::Matrix::Private* MatrixSetColumnCellsCmd::d_private_obj
private

The private object to modify.

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

QVector<qreal> MatrixSetColumnCellsCmd::d_values
private

New cell values.

Referenced by redo().


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