mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-29 08:49:59 +02:00
Add itemTYpe for QetGraphicsTableItem and QetGraphicsHeaderItem
This commit is contained in:
@@ -31,6 +31,9 @@ class QetGraphicsHeaderItem : public QGraphicsObject
|
||||
public:
|
||||
QetGraphicsHeaderItem(QGraphicsItem *parent = nullptr);
|
||||
|
||||
enum { Type = UserType + 1301 };
|
||||
int type() const override { return Type; }
|
||||
|
||||
void setModel(QAbstractItemModel *model);
|
||||
QAbstractItemModel *model() const;
|
||||
void reset();
|
||||
|
||||
Reference in New Issue
Block a user