20#ifndef CURVECREATOR_TABLEVIEW_H
21#define CURVECREATOR_TABLEVIEW_H
25#include <QItemDelegate>
26#include <QTableWidget>
37 const QStyleOptionViewItem& theOption,
38 const QModelIndex& theIndex )
const;
41 const QModelIndex& theIndex )
const;
50 const QStringList& theCoordTitles = QStringList() );
61 int getSectionId(
const int theRowId )
const;
66 int getPointId(
const int theRowId )
const;
69 void OnHeaderClick(
int );
#define CURVECREATOR_EXPORT
Definition: CurveCreator_Macro.hxx:41
The CurveCreator_ICurve object is represented as one or more sets of connected points; thus CurveCrea...
Definition: CurveCreator_ICurve.hxx:73
std::deque< SectionToPoint > SectionToPointList
Definition: CurveCreator_ICurve.hxx:76
Definition: CurveCreator_TableView.h:31
virtual void setEditorData(QWidget *theEditor, const QModelIndex &theIndex) const
Definition: CurveCreator_TableView.cxx:67
virtual QWidget * createEditor(QWidget *theParent, const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const
Creates an editor for the cell.
Definition: CurveCreator_TableView.cxx:48
CurveCreator_TableItemDelegate(QObject *theParent)
Definition: CurveCreator_TableView.cxx:40
virtual void setModelData(QWidget *theEditor, QAbstractItemModel *theModel, const QModelIndex &theIndex) const
Definition: CurveCreator_TableView.cxx:82
~CurveCreator_TableItemDelegate()
Definition: CurveCreator_TableView.h:34
Definition: CurveCreator_TableView.h:45
int myCurrentSortId
Definition: CurveCreator_TableView.h:75
~CurveCreator_TableView()
Definition: CurveCreator_TableView.h:51
Qt::SortOrder myCurrentSortOrder
Definition: CurveCreator_TableView.h:76
CurveCreator_ICurve * myCurve
Definition: CurveCreator_TableView.h:73
CurveCreator_Widget * myWidget
Definition: CurveCreator_TableView.h:72