-// Copyright (C) 2013-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <QItemDelegate>
#include <QTableWidget>
+class CurveCreator_Widget;
+
class CurveCreator_TableItemDelegate : public QItemDelegate
{
public:
const QModelIndex& theIndex ) const;
};
-class CurveCreator_TableView : public QTableWidget
+class CURVECREATOR_EXPORT CurveCreator_TableView : public QTableWidget
{
Q_OBJECT
public:
- CurveCreator_TableView( CurveCreator_ICurve* theCurve, QWidget* theParent = 0,
+ CurveCreator_TableView( CurveCreator_ICurve* theCurve, CurveCreator_Widget* theParent,
const QStringList& theCoordTitles = QStringList() );
~CurveCreator_TableView() {};
*/
int getPointId( const int theRowId ) const;
-private slots:
+public slots:
void OnHeaderClick( int );
private:
+ CurveCreator_Widget* myWidget;
CurveCreator_ICurve* myCurve;
+ int myCurrentSortId;
+ Qt::SortOrder myCurrentSortOrder;
};
#endif // CURVECREATOR_TABLEVIEW_H