#include <CurveCreator_TreeView.h>
◆ IconType
Enumerator |
---|
ICON_POLYLINE | |
ICON_SPLINE | |
ICON_CLOSED_SPLINE | |
ICON_CLOSED_POLYLINE | |
ICON_POINT | |
◆ CurveCreator_TreeViewModel()
◆ columnCount()
int CurveCreator_TreeViewModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
◆ data()
QVariant CurveCreator_TreeViewModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
References CurveCreator_Utils::colorConv(), CurveCreator_ICurve::getNbPoints(), CurveCreator_ICurve::getSectionName(), CurveCreator_ICurve::getSectionType(), ICON_CLOSED_POLYLINE, ICON_CLOSED_SPLINE, ICON_POLYLINE, ICON_SPLINE, ID_SECTION, index(), CurveCreator_ICurve::isClosed(), myCachedIcons, myCurve, myDrawColorIcon, and CurveCreator::Polyline.
◆ getPoint()
int CurveCreator_TreeViewModel::getPoint |
( |
const QModelIndex & |
theIndx | ) |
const |
◆ getSection()
int CurveCreator_TreeViewModel::getSection |
( |
const QModelIndex & |
theIndx | ) |
const |
◆ index()
QModelIndex CurveCreator_TreeViewModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
virtual |
◆ isSection()
bool CurveCreator_TreeViewModel::isSection |
( |
const QModelIndex & |
theIndx | ) |
const |
◆ nbPointsIndex()
QModelIndex CurveCreator_TreeViewModel::nbPointsIndex |
( |
int |
theSection | ) |
const |
◆ parent()
QModelIndex CurveCreator_TreeViewModel::parent |
( |
const QModelIndex & |
theIndex | ) |
const |
|
virtual |
◆ pointIndex()
QModelIndex CurveCreator_TreeViewModel::pointIndex |
( |
int |
theSection, |
|
|
int |
thePoint |
|
) |
| const |
◆ rowCount()
int CurveCreator_TreeViewModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
◆ sectionIndex()
QModelIndex CurveCreator_TreeViewModel::sectionIndex |
( |
int |
theSection | ) |
const |
◆ setCurve()
◆ myCachedIcons
QMap<IconType, QPixmap> CurveCreator_TreeViewModel::myCachedIcons |
|
private |
◆ myCurve
◆ myDrawColorIcon
bool CurveCreator_TreeViewModel::myDrawColorIcon |
|
private |
The documentation for this class was generated from the following files: