scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
![]() ![]() |
#include <AbstractSimpleFilter.h>
Signals | |
type specific functions | |
void | plotDesignationAboutToChange (const AbstractColumn *source) |
Column plot designation will be changed. More... | |
void | plotDesignationChanged (const AbstractColumn *source) |
Column plot designation changed. More... | |
void | modeAboutToChange (const AbstractColumn *source) |
Column mode (possibly also the data type) will be changed. More... | |
void | modeChanged (const AbstractColumn *source) |
Column mode (possibly also the data type) changed. More... | |
void | dataAboutToChange (const AbstractColumn *source) |
Data (including validity) of the column will be changed. More... | |
void | dataChanged (const AbstractColumn *source) |
Data (including validity) of the column has changed. More... | |
void | aboutToBeReplaced (const AbstractColumn *source, const AbstractColumn *new_col) |
The column will be replaced. More... | |
void | rowsAboutToBeInserted (const AbstractColumn *source, int before, int count) |
Rows will be inserted. More... | |
void | rowsInserted (const AbstractColumn *source, int before, int count) |
Rows have been inserted. More... | |
void | rowsAboutToBeRemoved (const AbstractColumn *source, int first, int count) |
Rows will be deleted. More... | |
void | rowsRemoved (const AbstractColumn *source, int first, int count) |
Rows have been deleted. More... | |
void | maskingAboutToChange (const AbstractColumn *source) |
IntervalAttribute related signal. More... | |
void | maskingChanged (const AbstractColumn *source) |
IntervalAttribute related signal. More... | |
void | aboutToBeDestroyed (const AbstractColumn *source) |
Emitted shortly before this data source is deleted. More... | |
Public Member Functions | |||||||||
SimpleFilterColumn (AbstractSimpleFilter *owner) | |||||||||
virtual SciDAVis::ColumnDataType | dataType () const | ||||||||
Return the data type of the column. More... | |||||||||
virtual SciDAVis::ColumnMode | columnMode () const | ||||||||
Return the column mode. More... | |||||||||
virtual int | rowCount () const | ||||||||
Return the data vector size. More... | |||||||||
virtual SciDAVis::PlotDesignation | plotDesignation () const | ||||||||
Return the column plot designation. More... | |||||||||
virtual bool | isInvalid (int row) const | ||||||||
Return whether a certain row contains an invalid value More... | |||||||||
virtual bool | isInvalid (Interval< int > i) const | ||||||||
Return whether a certain interval of rows contains only invalid values More... | |||||||||
virtual QList< Interval< int > > | invalidIntervals () const | ||||||||
Return all intervals of invalid rows. More... | |||||||||
virtual bool | isMasked (int row) const | ||||||||
Return whether a certain row is masked More... | |||||||||
virtual bool | isMasked (Interval< int > i) const | ||||||||
Return whether a certain interval of rows rows is fully masked More... | |||||||||
virtual QList< Interval< int > > | maskedIntervals () const | ||||||||
Return all intervals of masked rows. More... | |||||||||
virtual void | clearMasks () | ||||||||
Clear all masking information. More... | |||||||||
virtual QString | textAt (int row) const | ||||||||
Return the content of row 'row'. More... | |||||||||
virtual QDate | dateAt (int row) const | ||||||||
Return the date part of row 'row'. More... | |||||||||
virtual QTime | timeAt (int row) const | ||||||||
Set the content of row 'row'. More... | |||||||||
virtual QDateTime | dateTimeAt (int row) const | ||||||||
Set the content of row 'row'. More... | |||||||||
virtual double | valueAt (int row) const | ||||||||
Return the double value in row 'row'. More... | |||||||||
virtual bool | isReadOnly () const | ||||||||
Return whether the object is read-only. More... | |||||||||
virtual void | setColumnMode (SciDAVis::ColumnMode mode, AbstractFilter *conversion_filter=0) | ||||||||
Set the column mode. More... | |||||||||
virtual bool | copy (const AbstractColumn *other) | ||||||||
Copy another column of the same type. More... | |||||||||
virtual bool | copy (const AbstractColumn *source, int source_start, int dest_start, int num_rows) | ||||||||
Copies part of another column of the same type. More... | |||||||||
virtual void | insertRows (int before, int count) | ||||||||
Insert some empty (or initialized with zero) rows. More... | |||||||||
virtual void | removeRows (int first, int count) | ||||||||
Remove 'count' rows starting from row 'first'. More... | |||||||||
virtual void | clear () | ||||||||
Set the column plot designation. More... | |||||||||
virtual void | notifyReplacement (const AbstractColumn *replacement) | ||||||||
This must be called before the column is replaced by another. More... | |||||||||
AbstractAspect * | parentAspect () const | ||||||||
Return my parent Aspect or 0 if I currently don't have one. More... | |||||||||
future::Folder * | folder () | ||||||||
Return the folder the Aspect is contained in or 0 if not. More... | |||||||||
bool | isDescendantOf (AbstractAspect *other) | ||||||||
Return whether the there is a path upwards to the given aspect. More... | |||||||||
void | addChild (AbstractAspect *child) | ||||||||
Add the given Aspect to my list of children. More... | |||||||||
void | insertChild (AbstractAspect *child, int index) | ||||||||
Insert the given Aspect at a specific position in my list of children. More... | |||||||||
void | removeChild (AbstractAspect *child, bool detach=false) | ||||||||
Remove the given Aspect from my list of children. More... | |||||||||
void | removeChild (int index) | ||||||||
Remove the Aspect at the given index from my list of children. More... | |||||||||
AbstractAspect * | child (int index) const | ||||||||
Get a child by its position in my list of children. More... | |||||||||
int | childCount () const | ||||||||
Return the number of child Aspects. More... | |||||||||
int | indexOfChild (const AbstractAspect *child) const | ||||||||
Return the position of child in my list of children. More... | |||||||||
int | index () const | ||||||||
Return my position in my parent's list of children. More... | |||||||||
void | moveChild (int from, int to) | ||||||||
Change the positon of a child in my list of children. More... | |||||||||
void | reparentChild (AbstractAspect *new_parent, AbstractAspect *child, int d_new_index) | ||||||||
Move a child to another aspect and transfer ownership. More... | |||||||||
void | reparentChild (AbstractAspect *new_parent, AbstractAspect *child) | ||||||||
Move a child to another aspect and transfer ownership. More... | |||||||||
QList< AbstractAspect * > | descendantsThatInherit (const char *class_name) | ||||||||
Get all descendents that inherit the given class. More... | |||||||||
virtual void | removeAllChildAspects () | ||||||||
Remove all child aspects. More... | |||||||||
virtual const Project * | project () const | ||||||||
Return the Project this Aspect belongs to, or 0 if it is currently not part of one. More... | |||||||||
virtual Project * | project () | ||||||||
Return the Project this Aspect belongs to, or 0 if it is currently not part of one. More... | |||||||||
virtual QString | path () const | ||||||||
Return the path that leads from the top-most Aspect (usually a Project) to me. More... | |||||||||
virtual QIcon | icon () const | ||||||||
Return an icon to be used for decorating my views. More... | |||||||||
virtual QMenu * | createContextMenu () const | ||||||||
Return a new context menu. More... | |||||||||
QString | name () const | ||||||||
QString | comment () const | ||||||||
QString | captionSpec () const | ||||||||
Return the specification string used for constructing the caption(). More... | |||||||||
QDateTime | creationTime () const | ||||||||
QString | caption () const | ||||||||
Formula related functions | |||||||||
Set an interval invalid or valid
| |||||||||
virtual QString | formula (int row) const | ||||||||
Return the formula associated with row 'row' More... | |||||||||
virtual QList< Interval< int > > | formulaIntervals () const | ||||||||
Return the intervals that have associated formulas. More... | |||||||||
virtual void | clearFormulas () | ||||||||
Set a formula string for an interval of rows. More... | |||||||||
Formula related functions | |||||||||
Set an interval invalid or valid
| |||||||||
virtual QString | formula (int row) const | ||||||||
Return the formula associated with row 'row' More... | |||||||||
virtual QList< Interval< int > > | formulaIntervals () const | ||||||||
Return the intervals that have associated formulas. More... | |||||||||
virtual void | clearFormulas () | ||||||||
Set a formula string for an interval of rows. More... | |||||||||
IntervalAttribute related functions | |||||||||
virtual void | clearValidity () | ||||||||
Clear all validity information. More... | |||||||||
Formula related functions | |||||||||
Set an interval invalid or valid
| |||||||||
virtual QString | formula (int row) const | ||||||||
Return the formula associated with row 'row' More... | |||||||||
virtual QList< Interval< int > > | formulaIntervals () const | ||||||||
Return the intervals that have associated formulas. More... | |||||||||
virtual void | clearFormulas () | ||||||||
Set a formula string for an interval of rows. More... | |||||||||
Private Attributes | |
AbstractSimpleFilter * | d_owner |
Friends | |
class | AbstractSimpleFilter |
undo related | |
virtual QUndoStack * | undoStack () const |
Return the undo stack of the Project, or 0 if this Aspect is not part of a Project. More... | |
void | exec (QUndoCommand *command) |
Execute the given command, pushing it on the undoStack() if available. More... | |
void | beginMacro (const QString &text) |
Begin an undo stack macro (series of commands) More... | |
void | endMacro () |
End the undo stack macro. More... | |
static QVariant | global (const QString &key) |
Retrieve a global setting. More... | |
static void | setGlobal (const QString &key, const QVariant &value) |
Update a global setting. More... | |
static void | setGlobalDefault (const QString &key, const QVariant &value) |
Set default value for a global setting. More... | |
serialize/deserialize | |
Private * | d_aspect_private |
virtual void | save (QXmlStreamWriter *) const |
Save as XML. More... | |
virtual bool | load (XmlStreamReader *) |
Load from XML. More... | |
void | importV0x0001XXCreationTime (const QString &str) |
void | aspectDescriptionAboutToChange (const AbstractAspect *aspect) |
Emit this before the name, comment or caption spec is changed. More... | |
void | aspectDescriptionChanged (const AbstractAspect *aspect) |
Emit this when the name, comment or caption spec changed. More... | |
void | aspectAboutToBeAdded (const AbstractAspect *parent, int index) |
Emit this when a parent aspect is about to get a new child inserted. More... | |
void | aspectAdded (const AbstractAspect *aspect) |
Emit this from a newly added aspect. More... | |
void | aspectAdded (const AbstractAspect *parent, int index) |
Emit this from a parent after adding a new child to it. More... | |
void | aspectAboutToBeRemoved (const AbstractAspect *aspect) |
Emit this from an aspect about to be removed from its parent's children. More... | |
void | aspectAboutToBeRemoved (const AbstractAspect *parent, int index) |
Emit this from a parent before removing its child. More... | |
void | aspectRemoved (const AbstractAspect *parent, int index) |
Emit this from the parent after removing a child. More... | |
void | statusInfo (const QString &text) |
Emit this to give status information to the user. More... | |
bool | readBasicAttributes (XmlStreamReader *reader) |
Load name, creation time and caption spec from XML. More... | |
void | writeBasicAttributes (QXmlStreamWriter *writer) const |
Save name, creation time and caption spec to XML. More... | |
void | writeCommentElement (QXmlStreamWriter *writer) const |
Save the comment to XML. More... | |
bool | readCommentElement (XmlStreamReader *reader) |
Load comment from an XML element. More... | |
void | setCreationTime (const QDateTime &time) |
Set the creation time. More... | |
virtual void | completeAspectInsertion (AbstractAspect *aspect, int index) |
Called after a new child has been inserted or added. More... | |
virtual void | prepareAspectRemoval (AbstractAspect *aspect) |
Called before a child is removed. More... | |
void | info (const QString &text) |
Implementations should call this whenever status information should be given to the user. More... | |
void | setName (const QString &value) |
void | setComment (const QString &value) |
void | setCaptionSpec (const QString &value) |
Set the specification string used for constructing the caption(). More... | |
virtual void | remove () |
Remove me from my parent's list of children. More... | |
QString | uniqueNameFor (const QString ¤t_name) const |
Make the specified name unique among my children by incrementing a trailing number. More... | |
type specific functions | |
virtual void | replaceTexts (int first, const QStringList &new_values) |
Set the content of row 'row'. More... | |
virtual void | replaceDateTimes (int first, const QList< QDateTime > &new_values) |
Set the content of row 'row'. More... | |
virtual void | replaceValues (int first, const QVector< qreal > &new_values) |
Set the content of row 'row'. More... | |
void | plotDesignationAboutToChange (const AbstractColumn *source) |
Column plot designation will be changed. More... | |
void | plotDesignationChanged (const AbstractColumn *source) |
Column plot designation changed. More... | |
void | modeAboutToChange (const AbstractColumn *source) |
Column mode (possibly also the data type) will be changed. More... | |
void | modeChanged (const AbstractColumn *source) |
Column mode (possibly also the data type) changed. More... | |
void | dataAboutToChange (const AbstractColumn *source) |
Data (including validity) of the column will be changed. More... | |
void | dataChanged (const AbstractColumn *source) |
Data (including validity) of the column has changed. More... | |
void | aboutToBeReplaced (const AbstractColumn *source, const AbstractColumn *new_col) |
The column will be replaced. More... | |
void | rowsAboutToBeInserted (const AbstractColumn *source, int before, int count) |
Rows will be inserted. More... | |
void | rowsInserted (const AbstractColumn *source, int before, int count) |
Rows have been inserted. More... | |
void | rowsAboutToBeRemoved (const AbstractColumn *source, int first, int count) |
Rows will be deleted. More... | |
void | rowsRemoved (const AbstractColumn *source, int first, int count) |
Rows have been deleted. More... | |
void | maskingAboutToChange (const AbstractColumn *source) |
IntervalAttribute related signal. More... | |
void | maskingChanged (const AbstractColumn *source) |
IntervalAttribute related signal. More... | |
void | aboutToBeDestroyed (const AbstractColumn *source) |
Emitted shortly before this data source is deleted. More... | |
Definition at line 279 of file AbstractSimpleFilter.h.
|
inline |
Definition at line 284 of file AbstractSimpleFilter.h.
|
signalinherited |
Emitted shortly before this data source is deleted.
source | the object emitting this signal |
This is needed by AbstractFilter.
Referenced by AbstractColumn::~AbstractColumn().
|
signalinherited |
The column will be replaced.
This is used then a column is replaced by another column, possibly of another type.
new_col | Pointer to the column this one is to be replaced with. |
source | is always a pointer to the column that emitted this signal. This way it's easier to use one handler for lots of columns. |
Referenced by AbstractColumn::notifyReplacement(), and Column::notifyReplacement().
|
inherited |
Add the given Aspect to my list of children.
Definition at line 114 of file AbstractAspect.cpp.
References AbstractAspect::beginMacro(), AbstractAspect::child(), AbstractAspect::Private::childCount(), AbstractAspect::completeAspectInsertion(), AbstractAspect::d_aspect_private, AbstractAspect::endMacro(), AbstractAspect::exec(), AbstractAspect::info(), AbstractAspect::name(), AbstractAspect::setName(), and AbstractAspect::Private::uniqueNameFor().
Referenced by AbstractSimpleFilter::AbstractSimpleFilter(), Column::Column(), ApplicationWindow::convertMatrixToTable(), ApplicationWindow::convertTableToMatrix(), future::Matrix::duplicate(), ApplicationWindow::importImage(), Column::init(), ApplicationWindow::newMatrix(), ApplicationWindow::newTable(), ApplicationWindow::newTableStatistics(), future::Folder::readChildAspectElement(), and Column::setColumnMode().
|
signalinherited |
Emit this when a parent aspect is about to get a new child inserted.
Referenced by AbstractAspect::Private::insertChild().
|
signalinherited |
Emit this from an aspect about to be removed from its parent's children.
Referenced by AbstractAspect::Private::insertChild(), and AbstractAspect::Private::removeChild().
|
signalinherited |
Emit this from a parent before removing its child.
|
signalinherited |
Emit this from a newly added aspect.
Referenced by AbstractAspect::Private::insertChild().
|
signalinherited |
Emit this from a parent after adding a new child to it.
|
signalinherited |
Emit this before the name, comment or caption spec is changed.
Referenced by AbstractFilter::input(), and AbstractAspect::Private::insertChild().
|
signalinherited |
Emit this when the name, comment or caption spec changed.
Referenced by future::Table::connectColumn(), AbstractFilter::input(), AbstractAspect::Private::insertChild(), and Column::notifyDisplayChange().
|
signalinherited |
Emit this from the parent after removing a child.
Referenced by AbstractAspect::Private::insertChild(), and AbstractAspect::Private::removeChild().
|
inherited |
Begin an undo stack macro (series of commands)
Definition at line 215 of file AbstractAspect.cpp.
References AbstractAspect::undoStack().
Referenced by AbstractAspect::addChild(), future::Table::addColumn(), future::Matrix::addColumns(), future::Table::addColumns(), future::Matrix::addRows(), future::Table::addRows(), Matrix::applyFormula(), TableView::applyType(), future::Matrix::clear(), future::Table::clear(), future::Table::clearMasks(), future::Matrix::clearSelectedCells(), future::Table::clearSelectedCells(), future::Matrix::clearSelectedColumns(), future::Table::clearSelectedColumns(), future::Matrix::clearSelectedRows(), future::Matrix::copy(), future::Table::copy(), future::Matrix::cutSelection(), future::Table::cutSelection(), future::Table::fillSelectedCellsWithRandomNumbers(), future::Table::fillSelectedCellsWithRowNumbers(), AbstractAspect::insertChild(), future::Matrix::insertColumns(), future::Table::insertColumns(), future::Matrix::insertEmptyColumns(), future::Table::insertEmptyColumns(), future::Matrix::insertEmptyRows(), future::Table::insertEmptyRows(), future::Matrix::insertRows(), future::Table::insertRows(), future::Table::maskSelection(), future::Table::moveColumn(), future::Table::normalizeColumns(), future::Table::normalizeSelection(), future::Matrix::pasteIntoSelection(), future::Table::pasteIntoSelection(), future::Table::recalculateSelectedCells(), AbstractAspect::removeAllChildAspects(), AbstractAspect::removeChild(), future::Matrix::removeColumns(), future::Table::removeColumns(), future::Matrix::removeRows(), future::Table::removeRows(), future::Matrix::removeSelectedColumns(), future::Table::removeSelectedColumns(), future::Matrix::removeSelectedRows(), future::Table::removeSelectedRows(), AbstractAspect::reparentChild(), Column::setColumnMode(), future::Matrix::setDimensions(), future::Table::setRowCount(), future::Table::setSelectionAs(), future::Table::sortColumns(), and future::Table::unmaskSelection().
|
inherited |
Definition at line 293 of file AbstractAspect.cpp.
References AbstractAspect::Private::caption(), and AbstractAspect::d_aspect_private.
Referenced by PartMdiView::handleAspectDescriptionChanged().
|
inherited |
Return the specification string used for constructing the caption().
See setCaptionSpec() for format.
Definition at line 271 of file AbstractAspect.cpp.
References AbstractAspect::Private::captionSpec(), and AbstractAspect::d_aspect_private.
Referenced by future::Table::copy(), and AbstractAspect::writeBasicAttributes().
|
inherited |
Get a child by its position in my list of children.
Definition at line 180 of file AbstractAspect.cpp.
References AbstractAspect::Private::child(), AbstractAspect::childCount(), AbstractAspect::d_aspect_private, and AbstractAspect::index().
Referenced by AbstractAspect::addChild(), AbstractAspect::Private::addChild(), AbstractAspect::descendantsThatInherit(), ApplicationWindow::handleAspectAboutToBeRemoved(), ApplicationWindow::handleAspectAdded(), AbstractAspect::indexOfChild(), AbstractAspect::Private::indexOfChild(), AbstractAspect::insertChild(), AbstractAspect::Private::insertChild(), AbstractAspect::Private::removeChild(), AbstractAspect::removeChild(), AbstractAspect::reparentChild(), future::Folder::save(), AbstractAspect::Private::uniqueNameFor(), and AbstractAspect::Private::~Private().
|
inherited |
Return the number of child Aspects.
Definition at line 186 of file AbstractAspect.cpp.
References AbstractAspect::Private::childCount(), and AbstractAspect::d_aspect_private.
Referenced by AbstractAspect::Private::child(), AbstractAspect::child(), AbstractAspect::descendantsThatInherit(), AbstractAspect::moveChild(), AbstractAspect::removeAllChildAspects(), AbstractAspect::removeChild(), AbstractAspect::reparentChild(), and future::Folder::save().
|
inlinevirtualinherited |
Set the column plot designation.
Clear the whole column
Reimplemented in Column.
Definition at line 147 of file AbstractColumn.h.
|
inlinevirtualinherited |
Set a formula string for an interval of rows.
Overloaded function for convenience Clear all formulas
Reimplemented in Column.
Definition at line 209 of file AbstractColumn.h.
|
inlinevirtual |
Clear all masking information.
Reimplemented from AbstractColumn.
Definition at line 296 of file AbstractSimpleFilter.h.
References AbstractSimpleFilter::clearMasks(), and d_owner.
|
inlinevirtualinherited |
Clear all validity information.
Reimplemented in Column.
Definition at line 166 of file AbstractColumn.h.
|
inlinevirtual |
Return the column mode.
Implements AbstractColumn.
Definition at line 287 of file AbstractSimpleFilter.h.
References AbstractSimpleFilter::columnMode(), and d_owner.
|
inherited |
Definition at line 260 of file AbstractAspect.cpp.
References AbstractAspect::Private::comment(), and AbstractAspect::d_aspect_private.
Referenced by Table::colComment(), Table::colComments(), future::Table::copy(), Table::saveComments(), TableView::setColumnForControlTabs(), Matrix::windowLabel(), and AbstractAspect::writeCommentElement().
|
inlineprotectedvirtualinherited |
Called after a new child has been inserted or added.
Unlike the aspectAdded() signals, this method does not get called inside undo/redo actions; allowing subclasses to execute undo commands of their own.
Reimplemented in future::Table.
Definition at line 294 of file AbstractAspect.h.
References AbstractAspect::index().
Referenced by AbstractAspect::addChild(), AbstractAspect::insertChild(), and AbstractAspect::reparentChild().
|
inlinevirtualinherited |
Copy another column of the same type.
This function will return false if the data type of 'other' is not the same as the type of 'this'. The validity information for the rows is also copied. Use a filter to convert a column to another type.
Reimplemented in Column, and ColumnStringIO.
Definition at line 116 of file AbstractColumn.h.
|
inlinevirtualinherited |
Copies part of another column of the same type.
This function will return false if the data type of 'other' is not the same as the type of 'this'. The validity information for the rows is also copied.
other | pointer to the column to copy |
src_start | first row to copy in the column to copy |
dest_start | first row to copy in |
num_rows | the number of rows to copy |
Reimplemented in Column, and ColumnStringIO.
Definition at line 127 of file AbstractColumn.h.
|
virtualinherited |
Return a new context menu.
The caller takes ownership of the menu.
Reimplemented in future::Table, future::Matrix, Project, future::Folder, and AbstractPart.
Definition at line 303 of file AbstractAspect.cpp.
References AbstractAspect::remove().
Referenced by AbstractPart::createContextMenu().
|
inherited |
Definition at line 288 of file AbstractAspect.cpp.
References AbstractAspect::Private::creationTime(), and AbstractAspect::d_aspect_private.
Referenced by Matrix::birthDate(), Matrix::init(), and AbstractAspect::writeBasicAttributes().
|
signalinherited |
Data (including validity) of the column will be changed.
'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
Referenced by AbstractSimpleFilter::inputDataAboutToChange(), and AbstractSimpleFilter::inputModeAboutToChange().
|
signalinherited |
Data (including validity) of the column has changed.
Important: When data has changed also the number of rows in the column may have changed without any other signal emission. 'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
Referenced by AbstractSimpleFilter::inputDataChanged(), AbstractSimpleFilter::inputModeChanged(), and Column::notifyDisplayChange().
|
inlinevirtual |
Return the data type of the column.
Implements AbstractColumn.
Definition at line 286 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::dataType().
|
inlinevirtual |
Return the date part of row 'row'.
Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
Definition at line 298 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::dateAt().
|
inlinevirtual |
Set the content of row 'row'.
Use this only when dataType() is QDateTime Return the QDateTime in row 'row' Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
Definition at line 300 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::dateTimeAt().
|
inherited |
Get all descendents that inherit the given class.
Definition at line 342 of file AbstractAspect.cpp.
References AbstractAspect::child(), AbstractAspect::childCount(), and AbstractAspect::descendantsThatInherit().
Referenced by AbstractAspect::descendantsThatInherit(), and ApplicationWindow::tableWindows().
|
inherited |
End the undo stack macro.
Definition at line 222 of file AbstractAspect.cpp.
References AbstractAspect::undoStack().
Referenced by AbstractAspect::addChild(), future::Table::addColumn(), future::Matrix::addColumns(), future::Table::addColumns(), future::Matrix::addRows(), future::Table::addRows(), Matrix::applyFormula(), TableView::applyType(), future::Matrix::clear(), future::Table::clear(), future::Table::clearMasks(), future::Matrix::clearSelectedCells(), future::Table::clearSelectedCells(), future::Matrix::clearSelectedColumns(), future::Table::clearSelectedColumns(), future::Matrix::clearSelectedRows(), future::Matrix::copy(), future::Table::copy(), future::Matrix::cutSelection(), future::Table::cutSelection(), future::Table::fillSelectedCellsWithRandomNumbers(), future::Table::fillSelectedCellsWithRowNumbers(), AbstractAspect::insertChild(), future::Matrix::insertColumns(), future::Table::insertColumns(), future::Matrix::insertEmptyColumns(), future::Table::insertEmptyColumns(), future::Matrix::insertEmptyRows(), future::Table::insertEmptyRows(), future::Matrix::insertRows(), future::Table::insertRows(), future::Table::maskSelection(), future::Table::moveColumn(), future::Table::normalizeColumns(), future::Table::normalizeSelection(), future::Matrix::pasteIntoSelection(), future::Table::pasteIntoSelection(), future::Table::recalculateSelectedCells(), AbstractAspect::removeAllChildAspects(), AbstractAspect::removeChild(), future::Matrix::removeColumns(), future::Table::removeColumns(), future::Matrix::removeRows(), future::Table::removeRows(), future::Matrix::removeSelectedColumns(), future::Table::removeSelectedColumns(), future::Matrix::removeSelectedRows(), future::Table::removeSelectedRows(), AbstractAspect::reparentChild(), Column::setColumnMode(), future::Matrix::setDimensions(), future::Table::setRowCount(), future::Table::setSelectionAs(), future::Table::sortColumns(), and future::Table::unmaskSelection().
|
inherited |
Execute the given command, pushing it on the undoStack() if available.
Definition at line 203 of file AbstractAspect.cpp.
References AbstractAspect::undoStack().
Referenced by AbstractAspect::addChild(), future::Matrix::addColumns(), future::Matrix::addRows(), future::Table::addRows(), future::Matrix::clear(), Column::clear(), Column::clearFormulas(), Column::clearMasks(), future::Matrix::clearSelectedCells(), future::Matrix::clearSelectedColumns(), future::Matrix::clearSelectedRows(), Column::clearValidity(), future::Table::completeAspectInsertion(), Column::copy(), AbstractAspect::insertChild(), future::Matrix::insertColumns(), future::Matrix::insertRows(), Column::insertRows(), future::Matrix::mirrorHorizontally(), future::Matrix::mirrorVertically(), AbstractAspect::moveChild(), future::Table::moveColumn(), future::Table::prepareAspectRemoval(), AbstractAspect::removeChild(), future::Matrix::removeColumns(), future::Matrix::removeRows(), future::Table::removeRows(), Column::removeRows(), AbstractAspect::reparentChild(), Column::replaceDateTimes(), Column::replaceTexts(), Column::replaceValues(), AbstractAspect::setCaptionSpec(), future::Matrix::setCell(), future::Matrix::setColumnCells(), Column::setColumnMode(), AbstractAspect::setComment(), future::Matrix::setCoordinates(), AbstractAspect::setCreationTime(), Column::setDateTimeAt(), future::Matrix::setDimensions(), future::Matrix::setDisplayedDigits(), DateTime2StringFilter::setFormat(), String2DateTimeFilter::setFormat(), future::Matrix::setFormula(), Column::setFormula(), Column::setInvalid(), Column::setMasked(), AbstractAspect::setName(), Double2StringFilter::setNumDigits(), Double2StringFilter::setNumericFormat(), future::Matrix::setNumericFormat(), Column::setPlotDesignation(), future::Matrix::setRowCells(), future::Table::setRowCount(), Column::setTextAt(), Column::setValueAt(), future::Matrix::setXEnd(), future::Matrix::setXStart(), future::Matrix::setYEnd(), future::Matrix::setYStart(), and future::Matrix::transpose().
|
inherited |
Return the folder the Aspect is contained in or 0 if not.
The returned folder may be the aspect itself if it inherits Folder.
Definition at line 316 of file AbstractAspect.cpp.
References AbstractAspect::parentAspect().
Referenced by Project::createFolderContextMenu(), future::Matrix::duplicate(), and future::Folder::readChildAspectElement().
|
inlinevirtualinherited |
Return the formula associated with row 'row'
Reimplemented in Column.
Definition at line 190 of file AbstractColumn.h.
|
inlinevirtualinherited |
Return the intervals that have associated formulas.
This can be used to make a list of formulas with their intervals. Here is some example code:
Reimplemented in Column.
Definition at line 203 of file AbstractColumn.h.
|
staticinherited |
Retrieve a global setting.
Definition at line 360 of file AbstractAspect.cpp.
References AbstractAspect::Private::g_defaults, and AbstractAspect::Private::g_settings.
Referenced by future::Matrix::importImageDialog(), and ProjectConfigPage::ProjectConfigPage().
|
virtualinherited |
Return an icon to be used for decorating my views.
Reimplemented in Column, future::Table, future::Matrix, and future::Folder.
Definition at line 298 of file AbstractAspect.cpp.
Referenced by PartMdiView::PartMdiView().
|
inlineinherited |
Definition at line 255 of file AbstractAspect.h.
References AbstractAspect::setCreationTime(), and str.
Referenced by Matrix::setBirthDate().
|
inlineinherited |
Return my position in my parent's list of children.
Definition at line 137 of file AbstractAspect.h.
References AbstractAspect::indexOfChild(), and AbstractAspect::parentAspect().
Referenced by AbstractAspect::Private::child(), AbstractAspect::child(), future::Table::column(), future::Table::Private::column(), AbstractAspect::completeAspectInsertion(), future::Table::completeAspectInsertion(), future::Table::handleDataChange(), future::Table::handleDescriptionChange(), future::Table::handleModeChange(), future::Table::handlePlotDesignationChange(), future::Table::handleRowsInserted(), future::Table::handleRowsRemoved(), AbstractAspect::insertChild(), AbstractAspect::Private::insertChild(), AbstractAspect::Private::removeChild(), AbstractAspect::removeChild(), and Column::XmlReadRow().
|
inherited |
Return the position of child in my list of children.
Definition at line 191 of file AbstractAspect.cpp.
References AbstractAspect::child(), AbstractAspect::d_aspect_private, and AbstractAspect::Private::indexOfChild().
Referenced by AbstractAspect::index(), AbstractAspect::remove(), AbstractAspect::Private::removeChild(), AbstractAspect::removeChild(), and AbstractAspect::reparentChild().
|
inlineprotectedinherited |
Implementations should call this whenever status information should be given to the user.
This will cause statusInfo() to be emitted. Typically, this will cause the specified string to be displayed in a status bar, a log window or some similar non-blocking way so as not to disturb the workflow.
Definition at line 307 of file AbstractAspect.h.
References AbstractAspect::statusInfo().
Referenced by AbstractAspect::addChild(), AbstractAspect::insertChild(), AbstractAspect::reparentChild(), and AbstractAspect::setName().
|
inherited |
Insert the given Aspect at a specific position in my list of children.
Definition at line 128 of file AbstractAspect.cpp.
References AbstractAspect::beginMacro(), AbstractAspect::child(), AbstractAspect::completeAspectInsertion(), AbstractAspect::d_aspect_private, AbstractAspect::endMacro(), AbstractAspect::exec(), AbstractAspect::index(), AbstractAspect::info(), AbstractAspect::name(), AbstractAspect::setName(), and AbstractAspect::Private::uniqueNameFor().
Referenced by AbstractAspect::Private::addChild(), and future::Table::insertColumns().
|
inlinevirtualinherited |
Insert some empty (or initialized with zero) rows.
Reimplemented in Column.
Definition at line 139 of file AbstractColumn.h.
|
inlinevirtual |
Return all intervals of invalid rows.
Reimplemented from AbstractColumn.
Definition at line 292 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::invalidIntervals().
|
inherited |
Return whether the there is a path upwards to the given aspect.
This also returns true if other==this.
Definition at line 325 of file AbstractAspect.cpp.
References AbstractAspect::parentAspect().
|
inlinevirtual |
Return whether a certain row contains an invalid value
Reimplemented from AbstractColumn.
Definition at line 290 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::isInvalid().
|
inlinevirtual |
Return whether a certain interval of rows contains only invalid values
Reimplemented from AbstractColumn.
Definition at line 291 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::isInvalid().
|
inlinevirtual |
Return whether a certain row is masked
Reimplemented from AbstractColumn.
Definition at line 293 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::isMasked().
|
inlinevirtual |
Return whether a certain interval of rows rows is fully masked
Reimplemented from AbstractColumn.
Definition at line 294 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::isMasked().
|
inlinevirtualinherited |
Return whether the object is read-only.
Reimplemented in Column.
Definition at line 94 of file AbstractColumn.h.
|
inlinevirtualinherited |
Load from XML.
XmlStreamReader supports errors as well as warnings. If only warnings (non-critial errors) occur, this function must return the reader at the end element corresponding to the current element at the time the function was called.
This function is normally intended to be called directly after the ctor. If you want to call load on an aspect that has been altered, you must make sure beforehand that it is in the same state as after creation, e.g., remove all its child aspects.
Reimplemented in Column, String2DateTimeFilter, Double2StringFilter, DateTime2StringFilter, AbstractSimpleFilter, future::Table, future::Matrix, Project, and future::Folder.
Definition at line 217 of file AbstractAspect.h.
|
inlinevirtual |
Return all intervals of masked rows.
Reimplemented from AbstractColumn.
Definition at line 295 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::maskedIntervals().
|
signalinherited |
IntervalAttribute related signal.
Referenced by AbstractSimpleFilter::clearMasks(), SimpleCopyThroughFilter::inputMaskingAboutToChange(), and AbstractSimpleFilter::setMasked().
|
signalinherited |
IntervalAttribute related signal.
Referenced by AbstractSimpleFilter::clearMasks(), SimpleCopyThroughFilter::inputMaskingChanged(), and AbstractSimpleFilter::setMasked().
|
signalinherited |
Column mode (possibly also the data type) will be changed.
'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
Referenced by Column::Private::setColumnMode().
|
signalinherited |
Column mode (possibly also the data type) changed.
'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
|
inherited |
Change the positon of a child in my list of children.
Definition at line 196 of file AbstractAspect.cpp.
References AbstractAspect::childCount(), AbstractAspect::d_aspect_private, and AbstractAspect::exec().
Referenced by future::Table::moveColumn().
|
inherited |
Definition at line 229 of file AbstractAspect.cpp.
References AbstractAspect::d_aspect_private, and AbstractAspect::Private::name().
Referenced by AbstractAspect::addChild(), future::Table::addColumn(), future::Matrix::addColumns(), future::Table::addColumns(), Filter::addResultCurve(), future::Matrix::addRows(), future::Table::addRows(), TableView::applyType(), AspectChildAddCmd::AspectChildAddCmd(), AspectChildRemoveCmd::AspectChildRemoveCmd(), AspectChildReparentCmd::AspectChildReparentCmd(), future::Matrix::clear(), future::Table::clear(), future::Table::clearMasks(), future::Matrix::clearSelectedCells(), future::Table::clearSelectedCells(), future::Matrix::clearSelectedColumns(), future::Table::clearSelectedColumns(), future::Matrix::clearSelectedRows(), Table::colLabel(), Table::colNames(), future::Table::column(), Table::columnsList(), future::Matrix::copy(), future::Table::copy(), future::Matrix::cutSelection(), future::Table::cutSelection(), DateTime2StringFilterSetFormatCmd::DateTime2StringFilterSetFormatCmd(), ApplicationWindow::defineErrorBars(), Double2StringFilterSetDigitsCmd::Double2StringFilterSetDigitsCmd(), Double2StringFilterSetFormatCmd::Double2StringFilterSetFormatCmd(), Table::drawableColumnSelection(), future::Matrix::duplicate(), future::Table::export_to_TeX(), future::Table::fillSelectedCellsWithRandomNumbers(), future::Table::fillSelectedCellsWithRowNumbers(), TableView::handleAspectAdded(), Matrix::handleAspectDescriptionChange(), Table::handleAspectDescriptionChange(), TableView::handleAspectDescriptionChanged(), Table::importASCII(), ApplicationWindow::importASCII(), Table::init(), AbstractAspect::insertChild(), future::Matrix::insertColumns(), future::Table::insertColumns(), future::Matrix::insertEmptyColumns(), future::Table::insertEmptyColumns(), future::Matrix::insertEmptyRows(), future::Table::insertEmptyRows(), future::Matrix::insertRows(), future::Table::insertRows(), future::Table::maskSelection(), future::Table::moveColumn(), Matrix::name(), future::Matrix::Private::name(), future::Table::Private::name(), future::Table::normalizeColumns(), future::Table::normalizeSelection(), Differentiation::output(), future::Matrix::pasteIntoSelection(), future::Table::pasteIntoSelection(), AbstractAspect::path(), AbstractAspect::readBasicAttributes(), future::Table::recalculateSelectedCells(), AbstractAspect::removeAllChildAspects(), AbstractAspect::removeChild(), future::Matrix::removeColumns(), future::Table::removeColumns(), future::Matrix::removeRows(), future::Table::removeRows(), future::Matrix::removeSelectedColumns(), future::Table::removeSelectedColumns(), future::Matrix::removeSelectedRows(), future::Table::removeSelectedRows(), AbstractAspect::reparentChild(), Table::selectedColumns(), Table::selectedErrColumns(), Table::selectedYColumns(), Table::selectedYLabels(), TableView::setColumnForControlTabs(), Column::setColumnMode(), future::Matrix::setDimensions(), Graph::setLabelsTextFormat(), future::Table::setRowCount(), future::Table::setSelectionAs(), future::Table::showTeXTableExportDialog(), future::Table::sortColumns(), String2DateTimeFilterSetFormatCmd::String2DateTimeFilterSetFormatCmd(), TableMoveColumnCmd::TableMoveColumnCmd(), ApplicationWindow::tableWindows(), AbstractAspect::Private::uniqueNameFor(), future::Table::unmaskSelection(), AbstractAspect::writeBasicAttributes(), and Table::YColumns().
|
inlinevirtualinherited |
This must be called before the column is replaced by another.
Reimplemented in Column.
Definition at line 149 of file AbstractColumn.h.
References AbstractColumn::aboutToBeReplaced().
|
inherited |
Return my parent Aspect or 0 if I currently don't have one.
Definition at line 109 of file AbstractAspect.cpp.
References AbstractAspect::d_aspect_private, and AbstractAspect::Private::parent().
Referenced by DateTime2StringFilterSetFormatCmd::DateTime2StringFilterSetFormatCmd(), Double2StringFilterSetDigitsCmd::Double2StringFilterSetDigitsCmd(), Double2StringFilterSetFormatCmd::Double2StringFilterSetFormatCmd(), AbstractAspect::folder(), TableView::handleAspectAdded(), TableView::handleAspectDescriptionChanged(), AbstractAspect::index(), AbstractAspect::isDescendantOf(), AbstractAspect::path(), AbstractAspect::project(), AbstractAspect::remove(), Graph::setLabelsTextFormat(), String2DateTimeFilterSetFormatCmd::String2DateTimeFilterSetFormatCmd(), and AbstractAspect::undoStack().
|
inlinevirtualinherited |
Return the path that leads from the top-most Aspect (usually a Project) to me.
Reimplemented in Project.
Definition at line 154 of file AbstractAspect.h.
References AbstractAspect::name(), AbstractAspect::parentAspect(), and AbstractAspect::path().
Referenced by AbstractAspect::path().
|
inlinevirtual |
Return the column plot designation.
Implements AbstractColumn.
Definition at line 289 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::plotDesignation().
|
signalinherited |
Column plot designation will be changed.
'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
Referenced by AbstractSimpleFilter::inputPlotDesignationAboutToChange().
|
signalinherited |
Column plot designation changed.
'source' is always the this pointer of the column that emitted this signal. This way it's easier to use one handler for lots of columns.
Referenced by AbstractSimpleFilter::inputPlotDesignationChanged().
|
inlineprotectedvirtualinherited |
Called before a child is removed.
Unlike the aspectAboutToBeRemoved() signals, this method does not get called inside undo/redo actions; allowing subclasses to execute undo commands of their own.
Reimplemented in future::Table.
Definition at line 300 of file AbstractAspect.h.
Referenced by AbstractAspect::removeChild(), and AbstractAspect::reparentChild().
|
inlinevirtualinherited |
Return the Project this Aspect belongs to, or 0 if it is currently not part of one.
Reimplemented in Project.
Definition at line 152 of file AbstractAspect.h.
References AbstractAspect::parentAspect(), and AbstractAspect::project().
|
inlinevirtualinherited |
Return the Project this Aspect belongs to, or 0 if it is currently not part of one.
Reimplemented in Project.
Definition at line 150 of file AbstractAspect.h.
References AbstractAspect::parentAspect(), and AbstractAspect::project().
Referenced by future::Folder::createContextMenu(), and AbstractAspect::project().
|
protectedinherited |
Load name, creation time and caption spec from XML.
Definition at line 77 of file AbstractAspect.cpp.
References AbstractAspect::name(), XmlStreamReader::raiseWarning(), AbstractAspect::setCaptionSpec(), AbstractAspect::setCreationTime(), AbstractAspect::setName(), and str.
Referenced by future::Folder::load(), future::Matrix::load(), future::Table::load(), AbstractSimpleFilter::load(), and Column::load().
|
protectedinherited |
Load comment from an XML element.
Definition at line 61 of file AbstractAspect.cpp.
References AbstractAspect::setComment().
Referenced by future::Folder::load(), future::Matrix::load(), future::Table::load(), AbstractSimpleFilter::load(), and Column::load().
|
inlinevirtualslotinherited |
Remove me from my parent's list of children.
Definition at line 250 of file AbstractAspect.h.
References AbstractAspect::indexOfChild(), AbstractAspect::parentAspect(), and AbstractAspect::removeChild().
Referenced by Matrix::closeEvent(), PartMdiView::closeEvent(), AbstractAspect::createContextMenu(), Table::importASCII(), Column::Private::removeRows(), and future::Matrix::Private::removeRows().
|
virtualinherited |
Remove all child aspects.
Definition at line 352 of file AbstractAspect.cpp.
References AbstractAspect::beginMacro(), AbstractAspect::childCount(), AbstractAspect::endMacro(), AbstractAspect::name(), and AbstractAspect::removeChild().
Referenced by future::Folder::load().
|
inherited |
Remove the given Aspect from my list of children.
Usually, the ownership of the child is transfered to the undo command, i.e., the aspect is deleted by the undo command. But by setting detach to true, you can remove a child from the Aspect tree without deleting it. Of course, that means whovere detaches an Aspect in responsible for deleting it (or re-attaching it somewhere in the tree).
Definition at line 142 of file AbstractAspect.cpp.
References AbstractAspect::beginMacro(), AbstractAspect::child(), AbstractAspect::d_aspect_private, AbstractAspect::endMacro(), AbstractAspect::exec(), AbstractAspect::indexOfChild(), AbstractAspect::name(), and AbstractAspect::prepareAspectRemoval().
Referenced by AbstractAspect::remove(), AbstractAspect::removeAllChildAspects(), AbstractAspect::removeChild(), future::Table::removeColumns(), ApplicationWindow::removeDependentTableStatistics(), and Column::setColumnMode().
|
inherited |
Remove the Aspect at the given index from my list of children.
The ownership of the child is transfered to the undo command, i.e., the aspect is deleted by the undo command.
Definition at line 174 of file AbstractAspect.cpp.
References AbstractAspect::Private::child(), AbstractAspect::childCount(), AbstractAspect::d_aspect_private, AbstractAspect::index(), and AbstractAspect::removeChild().
|
inlinevirtualinherited |
Remove 'count' rows starting from row 'first'.
Reimplemented in Column.
Definition at line 141 of file AbstractColumn.h.
|
inherited |
Move a child to another aspect and transfer ownership.
Definition at line 151 of file AbstractAspect.cpp.
References AbstractAspect::child(), AbstractAspect::childCount(), and AbstractAspect::reparentChild().
|
inherited |
Move a child to another aspect and transfer ownership.
Definition at line 157 of file AbstractAspect.cpp.
References AbstractAspect::beginMacro(), AbstractAspect::child(), AbstractAspect::childCount(), AbstractAspect::completeAspectInsertion(), AbstractAspect::d_aspect_private, AbstractAspect::endMacro(), AbstractAspect::exec(), AbstractAspect::indexOfChild(), AbstractAspect::info(), AbstractAspect::name(), AbstractAspect::prepareAspectRemoval(), AbstractAspect::setName(), and AbstractAspect::Private::uniqueNameFor().
Referenced by AbstractAspect::reparentChild().
|
inlinevirtualinherited |
Set the content of row 'row'.
Use this only when dataType() is QDateTime Replace a range of values Use this only when dataType() is QDateTime
Reimplemented in Column.
Definition at line 263 of file AbstractColumn.h.
|
inlinevirtualinherited |
Set the content of row 'row'.
Use this only when dataType() is QString Replace a range of values Use this only when dataType() is QString
Reimplemented in ColumnStringIO, and Column.
Definition at line 228 of file AbstractColumn.h.
|
inlinevirtualinherited |
Set the content of row 'row'.
Use this only when dataType() is double Replace a range of values Use this only when dataType() is double
Reimplemented in Column.
Definition at line 278 of file AbstractColumn.h.
|
inlinevirtual |
Return the data vector size.
Implements AbstractColumn.
Definition at line 288 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::rowCount().
|
signalinherited |
Rows will be inserted.
source | the column that emitted the signal |
before | the row to insert before |
count | the number of rows to be inserted |
Referenced by AbstractSimpleFilter::inputRowsAboutToBeInserted().
|
signalinherited |
Rows will be deleted.
source | the column that emitted the signal |
first | the first row to be deleted |
count | the number of rows to be deleted |
Referenced by AbstractSimpleFilter::inputRowsAboutToBeRemoved().
|
signalinherited |
Rows have been inserted.
source | the column that emitted the signal |
before | the row to insert before |
count | the number of rows to be inserted |
Referenced by AbstractSimpleFilter::inputRowsInserted().
|
signalinherited |
Rows have been deleted.
source | the column that emitted the signal |
first | the first row that was deleted |
count | the number of deleted rows |
Referenced by AbstractSimpleFilter::inputRowsRemoved().
|
inlinevirtualinherited |
Save as XML.
Reimplemented in Column, AbstractSimpleFilter, future::Table, future::Matrix, Project, and future::Folder.
Definition at line 201 of file AbstractAspect.h.
Referenced by future::Folder::save().
|
slotinherited |
Set the specification string used for constructing the caption().
The caption is constructed by substituting some magic tokens in the specification:
Additionally, you can use the construct C{<text>}. <text> is only shown in the caption if comment() is not empty (name and creation time should never be empty).
The default caption specification is "%n%C{ - }%c".
Definition at line 276 of file AbstractAspect.cpp.
References AbstractAspect::Private::captionSpec(), AbstractAspect::d_aspect_private, and AbstractAspect::exec().
Referenced by future::Table::copy(), AbstractAspect::readBasicAttributes(), and Matrix::setCaptionPolicy().
|
inlinevirtualinherited |
Set the column mode.
This sets the column mode and, if necessary, converts it to another datatype.
Reimplemented in Column.
Definition at line 107 of file AbstractColumn.h.
|
slotinherited |
Definition at line 265 of file AbstractAspect.cpp.
References AbstractAspect::Private::comment(), AbstractAspect::d_aspect_private, and AbstractAspect::exec().
Referenced by future::Table::copy(), ImportOPJ::importSpreadsheet(), future::Folder::load(), future::Matrix::load(), future::Table::load(), Column::load(), AbstractAspect::readCommentElement(), Table::setColComment(), Table::setColComments(), and Matrix::setWindowLabel().
|
protectedinherited |
Set the creation time.
The creation time will automatically be set when the aspect object is created. This function is usually only needed when the aspect is loaded from a file.
Definition at line 282 of file AbstractAspect.cpp.
References AbstractAspect::Private::creationTime(), AbstractAspect::d_aspect_private, and AbstractAspect::exec().
Referenced by AbstractAspect::importV0x0001XXCreationTime(), and AbstractAspect::readBasicAttributes().
|
staticinherited |
Update a global setting.
Definition at line 370 of file AbstractAspect.cpp.
References AbstractAspect::Private::g_settings.
Referenced by ProjectConfigPage::apply(), and future::Matrix::importImageDialog().
|
staticinherited |
Set default value for a global setting.
Definition at line 375 of file AbstractAspect.cpp.
References AbstractAspect::Private::g_defaults.
|
slotinherited |
Definition at line 234 of file AbstractAspect.cpp.
References AbstractAspect::d_aspect_private, AbstractAspect::exec(), AbstractAspect::info(), AbstractAspect::Private::name(), AbstractAspect::Private::parent(), and AbstractAspect::uniqueNameFor().
Referenced by AbstractAspect::addChild(), Table::importASCII(), ApplicationWindow::importASCII(), ImportOPJ::importSpreadsheet(), Table::importV0x0001XXHeader(), AbstractAspect::insertChild(), Column::Private::Private(), AbstractAspect::readBasicAttributes(), AbstractAspect::reparentChild(), Column::Private::replaceModeData(), Table::setColName(), Column::Private::setColumnMode(), Table::setHeader(), and Matrix::setName().
|
signalinherited |
Emit this to give status information to the user.
Referenced by AbstractAspect::info(), and AbstractAspect::Private::insertChild().
|
inlinevirtual |
Return the content of row 'row'.
Use this only when dataType() is QString
Reimplemented from AbstractColumn.
Definition at line 297 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::textAt().
|
inlinevirtual |
Set the content of row 'row'.
Use this only when dataType() is QDateTime Return the time part of row 'row' Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
Definition at line 299 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::timeAt().
|
inlinevirtualinherited |
Return the undo stack of the Project, or 0 if this Aspect is not part of a Project.
It's also possible to construct undo-enabled Aspect trees without Project. The only requirement is that the root Aspect reimplements undoStack() to get the undo stack from somewhere (the default implementation just delegates to parentAspect()).
Reimplemented in Project.
Definition at line 182 of file AbstractAspect.h.
References AbstractAspect::parentAspect(), and AbstractAspect::undoStack().
Referenced by AbstractAspect::beginMacro(), AbstractAspect::endMacro(), AbstractAspect::exec(), and AbstractAspect::undoStack().
|
slotinherited |
Make the specified name unique among my children by incrementing a trailing number.
Definition at line 337 of file AbstractAspect.cpp.
References AbstractAspect::d_aspect_private, and AbstractAspect::Private::uniqueNameFor().
Referenced by AbstractAspect::setName().
|
inlinevirtual |
Return the double value in row 'row'.
Use this only when dataType() is double
Reimplemented from AbstractColumn.
Definition at line 301 of file AbstractSimpleFilter.h.
References d_owner, and AbstractSimpleFilter::valueAt().
|
protectedinherited |
Save name, creation time and caption spec to XML.
Definition at line 70 of file AbstractAspect.cpp.
References AbstractAspect::captionSpec(), AbstractAspect::creationTime(), AbstractAspect::name(), and toString().
Referenced by future::Folder::save(), future::Matrix::save(), future::Table::save(), AbstractSimpleFilter::save(), and Column::save().
|
protectedinherited |
Save the comment to XML.
Definition at line 52 of file AbstractAspect.cpp.
References AbstractAspect::comment().
Referenced by future::Folder::save(), future::Matrix::save(), future::Table::save(), AbstractSimpleFilter::save(), and Column::save().
|
friend |
Definition at line 306 of file AbstractSimpleFilter.h.
|
privateinherited |
Definition at line 310 of file AbstractAspect.h.
Referenced by AbstractAspect::addChild(), AbstractAspect::caption(), AbstractAspect::captionSpec(), AbstractAspect::child(), AbstractAspect::childCount(), AbstractAspect::comment(), AbstractAspect::creationTime(), AbstractAspect::indexOfChild(), AbstractAspect::insertChild(), AbstractAspect::Private::insertChild(), AbstractAspect::moveChild(), AbstractAspect::name(), AbstractAspect::parentAspect(), AbstractAspect::Private::removeChild(), AbstractAspect::removeChild(), AbstractAspect::reparentChild(), AbstractAspect::setCaptionSpec(), AbstractAspect::setComment(), AbstractAspect::setCreationTime(), AbstractAspect::setName(), AbstractAspect::uniqueNameFor(), and AbstractAspect::~AbstractAspect().
|
private |
Definition at line 304 of file AbstractSimpleFilter.h.
Referenced by clearMasks(), columnMode(), dataType(), dateAt(), dateTimeAt(), invalidIntervals(), isInvalid(), isMasked(), maskedIntervals(), plotDesignation(), rowCount(), textAt(), timeAt(), and valueAt().