scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
![]() ![]() |
Set the number of rows in the table. More...
#include <tablecommands.h>
Public Member Functions | |
TableSetNumberOfRowsCmd (future::Table::Private &private_obj, int rows, 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_rows |
Number of rows. More... | |
int | d_old_rows |
Number of rows before. More... | |
Set the number of rows in the table.
Definition at line 78 of file tablecommands.h.
TableSetNumberOfRowsCmd::TableSetNumberOfRowsCmd | ( | future::Table::Private & | private_obj, |
int | rows, | ||
QUndoCommand * | parent = 0 |
||
) |
Definition at line 66 of file tablecommands.cpp.
References d_private_obj, and future::Table::Private::name().
|
override |
Definition at line 72 of file tablecommands.cpp.
References d_old_rows, d_private_obj, d_rows, future::Table::Private::rowCount(), and future::Table::Private::setRowCount().
|
override |
Definition at line 78 of file tablecommands.cpp.
References d_old_rows, d_private_obj, and future::Table::Private::setRowCount().
|
private |
Number of rows before.
Definition at line 92 of file tablecommands.h.
|
private |
The private object to modify.
Definition at line 88 of file tablecommands.h.
Referenced by redo(), TableSetNumberOfRowsCmd(), and undo().
|
private |