SciDAVis
1.D4
|
MDI window providing a spreadsheet table with column logic. More...
#include <Table.h>
Public Types | |
enum | ColType { Numeric = 0, Text = 1, Date = 2, Time = 3, Month = 4, Day = 5, DateTime = 6 } |
Public Slots | |
double | cell (int row, int col) |
Return the value of the cell as a double. | |
void | clearCell (int row, int col) |
QString | colComment (int col) |
QStringList | colComments () |
int | colIndex (const QString &name) |
QString | colLabel (int col) |
QString | colName (int col) |
QStringList | colNames () |
SciDAVis::PlotDesignation | colPlotDesignation (int col) |
Column * | column (int index) const |
Return column number 'index'. | |
Column * | column (const QString &name) const |
Return the column determined by the given name. | |
int | columnCount () |
QString | columnFormat (int col) |
QStringList | columnsList () |
int | columnType (int col) |
QList< int > | columnTypes () |
int | columnWidth (int col) |
int | colX (int col) |
int | colY (int col) |
bool | commentsEnabled () |
void | copy (Table *m) |
void | customEvent (QEvent *e) |
QStringList | drawableColumnSelection () |
bool | exportASCII (const QString &fname, const QString &separator, bool withLabels=false, bool exportSelection=false) |
void | exportPDF (const QString &fileName) |
int | firstXCol () |
void | handleChange () |
void | handleColumnChange (int, int) |
void | handleColumnChange (int, int, int, int) |
void | handleColumnsAboutToBeRemoved (int, int) |
void | handleColumnsRemoved (int, int) |
void | handleRowChange () |
void | importASCII (const QString &fname, const QString &sep, int ignoredLines, bool renameCols, bool stripSpaces, bool simplifySpaces, bool newTable) |
void | importV0x0001XXHeader (QStringList header) |
void | init () |
Initialization. | |
bool | noXColumn () |
bool | noYColumn () |
int | numCols () |
int | numRows () |
int | numSelectedRows () |
QList< int > | plotDesignations () |
void | print () |
void | print (const QString &fileName) |
bool | recalculate (int col, bool only_selected_rows=true) |
Compute cells from the cell formulas. | |
bool | recalculate () |
Recalculate selected cells. | |
void | restore (const QStringList &lst) |
Not implemented yet. | |
int | rowCount () |
QString | saveAsTemplate (const QString &geometryInfo) |
int | selectedColsNumber () |
QStringList | selectedColumns () |
QStringList | selectedErrColumns () |
QStringList | selectedYColumns () |
QMap< int, QString > | selectedYLabels () |
void | setBackgroundColor (const QColor &col) |
void | setCell (int row, int col, double val) |
void | setColComment (int col, const QString &s) |
void | setColComments (const QStringList &lst) |
void | setColName (int col, const QString &text) |
void | setColPlotDesignation (int col, SciDAVis::PlotDesignation d) |
void | setColumnType (int col, SciDAVis::ColumnMode mode) |
void | setColumnTypes (QList< int > ctl) |
void | setColumnTypes (const QStringList &ctl) |
void | setColWidths (const QStringList &widths) |
void | setCommand (int col, const QString &com) |
Set formula for column col. | |
void | setCommands (const QStringList &com) |
Set all column formulae. | |
void | setCommands (const QString &com) |
Set all column formulae. | |
void | setHeader (QStringList header) |
void | setHeaderColor (const QColor &col) |
void | setHeaderFont (const QFont &fnt) |
void | setNumCols (int cols) |
void | setNumRows (int rows) |
void | setPlotDesignation (SciDAVis::PlotDesignation pd) |
void | setText (int row, int col, const QString &text) |
void | setTextColor (const QColor &col) |
void | setTextFont (const QFont &fnt) |
QString | text (int row, int col) |
int | verticalHeaderWidth () |
QStringList | YColumns () |
Column Operations | |
void | removeCol () |
void | removeCol (const QStringList &list) |
void | clearCol () |
void | insertCol () |
void | insertCols (int start, int count) |
void | addCol (SciDAVis::PlotDesignation pd=SciDAVis::Y) |
void | addColumns (int c) |
Row Operations | |
void | deleteSelectedRows () |
void | insertRow () |
void | cutSelection () |
Selection Operations. | |
void | copySelection () |
void | clearSelection () |
void | pasteSelection () |
void | selectAllTable () |
void | deselect () |
void | clear () |
Saving and Restoring | |
virtual QString | saveToString (const QString &geometry) |
void | saveToDevice (QIODevice *device, const QString &geometry) |
QString | saveHeader () |
QString | saveComments () |
QString | saveCommands () |
QString | saveColumnWidths () |
QString | saveColumnTypes () |
![]() | |
void | activateFormulaMode (bool on) |
void | deselectAll () |
void | goToCell (int row, int col) |
void | goToNextColumn () |
void | goToPreviousColumn () |
void | handleHorizontalSectionResized (int logicalIndex, int oldSize, int newSize) |
void | rereadSectionSizes () |
void | selectAll () |
void | showControlDescriptionTab () |
void | showControlFormulaTab () |
void | showControlTypeTab () |
void | toggleComments () |
void | toggleControlTabBar () |
Signals | |
void | aboutToRemoveCol (const QString &) |
void | changedColHeader (const QString &, const QString &) |
void | modifiedData (Table *, const QString &) |
void | removedCol (const QString &) |
void | resizedTable (QWidget *) |
void | showContextMenu (bool selection) |
Public Member Functions | |
void | closeEvent (QCloseEvent *) |
Close event handler. | |
virtual QString | name () |
Return the window name. | |
virtual void | setBirthDate (const QString &s) |
Set the creation date. | |
void | setCaptionPolicy (CaptionPolicy policy) |
Set the caption policy. | |
virtual void | setName (const QString &s) |
Set the window name. | |
void | setNumericPrecision (int prec) |
Sets the number of significant digits. | |
virtual void | setWindowLabel (const QString &s) |
Set the window label. | |
Table (ScriptingEnv *env, const QString &fname, const QString &sep, int ignoredLines, bool renameCols, bool stripSpaces, bool simplifySpaces, bool convertToNumeric, QLocale numericFormat, const QString &label, QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
Table (ScriptingEnv *env, int r, int c, const QString &label, QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
virtual QString | windowLabel () |
Return the window label. | |
![]() | |
bool | areCommentsShown () const |
Return whether comments are show currently. | |
int | columnWidth (int col) const |
bool | formulaModeActive () const |
bool | isControlTabBarVisible () |
void | setColumnWidth (int col, int width) |
void | showComments (bool on=true) |
Show or hide (if on = false) the column comments. | |
TableView (future::Table *table) | |
Constructor. | |
virtual | ~TableView () |
Destructor. | |
int | selectedColumnCount (bool full=false) |
Return how many columns are selected. | |
int | selectedColumnCount (SciDAVis::PlotDesignation pd) |
Return how many columns with the given plot designation are (at least partly) selected. | |
bool | isColumnSelected (int col, bool full=false) |
Returns true if column 'col' is selected; otherwise false. | |
QList< Column * > | selectedColumns (bool full=false) |
Return all selected columns. | |
int | selectedRowCount (bool full=false) |
Return how many rows are (at least partly) selected. | |
bool | isRowSelected (int row, bool full=false) |
Returns true if row 'row' is selected; otherwise false. | |
int | firstSelectedColumn (bool full=false) |
Return the index of the first selected column. | |
int | lastSelectedColumn (bool full=false) |
Return the index of the last selected column. | |
int | firstSelectedRow (bool full=false) |
Return the index of the first selected row. | |
int | lastSelectedRow (bool full=false) |
Return the index of the last selected row. | |
IntervalAttribute< bool > | selectedRows (bool full=false) |
Get the complete set of selected rows. | |
bool | isCellSelected (int row, int col) |
Return whether a cell is selected. | |
void | setCellSelected (int row, int col, bool select=true) |
Select/Deselect a cell. | |
void | setCellsSelected (int first_row, int first_col, int last_row, int last_col, bool select=true) |
Select/Deselect a range of cells. | |
void | getCurrentCell (int *row, int *col) |
Determine the current cell (-1 if no cell is designated as the current) | |
![]() | |
void | askOnCloseEvent (bool ask) |
Toggle the "ask on close" flag. | |
QString | aspect () |
Return the window status as a string. | |
virtual QString | birthDate () |
Return the creation date. | |
virtual CaptionPolicy | captionPolicy () |
Return the caption policy. | |
Folder * | folder () |
Returns the pointer to the parent folder of the window. | |
MyWidget (const QString &label=QString(), QWidget *parent=0, const QString name=0, Qt::WFlags f=0) | |
Constructor. | |
void | notifyChanges () |
Notifies the main application that the window has been modified. | |
void | setFolder (Folder *f) |
Initializes the pointer to the parent folder of the window. | |
virtual void | setHidden () |
Notifies that a window was hidden by a direct user action. | |
void | setMaximized () |
void | setMinimized () |
void | setNormal () |
void | setStatus (Status s) |
Set the window status flag (hidden, normal, minimized or maximized) | |
Status | status () |
Return the window status flag (hidden, normal, minimized or maximized) | |
![]() | |
scripted (ScriptingEnv *env) | |
void | scriptingChangeEvent (ScriptingChangeEvent *) |
~scripted () |
Public Attributes | |
future::Table * | d_future_table |
Protected Slots | |
void | addFunction () |
void | addReference () |
void | applyFormula () |
void | handleAspectDescriptionAboutToChange (const AbstractAspect *aspect) |
void | handleAspectDescriptionChange (const AbstractAspect *aspect) |
void | updateFunctionDoc () |
![]() | |
void | advanceCell () |
Advance current cell after [Return] or [Enter] was pressed. | |
void | applyDescription () |
void | applyType () |
void | currentColumnChanged (const QModelIndex ¤t, const QModelIndex &previous) |
void | handleAspectAboutToBeRemoved (const AbstractAspect *aspect, int index) |
void | handleAspectAdded (const AbstractAspect *aspect) |
void | handleAspectDescriptionChanged (const AbstractAspect *aspect) |
void | handleFormatLineEditChange () |
void | handleHeaderDataChanged (Qt::Orientation orientation, int first, int last) |
void | handleHorizontalHeaderDoubleClicked (int index) |
void | handleHorizontalSectionMoved (int index, int from, int to) |
void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
void | updateFormatBox () |
void | updateTypeInfo () |
![]() | |
void | updateCaption () |
Set caption according to current CaptionPolicy, name and label. |
Private Attributes | |
QHash< const AbstractAspect *, QString > | d_stored_column_labels |
Additional Inherited Members | |
![]() | |
virtual void | changeEvent (QEvent *event) |
Catches parent changes (in order to gain access to the title bar) | |
bool | eventFilter (QObject *watched, QEvent *event) |
Filters other object's events (customizes title bar's context menu) | |
void | retranslateStrings () |
void | setColumnForControlTabs (int col) |
![]() | |
QWidget * | d_control_tabs |
Widget that contains the control tabs UI from ui. | |
TableItemDelegate * | d_delegate |
Pointer to the item delegate. | |
QToolButton * | d_hide_button |
Button to toogle the visibility of #d_tool_box. | |
TableDoubleHeaderView * | d_horizontal_header |
QHBoxLayout * | d_main_layout |
TableModel * | d_model |
Pointer to the current underlying model. | |
future::Table * | d_table |
TableViewWidget * | d_view_widget |
The table view (first part of the UI) | |
Ui::ControlTabs | ui |
UI with options tabs (description, format, formula etc.) | |
![]() | |
bool | askOnClose |
Toggle on/off: Ask the user "delete, hide, or cancel?" on a close event. | |
QString | birthdate |
The creation date. | |
CaptionPolicy | caption_policy |
The caption policy. | |
Folder * | parentFolder |
Pointer to the parent folder of the window. | |
QWidget * | titleBar |
Title bar of this MDI window if it currently belongs to a QWorkspace, NULL else. | |
QString | w_label |
The window label. | |
Status | w_status |
The window status. | |
![]() | |
ScriptingEnv * | scriptEnv |
MDI window providing a spreadsheet table with column logic.
enum Table::ColType |
Table::Table | ( | ScriptingEnv * | env, |
const QString & | fname, | ||
const QString & | sep, | ||
int | ignoredLines, | ||
bool | renameCols, | ||
bool | stripSpaces, | ||
bool | simplifySpaces, | ||
bool | convertToNumeric, | ||
QLocale | numericFormat, | ||
const QString & | label, | ||
QWidget * | parent = 0 , |
||
const char * | name = 0 , |
||
Qt::WFlags | f = 0 |
||
) |
References d_future_table, AsciiTableImportFilter::importAspect(), init(), AsciiTableImportFilter::set_separator(), AbstractAspect::setName(), and setWindowLabel().
Referenced by Table().
Table::Table | ( | ScriptingEnv * | env, |
int | r, | ||
int | c, | ||
const QString & | label, | ||
QWidget * | parent = 0 , |
||
const char * | name = 0 , |
||
Qt::WFlags | f = 0 |
||
) |
References d_future_table, init(), and Table().
|
signal |
Referenced by handleColumnsAboutToBeRemoved().
|
slot |
|
slot |
References future::Table::appendColumns(), d_future_table, and SciDAVis::Numeric.
|
protectedslot |
References TableView::ui.
Referenced by init().
|
protectedslot |
References TableView::ui.
Referenced by init().
|
protectedslot |
References AbstractAspect::beginMacro(), column(), d_future_table, AbstractAspect::endMacro(), TableView::firstSelectedColumn(), Column::insertRows(), TableView::lastSelectedColumn(), name(), recalculate(), rowCount(), Column::rowCount(), Column::setFormula(), and TableView::ui.
Referenced by init().
|
slot |
Return the value of the cell as a double.
If one of the indices or the cell content is invalid, return 0.0. For the next non-bugfix SciDAVis release, indication of failure should be done by returning NaN (wherever applicable). TODO: Make sure we don't rely on zero-on-failure, and document the resulting change in the Python API.
References column(), Column::columnMode(), Column::isInvalid(), Text, Column::textAt(), and Column::valueAt().
Referenced by Graph3D::addData(), Convolution::setDataFromTable(), Correlation::setDataFromTable(), FFT::setDataFromTable(), Fit::setYErrorSource(), Graph3D::updateDataXY(), Graph3D::updateDataXYZ(), and Graph3D::updateScales().
|
signal |
Referenced by handleAspectDescriptionChange().
|
slot |
References future::Table::clear(), and d_future_table.
Referenced by ApplicationWindow::clearTable().
|
slot |
References column(), Column::setDateTimeAt(), Column::setInvalid(), Column::setTextAt(), and Column::setValueAt().
|
slot |
References future::Table::clearSelectedColumns(), and d_future_table.
|
slot |
References future::Table::clearSelectedCells(), and d_future_table.
void Table::closeEvent | ( | QCloseEvent * | e | ) |
Close event handler.
Ask the user "delete, hide, or cancel?" if the "ask on close" flag is set.
Reimplemented from MyWidget.
References MyWidget::askOnClose, d_future_table, MyWidget::hiddenWindow(), and AbstractAspect::remove().
|
slot |
References column(), and AbstractAspect::comment().
|
slot |
References column(), future::Table::columnCount(), AbstractAspect::comment(), and d_future_table.
|
slot |
References column(), future::Table::columnIndex(), and d_future_table.
Referenced by FFTDialog::activateCurve(), Graph3D::addData(), Graph3D::changeDataColumn(), ApplicationWindow::dataPlotXYZ(), ApplicationWindow::defineErrorBars(), RangeSelectorTool::emitStatusText(), DataPickerTool::end(), Graph::insertCurve(), Graph::insertCurvesList(), Graph3D::insertNewData(), QwtHistogram::loadData(), QwtPieCurve::loadData(), BoxCurve::loadData(), VectorCurve::loadData(), ApplicationWindow::multilayerPlot(), PlotWizard::plot3D(), Graph::plotPie(), removeCol(), DataPickerTool::removePoint(), TranslateCurveTool::selectDestination(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), FFT::setDataFromTable(), DataPickerTool::setSelection(), FFTDialog::setTable(), Fit::setYErrorSource(), ApplicationWindow::showTable(), TableStatistics::update(), Graph3D::updateData(), and Graph3D::updateScales().
|
slot |
References column(), and AbstractAspect::name().
Referenced by ApplicationWindow::columnsList(), saveHeader(), Graph::setLabelsColHeaderFormat(), CurvesDialog::showCurrentFolder(), and TableStatistics::update().
|
slot |
References column(), name(), and numCols().
Referenced by Graph3D::addData(), Correlation::addResultCurve(), Convolution::addResultCurve(), Graph3D::changeDataColumn(), handleColumnChange(), handleColumnsAboutToBeRemoved(), handleColumnsRemoved(), handleRowChange(), Graph::insertCurve(), Graph::insertCurvesList(), ApplicationWindow::openGraph(), ApplicationWindow::plot3DBars(), ApplicationWindow::plot3DRibbon(), ApplicationWindow::plot3DScatter(), ApplicationWindow::plot3DTrajectory(), recalculate(), ApplicationWindow::removeWindowFromLists(), TableStatistics::TableStatistics(), and TableStatistics::update().
|
slot |
|
slot |
|
inlineslot |
Return column number 'index'.
References future::Table::column(), and d_future_table.
Referenced by addCol(), Graph3D::addData(), Correlation::addResultCurve(), Convolution::addResultCurve(), applyFormula(), cell(), clearCell(), colComment(), colComments(), colIndex(), colLabel(), colName(), colNames(), colPlotDesignation(), columnFormat(), columnsList(), columnType(), columnTypes(), drawableColumnSelection(), DataPickerTool::end(), exportASCII(), firstXCol(), handleAspectDescriptionChange(), importASCII(), ApplicationWindow::importASCII(), ImportOPJ::importTables(), importV0x0001XXHeader(), init(), QwtHistogram::loadData(), QwtPieCurve::loadData(), DataCurve::loadData(), BoxCurve::loadData(), QwtErrorPlotCurve::loadData(), Fit::parametersTable(), plotDesignations(), Graph::plotHistogram(), Graph::plotPie(), recalculate(), DataPickerTool::removePoint(), TableStatistics::renameCol(), saveColumnTypes(), saveCommands(), saveComments(), saveHeader(), TranslateCurveTool::selectDestination(), selectedColumns(), selectedErrColumns(), selectedYColumns(), selectedYLabels(), setCell(), setColComment(), setColComments(), setColName(), setColPlotDesignation(), setColumnType(), setColumnTypes(), setCommand(), setCommands(), setHeader(), Graph::setLabelsTextFormat(), setText(), PlotDialog::showStatistics(), TableStatistics::TableStatistics(), text(), TableStatistics::update(), Graph::updateCurvesData(), Graph3D::updateDataXY(), Graph3D::updateDataXYZ(), Graph3D::updateScales(), and YColumns().
|
inlineslot |
Return the column determined by the given name.
This method should not be used unless absolutely necessary. Columns should be addressed by their index. This method is mainly meant to be used in scripts.
References future::Table::column(), and d_future_table.
|
slot |
References future::Table::columnCount(), and d_future_table.
Referenced by importASCII(), ApplicationWindow::importASCII(), ImportOPJ::importTables(), init(), and Graph::setLabelsColHeaderFormat().
|
slot |
|
slot |
References column(), name(), AbstractAspect::name(), and numCols().
Referenced by FFTDialog::setTable().
|
slot |
|
slot |
References column(), future::Table::columnCount(), Column::columnMode(), and d_future_table.
|
slot |
References TableView::d_view_widget.
Referenced by print(), and saveColumnWidths().
|
slot |
References future::Table::colX(), and d_future_table.
Referenced by Graph3D::addData(), Graph3D::changeDataColumn(), ApplicationWindow::dataPlotXYZ(), Graph::insertCurve(), and Graph3D::insertNewData().
|
slot |
References future::Table::colY(), and d_future_table.
Referenced by Graph3D::changeDataColumn(), ApplicationWindow::dataPlotXYZ(), Graph::insertCurvesList(), and Graph3D::insertNewData().
|
slot |
References TableView::areCommentsShown().
|
slot |
References future::Table::copy(), and d_future_table.
Referenced by ApplicationWindow::clone().
|
slot |
References future::Table::copySelection(), and d_future_table.
|
slot |
References SCRIPTING_CHANGE_EVENT, and scripted::scriptingChangeEvent().
|
slot |
Selection Operations.
References future::Table::cutSelection(), and d_future_table.
|
slot |
References d_future_table, and future::Table::removeSelectedRows().
|
slot |
References TableView::d_view_widget.
|
slot |
References column(), TableView::isColumnSelected(), name(), AbstractAspect::name(), numCols(), Column::plotDesignation(), SciDAVis::xErr, SciDAVis::Y, and SciDAVis::yErr.
Referenced by ApplicationWindow::selectPlotType().
|
slot |
|
virtualslot |
|
slot |
References column(), numCols(), Column::plotDesignation(), and SciDAVis::X.
Referenced by FFTDialog::setTable().
|
protectedslot |
References MyWidget::aspect(), future::Table::columnIndex(), d_future_table, d_stored_column_labels, and AbstractAspect::name().
Referenced by init().
|
protectedslot |
References MyWidget::aspect(), changedColHeader(), column(), future::Table::columnCount(), future::Table::columnIndex(), d_future_table, d_stored_column_labels, Column::formula(), Column::formulaIntervals(), name(), AbstractAspect::name(), Column::setFormula(), IntervalBase< T >::start(), and MyWidget::updateCaption().
Referenced by init().
|
slot |
References MyWidget::modifiedWindow().
Referenced by init().
|
slot |
References colName(), and modifiedData().
Referenced by handleColumnChange(), and init().
|
slot |
References handleColumnChange().
|
slot |
References aboutToRemoveCol(), and colName().
Referenced by init().
|
slot |
References colName(), and removedCol().
Referenced by init().
|
slot |
References colName(), modifiedData(), and numCols().
Referenced by init().
|
slot |
References AbstractAspect::addChild(), Column::asStringColumn(), column(), future::Table::column(), columnCount(), future::Table::columnCount(), Column::copy(), ColumnStringIO::copy(), d_future_table, AsciiTableImportFilter::importAspect(), AbstractFilter::input(), AbstractAspect::name(), Numeric, AbstractSimpleFilter::output(), AbstractAspect::remove(), AsciiTableImportFilter::set_separator(), AbstractAspect::setName(), Column::setPlotDesignation(), setWindowLabel(), and SciDAVis::Y.
|
slot |
References future::Table::appendColumns(), column(), future::Table::columnCount(), d_future_table, SciDAVis::noDesignation, AbstractAspect::removeChild(), AbstractAspect::setName(), Column::setPlotDesignation(), SciDAVis::X, SciDAVis::xErr, SciDAVis::Y, SciDAVis::yErr, and SciDAVis::Z.
Referenced by ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), and restore().
|
slot |
Initialization.
Reimplemented from TableView.
References addFunction(), addReference(), applyFormula(), MyWidget::birthdate, column(), columnCount(), AbstractAspect::creationTime(), d_future_table, handleAspectDescriptionAboutToChange(), handleAspectDescriptionChange(), handleChange(), handleColumnChange(), handleColumnsAboutToBeRemoved(), handleColumnsRemoved(), handleRowChange(), ScriptingEnv::mathFunctions(), name(), recalculate(), scripted::scriptEnv, TableView::ui, and updateFunctionDoc().
Referenced by Table().
|
slot |
References d_future_table, and future::Table::insertEmptyColumns().
|
slot |
References d_future_table, future::Table::insertColumns(), and SciDAVis::Numeric.
|
slot |
References d_future_table, and future::Table::insertEmptyRows().
|
signal |
Referenced by handleColumnChange(), handleRowChange(), and TableStatistics::update().
|
inlinevirtual |
Return the window name.
Reimplemented from MyWidget.
References d_future_table, and AbstractAspect::name().
Referenced by applyFormula(), colName(), columnsList(), ApplicationWindow::columnsList(), ApplicationWindow::convertTableToMatrix(), drawableColumnSelection(), ApplicationWindow::exportAllTables(), MultiPeakFit::generateFitCurve(), handleAspectDescriptionChange(), ApplicationWindow::importASCII(), init(), ApplicationWindow::newTable(), ApplicationWindow::newWrksheetPlot(), ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), Graph::plotBoxDiagram(), TableStatistics::removeCol(), removeCol(), TableStatistics::renameCol(), TableStatistics::saveToString(), selectedColumns(), selectedErrColumns(), selectedYColumns(), selectedYLabels(), Graph::setLabelsColHeaderFormat(), CurvesDialog::showCurrentFolder(), ApplicationWindow::showExportASCIIDialog(), ApplicationWindow::showTable(), TableStatistics::TableStatistics(), TableStatistics::update(), AssociationsDialog::updateTable(), and YColumns().
|
slot |
References future::Table::columnCount(), d_future_table, and SciDAVis::X.
Referenced by ApplicationWindow::plotPie(), ApplicationWindow::validFor2DPlot(), and ApplicationWindow::validFor3DPlot().
|
slot |
References future::Table::columnCount(), d_future_table, and SciDAVis::Y.
Referenced by ApplicationWindow::validFor3DPlot().
|
slot |
References future::Table::columnCount(), and d_future_table.
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), ApplicationWindow::clone(), colName(), columnsList(), ApplicationWindow::columnsList(), ApplicationWindow::convertTableToMatrix(), drawableColumnSelection(), exportASCII(), firstXCol(), handleRowChange(), print(), ApplicationWindow::removeWindowFromLists(), restore(), saveAsTemplate(), saveColumnTypes(), saveColumnWidths(), saveCommands(), saveComments(), saveHeader(), selectedColumns(), selectedErrColumns(), selectedYColumns(), selectedYLabels(), setColName(), setColumnTypes(), setCommands(), ApplicationWindow::showColStatistics(), CurvesDialog::showCurrentFolder(), TableStatistics::update(), AssociationsDialog::updateTable(), ApplicationWindow::validFor2DPlot(), ApplicationWindow::validFor3DPlot(), and YColumns().
|
slot |
References d_future_table, and future::Table::rowCount().
Referenced by Graph3D::addData(), Correlation::addResultCurve(), ApplicationWindow::clone(), ApplicationWindow::convertTableToMatrix(), DataCurve::DataCurve(), ApplicationWindow::defineErrorBars(), exportASCII(), FFT::fftTable(), DataCurve::isFullRange(), Graph::openBoxDiagram(), ApplicationWindow::openGraph(), Graph::plotBoxDiagram(), Graph::plotHistogram(), Graph::plotPie(), Graph::plotVectorCurve(), print(), saveAsTemplate(), setCommand(), setCommands(), CurveRangeDialog::setCurveToModify(), Correlation::setDataFromTable(), Convolution::setDataFromTable(), FFT::setDataFromTable(), DataCurve::setFullRange(), Fit::setYErrorSource(), ApplicationWindow::showRowStatistics(), Graph3D::updateDataXY(), Graph3D::updateDataXYZ(), and Graph3D::updateScales().
|
slot |
References TableView::selectedRowCount().
Referenced by ApplicationWindow::showRowStatistics().
|
slot |
References d_future_table, and future::Table::pasteIntoSelection().
|
slot |
References column(), future::Table::columnCount(), d_future_table, and Column::plotDesignation().
|
virtualslot |
Reimplemented from MyWidget.
Referenced by exportPDF(), and recalculate().
|
slot |
References columnWidth(), TableView::d_view_widget, numCols(), numRows(), and text().
|
slot |
Compute cells from the cell formulas.
References Column::asStringColumn(), colName(), column(), Column::columnMode(), Script::compile(), IntervalBase< T >::end(), Script::eval(), Column::formula(), Column::formulaIntervals(), IntervalAttribute< bool >::intervals(), ScriptingEnv::newScript(), SciDAVis::Numeric, print(), ColumnStringIO::replaceTexts(), Column::replaceValues(), Column::rowCount(), scripted::scriptEnv, TableView::selectedRows(), Script::setInt(), and IntervalBase< T >::start().
|
slot |
Recalculate selected cells.
References TableView::firstSelectedColumn(), and TableView::lastSelectedColumn().
Referenced by applyFormula(), and init().
|
slot |
References d_future_table, and future::Table::removeSelectedColumns().
|
slot |
References colIndex(), d_future_table, name(), and future::Table::removeColumns().
|
signal |
Referenced by handleColumnsRemoved().
|
signal |
|
virtualslot |
Not implemented yet.
Reimplemented from MyWidget.
References importV0x0001XXHeader(), numCols(), setColComments(), setColumnTypes(), setColWidths(), and setCommands().
|
slot |
References d_future_table, and future::Table::rowCount().
Referenced by applyFormula(), and ApplicationWindow::importASCII().
|
virtualslot |
Reimplemented from MyWidget.
References numCols(), numRows(), saveColumnTypes(), saveColumnWidths(), saveCommands(), saveComments(), and saveHeader().
|
slot |
References column(), Column::columnMode(), and numCols().
Referenced by saveAsTemplate(), and TableStatistics::saveToString().
|
slot |
References columnWidth(), and numCols().
Referenced by saveAsTemplate(), and TableStatistics::saveToString().
|
slot |
References column(), Column::formula(), and numCols().
Referenced by saveAsTemplate(), and TableStatistics::saveToString().
|
slot |
References column(), AbstractAspect::comment(), and numCols().
Referenced by saveAsTemplate(), and TableStatistics::saveToString().
|
slot |
References colLabel(), column(), numCols(), Column::plotDesignation(), SciDAVis::X, SciDAVis::xErr, SciDAVis::Y, SciDAVis::yErr, and SciDAVis::Z.
Referenced by saveAsTemplate(), and TableStatistics::saveToString().
|
slot |
References d_future_table, and future::Table::save().
Referenced by ApplicationWindow::rawSaveFolder().
|
virtualslot |
Reimplemented from MyWidget.
Reimplemented in TableStatistics.
References d_future_table, and future::Table::save().
|
slot |
References TableView::selectAll().
|
slot |
References TableView::selectedColumnCount().
|
slot |
References column(), TableView::isColumnSelected(), name(), AbstractAspect::name(), and numCols().
Referenced by ApplicationWindow::autoCorrelate(), ApplicationWindow::convolute(), ApplicationWindow::correlate(), ApplicationWindow::deconvolute(), ApplicationWindow::multilayerPlot(), ApplicationWindow::plot3DBars(), ApplicationWindow::plot3DRibbon(), ApplicationWindow::plot3DScatter(), ApplicationWindow::plot3DTrajectory(), ApplicationWindow::plotPie(), ApplicationWindow::plotVectXYAM(), ApplicationWindow::plotVectXYXY(), ApplicationWindow::selectPlotType(), FFTDialog::setTable(), and ApplicationWindow::showColStatistics().
|
slot |
|
slot |
References column(), TableView::isColumnSelected(), name(), AbstractAspect::name(), numCols(), Column::plotDesignation(), and SciDAVis::Y.
Referenced by ApplicationWindow::multilayerPlot().
|
slot |
References column(), TableView::isColumnSelected(), name(), numCols(), Column::plotDesignation(), and SciDAVis::Y.
Referenced by Graph::plotBoxDiagram().
|
slot |
References TableView::d_view_widget.
|
inlinevirtual |
Set the creation date.
Reimplemented from MyWidget.
References MyWidget::birthdate, d_future_table, and AbstractAspect::importV0x0001XXCreationTime().
Referenced by ApplicationWindow::openTable(), and ApplicationWindow::openTableStatistics().
|
inlinevirtual |
Set the caption policy.
Reimplemented from MyWidget.
References MyWidget::Both, MyWidget::caption_policy, d_future_table, MyWidget::Label, MyWidget::Name, AbstractAspect::setCaptionSpec(), and MyWidget::updateCaption().
Referenced by ApplicationWindow::convertMatrixToTable(), ApplicationWindow::importASCII(), ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), ApplicationWindow::plotFile(), and TableStatistics::TableStatistics().
|
slot |
References column(), and Column::setValueAt().
Referenced by ApplicationWindow::convertMatrixToTable(), and ApplicationWindow::openTable().
|
slot |
References column(), and AbstractAspect::setComment().
|
slot |
References column(), future::Table::columnCount(), d_future_table, and AbstractAspect::setComment().
Referenced by ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), and restore().
|
slot |
References column(), numCols(), and AbstractAspect::setName().
Referenced by Correlation::addResultCurve(), Convolution::addResultCurve(), and TableStatistics::TableStatistics().
|
slot |
|
slot |
References column(), and Column::setColumnMode().
Referenced by TableStatistics::TableStatistics().
|
slot |
|
slot |
References column(), SciDAVis::DateTime, SciDAVis::Day, SciDAVis::Month, numCols(), SciDAVis::Numeric, Column::setColumnMode(), and SciDAVis::Text.
|
slot |
References TableView::d_view_widget.
Referenced by ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), and restore().
|
slot |
Set formula for column col.
References column(), numRows(), and Column::setFormula().
Referenced by ApplicationWindow::openTable(), and ApplicationWindow::openTableStatistics().
|
slot |
Set all column formulae.
References column(), numCols(), numRows(), and Column::setFormula().
Referenced by ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), restore(), and setCommands().
|
slot |
Set all column formulae.
References setCommands().
|
slot |
References future::Table::appendColumns(), column(), future::Table::columnCount(), d_future_table, AbstractAspect::removeChild(), and AbstractAspect::setName().
Referenced by ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), Fit::parametersTable(), and PlotDialog::showStatistics().
|
slot |
References TableView::d_view_widget.
Referenced by ApplicationWindow::customTable().
|
slot |
References TableView::d_view_widget.
Referenced by ApplicationWindow::customTable().
|
inlinevirtual |
Set the window name.
Reimplemented from MyWidget.
References d_future_table, and AbstractAspect::setName().
Referenced by ApplicationWindow::convertMatrixToTable(), ApplicationWindow::newHiddenTable(), ApplicationWindow::newTable(), ApplicationWindow::newTableStatistics(), and TableStatistics::TableStatistics().
|
slot |
References d_future_table, and future::Table::setColumnCount().
void Table::setNumericPrecision | ( | int | prec | ) |
Sets the number of significant digits.
|
slot |
References d_future_table, and future::Table::setRowCount().
|
slot |
References d_future_table, and future::Table::setSelectionAs().
Referenced by addCol().
|
slot |
References Column::asStringColumn(), column(), and ColumnStringIO::setTextAt().
Referenced by ApplicationWindow::openTable().
|
slot |
References TableView::d_view_widget.
|
slot |
References TableView::d_view_widget.
Referenced by ApplicationWindow::customTable().
|
inlinevirtual |
Set the window label.
Reimplemented from MyWidget.
References d_future_table, AbstractAspect::setComment(), and MyWidget::updateCaption().
Referenced by ApplicationWindow::convertMatrixToTable(), importASCII(), ApplicationWindow::importASCII(), ImportOPJ::importTables(), ApplicationWindow::openTable(), ApplicationWindow::openTableStatistics(), Table(), and TableStatistics::TableStatistics().
|
signal |
|
slot |
References Column::asStringColumn(), column(), and ColumnStringIO::textAt().
Referenced by FFTDialog::activateCurve(), ApplicationWindow::convertTableToMatrix(), RangeSelectorTool::emitStatusText(), VectorCurve::loadData(), print(), TableStatistics::removeCol(), TableStatistics::renameCol(), Convolution::setDataFromTable(), DataPickerTool::setSelection(), and FFTDialog::setTable().
|
protectedslot |
References ScriptingEnv::mathFunctionDoc(), scripted::scriptEnv, and TableView::ui.
Referenced by init().
|
slot |
References TableView::d_view_widget.
Referenced by ApplicationWindow::importASCII(), and ImportOPJ::importTables().
|
inlinevirtual |
Return the window label.
Reimplemented from MyWidget.
References AbstractAspect::comment(), and d_future_table.
Referenced by TableStatistics::saveToString().
|
slot |
References column(), name(), AbstractAspect::name(), numCols(), Column::plotDesignation(), and SciDAVis::Y.
Referenced by ApplicationWindow::plotFile().
future::Table* Table::d_future_table |
Referenced by addCol(), addColumns(), applyFormula(), clear(), clearCol(), clearSelection(), closeEvent(), colComments(), colIndex(), colNames(), column(), columnCount(), columnTypes(), colX(), colY(), ApplicationWindow::connectTable(), ApplicationWindow::convertMatrixToTable(), copy(), copySelection(), cutSelection(), ApplicationWindow::defineErrorBars(), deleteSelectedRows(), handleAspectDescriptionAboutToChange(), handleAspectDescriptionChange(), importASCII(), ApplicationWindow::importASCII(), importV0x0001XXHeader(), init(), ApplicationWindow::initTable(), insertCol(), insertCols(), insertRow(), name(), ApplicationWindow::newHiddenTable(), ApplicationWindow::newTable(), ApplicationWindow::newTableStatistics(), noXColumn(), noYColumn(), numCols(), numRows(), ApplicationWindow::openTable(), pasteSelection(), plotDesignations(), TableStatistics::removeCol(), removeCol(), ApplicationWindow::removeDependentTableStatistics(), MuParserScript::resolveColumnPath(), rowCount(), saveToDevice(), saveToString(), setBirthDate(), setCaptionPolicy(), setColComments(), setColumnTypes(), setHeader(), setName(), setNumCols(), setNumRows(), setPlotDesignation(), setWindowLabel(), ApplicationWindow::showTable(), Table(), MuParserScript::tableCell_Function(), MuParserScript::tableColumn__Function(), MuParserScript::tableColumn_Function(), TableStatistics::TableStatistics(), MuParserScript::translateLegacyFunctions(), and windowLabel().
|
private |
Referenced by handleAspectDescriptionAboutToChange(), and handleAspectDescriptionChange().