#include <TableStatistics.h>

Public Types | |
| enum | Type { row, column } |
| supported statistics types More... | |
Public Slots | |
| void | removeCol (const QString &) |
| remove statistics of removed columns (to be connected with Table::removedCol) | |
| void | renameCol (const QString &, const QString &) |
| handle renaming of columns (to be connected with Table::changedColHeader) | |
| void | update (Table *, const QString &colName) |
| update statistics after a column has changed (to be connected with Table::modifiedData) | |
Public Member Functions | |
| Table * | base () const |
| return the base table of which statistics are displayed | |
| virtual QString | saveToString (const QString &geometry, bool=false) |
| TableStatistics (ScriptingEnv *env, ApplicationWindow *parent, Table *base, Type, QList< int > targets) | |
| Type | type () const |
| return the type of statistics | |
Private Slots | |
| void | closedBase () |
Private Attributes | |
| Table * | d_base |
| QList< int > | d_targets |
| Type | d_type |
| TableStatistics::TableStatistics | ( | ScriptingEnv * | env, | |
| ApplicationWindow * | parent, | |||
| Table * | base, | |||
| Type | t, | |||
| QList< int > | targets | |||
| ) |
References MdiSubWindow::Both, Table::changedColHeader(), closedBase(), Table::colLabel(), Table::colName(), column, d_base, Table::d_table, d_targets, d_type, Table::modifiedData(), Table::numRows(), Table::removeCol(), Table::removedCol(), renameCol(), Table::resizeCols(), Table::resizeRows(), row, MdiSubWindow::setCaptionPolicy(), Table::setColName(), Table::setColPlotDesignation(), Table::setColumnType(), Table::setHeaderColType(), MdiSubWindow::setName(), Table::setText(), MdiSubWindow::setWindowLabel(), Table::Text, update(), and Table::X.
| Table* TableStatistics::base | ( | ) | const [inline] |
| void TableStatistics::closedBase | ( | ) | [private, slot] |
| void TableStatistics::removeCol | ( | const QString & | col | ) | [slot] |
remove statistics of removed columns (to be connected with Table::removedCol)
References d_base, Table::d_table, d_targets, d_type, row, Table::text(), and update().
| void TableStatistics::renameCol | ( | const QString & | from, | |
| const QString & | to | |||
| ) | [slot] |
handle renaming of columns (to be connected with Table::changedColHeader)
References d_base, d_targets, d_type, row, Table::setText(), and Table::text().
Referenced by TableStatistics().
| QString TableStatistics::saveToString | ( | const QString & | geometry, | |
| bool | = false | |||
| ) | [virtual] |
Reimplemented from Table.
References MdiSubWindow::birthDate(), MdiSubWindow::captionPolicy(), d_base, d_targets, d_type, row, Table::saveColumnTypes(), Table::saveColumnWidths(), Table::saveCommands(), Table::saveComments(), Table::saveHeader(), Table::saveHiddenColumnsInfo(), Table::saveReadOnlyInfo(), Table::saveToString(), and MdiSubWindow::windowLabel().
| void TableStatistics::update | ( | Table * | t, | |
| const QString & | colName | |||
| ) | [slot] |
update statistics after a column has changed (to be connected with Table::modifiedData)
References Table::cell(), Table::colIndex(), Table::colName(), column, Table::columnType(), d_base, d_targets, d_type, Table::modifiedData(), Table::numCols(), Table::Numeric, Table::numRows(), row, Table::setText(), and Table::text().
Referenced by removeCol(), and TableStatistics().
Table* TableStatistics::d_base [private] |
Referenced by base(), closedBase(), removeCol(), renameCol(), saveToString(), TableStatistics(), and update().
QList<int> TableStatistics::d_targets [private] |
Referenced by removeCol(), renameCol(), saveToString(), TableStatistics(), and update().
Type TableStatistics::d_type [private] |
Referenced by removeCol(), renameCol(), saveToString(), TableStatistics(), type(), and update().
1.5.6