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)  

AbstractColumnInsertRowsCmd Class Reference

Insert empty rows into a column. More...

#include <abstractcolumncommands.h>

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

Public Member Functions

 AbstractColumnInsertRowsCmd (AbstractColumn *col, int before, int count, QUndoCommand *parent=nullptr)
 Ctor. More...
 
 ~AbstractColumnInsertRowsCmd () override
 Dtor. More...
 
void redo () override
 
void undo () override
 

Protected Attributes

AbstractColumnPrivatem_col
 Private object of AbstractColumn to be modified. More...
 
int m_before
 Row number before which to insert the new rows. More...
 
int m_count
 Number of rows to be inserted. More...
 

Detailed Description

Insert empty rows into a column.


Definition at line 66 of file abstractcolumncommands.h.

Constructor & Destructor Documentation

◆ AbstractColumnInsertRowsCmd()

AbstractColumnInsertRowsCmd::AbstractColumnInsertRowsCmd ( AbstractColumn col,
int  before,
int  count,
QUndoCommand *  parent = nullptr 
)
explicit

Ctor.

Definition at line 179 of file abstractcolumncommands.cpp.

◆ ~AbstractColumnInsertRowsCmd()

AbstractColumnInsertRowsCmd::~AbstractColumnInsertRowsCmd ( )
overridedefault

Dtor.

Member Function Documentation

◆ redo()

void AbstractColumnInsertRowsCmd::redo ( )
override

◆ undo()

void AbstractColumnInsertRowsCmd::undo ( )
override

Member Data Documentation

◆ m_before

AbstractColumnInsertRowsCmd::m_before
protected

Row number before which to insert the new rows.

Definition at line 76 of file abstractcolumncommands.h.

Referenced by redo(), and undo().

◆ m_col

AbstractColumnInsertRowsCmd::m_col
protected

Private object of AbstractColumn to be modified.

Definition at line 75 of file abstractcolumncommands.h.

Referenced by redo(), and undo().

◆ m_count

AbstractColumnInsertRowsCmd::m_count
protected

Number of rows to be inserted.

Definition at line 77 of file abstractcolumncommands.h.

Referenced by redo(), and undo().


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