#include <CurveCreator_TableView.h>

Public Member Functions | |
| CurveCreator_TableView (CurveCreator_ICurve *theCurve, QWidget *theParent=0, const QStringList &theCoordTitles=QStringList()) | |
| ~CurveCreator_TableView () | |
| void | setCurve (CurveCreator_ICurve *theCurve) |
| void | setLocalPointsToTable (const CurveCreator_ICurve::SectionToPointList &thePoints) |
| int | getSectionId (const int theRowId) const |
| Returns a section index from the table. More... | |
| int | getPointId (const int theRowId) const |
| Returns a point index from the table. More... | |
Private Slots | |
| void | OnHeaderClick (int) |
Private Attributes | |
| CurveCreator_ICurve * | myCurve |
| CurveCreator_TableView::CurveCreator_TableView | ( | CurveCreator_ICurve * | theCurve, |
| QWidget * | theParent = 0, |
||
| const QStringList & | theCoordTitles = QStringList() |
||
| ) |
References OnHeaderClick(), POINT_INDEX_COLUMN_WIDTH, and SECTION_NAME_COLUMN_WIDTH.
|
inline |
| int CurveCreator_TableView::getPointId | ( | const int | theRowId | ) | const |
| theRowId | a table row |
| int CurveCreator_TableView::getSectionId | ( | const int | theRowId | ) | const |
| theRowId | a table row |
|
privateslot |
| void CurveCreator_TableView::setCurve | ( | CurveCreator_ICurve * | theCurve | ) |
References myCurve.
| void CurveCreator_TableView::setLocalPointsToTable | ( | const CurveCreator_ICurve::SectionToPointList & | thePoints | ) |
References CurveCreator_UtilsICurve::getPoint(), CurveCreator_ICurve::getSectionName(), and myCurve.
|
private |