#include <MatrixCommand.h>
Public Member Functions | |
MatrixSetColorMapCommand (Matrix *m, Matrix::ColorMapType d_map_type_before, const QwtLinearColorMap &d_map_before, Matrix::ColorMapType d_map_type_after, const QwtLinearColorMap &d_map_after, const QString &text) | |
virtual void | redo () |
virtual void | undo () |
Private Attributes | |
QwtLinearColorMap | d_map_after |
QwtLinearColorMap | d_map_before |
Matrix::ColorMapType | d_map_type_after |
Matrix::ColorMapType | d_map_type_before |
Matrix * | d_matrix |
MatrixSetColorMapCommand::MatrixSetColorMapCommand | ( | Matrix * | m, | |
Matrix::ColorMapType | d_map_type_before, | |||
const QwtLinearColorMap & | d_map_before, | |||
Matrix::ColorMapType | d_map_type_after, | |||
const QwtLinearColorMap & | d_map_after, | |||
const QString & | text | |||
) |
References d_map_after, and d_map_before.
void MatrixSetColorMapCommand::redo | ( | ) | [virtual] |
void MatrixSetColorMapCommand::undo | ( | ) | [virtual] |
QwtLinearColorMap MatrixSetColorMapCommand::d_map_after [private] |
Referenced by MatrixSetColorMapCommand(), and redo().
QwtLinearColorMap MatrixSetColorMapCommand::d_map_before [private] |
Referenced by MatrixSetColorMapCommand(), and undo().
Referenced by redo().
Referenced by undo().
Matrix* MatrixSetColorMapCommand::d_matrix [private] |