labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

AbstractColumnSetMaskedCmd Class Reference

Mark an interval of rows as masked. More...

#include <abstractcolumncommands.h>

Inheritance diagram for AbstractColumnSetMaskedCmd:
[legend]
Collaboration diagram for AbstractColumnSetMaskedCmd:
[legend]

Public Member Functions

 AbstractColumnSetMaskedCmd (AbstractColumnPrivate *col, const Interval< int > &interval, bool masked, QUndoCommand *parent=nullptr)
 Ctor. More...
 
 ~AbstractColumnSetMaskedCmd () override
 Dtor. More...
 
void redo () override
 Execute the command. More...
 
void undo () override
 Undo the command. More...
 

Private Attributes

AbstractColumnPrivatem_col
 The private AbstractColumn data to modify. More...
 
Interval< int > m_interval
 The interval. More...
 
bool m_masked
 Mask/unmask flag. More...
 
IntervalAttribute< bool > m_masking
 Interval attribute backup. More...
 
bool m_copied
 A status flag. More...
 

Detailed Description

Mark an interval of rows as masked.


Definition at line 50 of file abstractcolumncommands.h.

Constructor & Destructor Documentation

◆ AbstractColumnSetMaskedCmd()

AbstractColumnSetMaskedCmd::AbstractColumnSetMaskedCmd ( AbstractColumnPrivate col,
const Interval< int > &  interval,
bool  masked,
QUndoCommand *  parent = nullptr 
)
explicit

Ctor.

Definition at line 121 of file abstractcolumncommands.cpp.

References i18n, m_copied, and AbstractColumnPrivate::name().

◆ ~AbstractColumnSetMaskedCmd()

AbstractColumnSetMaskedCmd::~AbstractColumnSetMaskedCmd ( )
overridedefault

Dtor.

Member Function Documentation

◆ redo()

void AbstractColumnSetMaskedCmd::redo ( )
override

◆ undo()

void AbstractColumnSetMaskedCmd::undo ( )
override

Member Data Documentation

◆ m_col

AbstractColumnSetMaskedCmd::m_col
private

The private AbstractColumn data to modify.

Definition at line 59 of file abstractcolumncommands.h.

Referenced by redo(), and undo().

◆ m_copied

AbstractColumnSetMaskedCmd::m_copied
private

A status flag.

Definition at line 63 of file abstractcolumncommands.h.

Referenced by AbstractColumnSetMaskedCmd(), and redo().

◆ m_interval

AbstractColumnSetMaskedCmd::m_interval
private

The interval.

Definition at line 60 of file abstractcolumncommands.h.

Referenced by redo().

◆ m_masked

AbstractColumnSetMaskedCmd::m_masked
private

Mask/unmask flag.

Definition at line 61 of file abstractcolumncommands.h.

Referenced by redo().

◆ m_masking

AbstractColumnSetMaskedCmd::m_masking
private

Interval attribute backup.

Definition at line 62 of file abstractcolumncommands.h.

Referenced by redo(), and undo().


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