SciDAVis
1.D4
|
#include <columncommands.h>
Public Member Functions | |
ColumnSetMaskedCmd (Column::Private *col, Interval< int > interval, bool masked, QUndoCommand *parent=0) | |
Ctor. | |
virtual void | redo () |
Execute the command. | |
virtual void | undo () |
Undo the command. | |
~ColumnSetMaskedCmd () | |
Dtor. |
Private Attributes | |
Column::Private * | d_col |
The private column data to modify. | |
bool | d_copied |
A status flag. | |
Interval< int > | d_interval |
The interval. | |
bool | d_masked |
Mask/unmask flag. | |
IntervalAttribute< bool > | d_masking |
Interval attribute backup. |
Mark an interval of rows as masked
ColumnSetMaskedCmd::ColumnSetMaskedCmd | ( | Column::Private * | col, |
Interval< int > | interval, | ||
bool | masked, | ||
QUndoCommand * | parent = 0 |
||
) |
Ctor.
References d_copied, and Column::Private::name().
ColumnSetMaskedCmd::~ColumnSetMaskedCmd | ( | ) |
Dtor.
|
virtual |
Execute the command.
References d_col, d_copied, d_interval, d_masked, d_masking, Column::Private::maskingAttribute(), and Column::Private::setMasked().
|
virtual |
Undo the command.
References d_col, d_masking, and Column::Private::replaceMasking().
|
private |
|
private |
A status flag.
Referenced by ColumnSetMaskedCmd(), and redo().
|
private |
Mask/unmask flag.
Referenced by redo().
|
private |