|
SciDAVis
1.D4
|
#include <columncommands.h>
Public Member Functions | |
| ColumnSetPlotDesignationCmd (Column::Private *col, SciDAVis::PlotDesignation pd, QUndoCommand *parent=0) | |
| Ctor. | |
| virtual void | redo () |
| Execute the command. | |
| virtual void | undo () |
| Undo the command. | |
| ~ColumnSetPlotDesignationCmd () | |
| Dtor. | |
Private Attributes | |
| Column::Private * | d_col |
| The private column data to modify. | |
| SciDAVis::PlotDesignation | d_new_pd |
| New plot designation. | |
| SciDAVis::PlotDesignation | d_old_pd |
| Old plot designation. | |
Sets a column's plot designation
| ColumnSetPlotDesignationCmd::ColumnSetPlotDesignationCmd | ( | Column::Private * | col, |
| SciDAVis::PlotDesignation | pd, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
Ctor.
References Column::Private::name().
| ColumnSetPlotDesignationCmd::~ColumnSetPlotDesignationCmd | ( | ) |
Dtor.
|
virtual |
Execute the command.
References d_col, d_new_pd, d_old_pd, Column::Private::plotDesignation(), and Column::Private::setPlotDesignation().
|
virtual |
Undo the command.
References d_col, d_old_pd, and Column::Private::setPlotDesignation().
|
private |
|
private |
New plot designation.
Referenced by redo().
|
private |
1.8.1