scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
![]() ![]() |
Remove columns. More...
#include <tablecommands.h>
Public Member Functions | |
TableRemoveColumnsCmd (future::Table::Private &private_obj, int first, int count, QList< Column * > cols, QUndoCommand *parent=0) | |
void | redo () override |
void | undo () override |
Private Attributes | |
future::Table::Private & | d_private_obj |
The private object to modify. More... | |
int | d_first |
The first column. More... | |
int | d_count |
The number of columns to be removed. More... | |
QList< Column * > | d_old_cols |
The removed columns. More... | |
Remove columns.
Definition at line 103 of file tablecommands.h.
TableRemoveColumnsCmd::TableRemoveColumnsCmd | ( | future::Table::Private & | private_obj, |
int | first, | ||
int | count, | ||
QList< Column * > | cols, | ||
QUndoCommand * | parent = 0 |
||
) |
Definition at line 90 of file tablecommands.cpp.
References d_private_obj, and future::Table::Private::name().
|
override |
Definition at line 96 of file tablecommands.cpp.
References d_count, d_first, d_private_obj, and future::Table::Private::removeColumns().
|
override |
Definition at line 101 of file tablecommands.cpp.
References d_first, d_old_cols, d_private_obj, and future::Table::Private::insertColumns().
|
private |
The number of columns to be removed.
Definition at line 117 of file tablecommands.h.
Referenced by redo().
|
private |
|
private |
|
private |
The private object to modify.
Definition at line 113 of file tablecommands.h.
Referenced by redo(), TableRemoveColumnsCmd(), and undo().