scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
![]() ![]() |
Move a column. More...
#include <tablecommands.h>
Public Member Functions | |
TableMoveColumnCmd (future::Table::Private &private_obj, int from, int to, 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_from |
The old column index. More... | |
int | d_to |
The new column index. More... | |
Move a column.
Definition at line 130 of file tablecommands.h.
TableMoveColumnCmd::TableMoveColumnCmd | ( | future::Table::Private & | private_obj, |
int | from, | ||
int | to, | ||
QUndoCommand * | parent = 0 |
||
) |
Definition at line 113 of file tablecommands.cpp.
References future::Table::Private::column(), d_from, d_private_obj, d_to, AbstractAspect::name(), and future::Table::Private::name().
|
override |
Definition at line 122 of file tablecommands.cpp.
References d_from, d_private_obj, d_to, and future::Table::Private::moveColumn().
|
override |
Definition at line 127 of file tablecommands.cpp.
References d_from, d_private_obj, d_to, and future::Table::Private::moveColumn().
|
private |
The old column index.
Definition at line 142 of file tablecommands.h.
Referenced by redo(), TableMoveColumnCmd(), and undo().
|
private |
The private object to modify.
Definition at line 140 of file tablecommands.h.
Referenced by redo(), TableMoveColumnCmd(), and undo().
|
private |
The new column index.
Definition at line 144 of file tablecommands.h.
Referenced by redo(), TableMoveColumnCmd(), and undo().