Engauge Digitizer 2
|
Model that adds row highlighting according to the currently select point identifier. More...
#include <GeometryModel.h>
Public Member Functions | |
GeometryModel () | |
Single constructor. | |
virtual | ~GeometryModel () |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
Override for special processing. | |
void | setCurrentPointIdentifier (const QString &pointIdentifier) |
Set the point identifier to be highlighted. Value is empty for no highlighting. | |
void | setPotentialExportAmbiguity (const QVector< bool > &isPotentialExportAmbiguity) |
Remember which rows could have ambiguities during export - these will be highlighted. | |
Public Member Functions inherited from WindowModelBase | |
WindowModelBase () | |
Single constructor. | |
virtual | ~WindowModelBase () |
QMimeData * | mimeData (const QModelIndexList &indexes) const |
Support dragging of multiple cells. | |
QString | selectionAsHtml () const |
Convert the selection into exportable html which is good for spreadsheets. | |
QString | selectionAsText (ExportDelimiter delimiter) const |
Convert the selection into exportable text which is good for text editors. | |
void | setDelimiter (ExportDelimiter delimiter) |
Save output delimiter. | |
void | setView (WindowTable &view) |
Save the view so this class can access the current selection. |
Model that adds row highlighting according to the currently select point identifier.
Definition at line 16 of file GeometryModel.h.
GeometryModel::GeometryModel | ( | ) |
Single constructor.
Definition at line 14 of file GeometryModel.cpp.
|
virtual |
Definition at line 19 of file GeometryModel.cpp.
|
virtual |
Override for special processing.
Definition at line 23 of file GeometryModel.cpp.
void GeometryModel::setCurrentPointIdentifier | ( | const QString & | pointIdentifier | ) |
Set the point identifier to be highlighted. Value is empty for no highlighting.
Definition at line 83 of file GeometryModel.cpp.
void GeometryModel::setPotentialExportAmbiguity | ( | const QVector< bool > & | isPotentialExportAmbiguity | ) |
Remember which rows could have ambiguities during export - these will be highlighted.
Definition at line 118 of file GeometryModel.cpp.