4 #ifndef pqTimelineItemDelegate_h
5 #define pqTimelineItemDelegate_h
7 #include "pqApplicationComponentsModule.h"
9 #include <QStyledItemDelegate>
28 typedef QStyledItemDelegate Superclass;
39 QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex&
index)
const override;
44 QSize sizeHint(
const QStyleOptionViewItem& option,
const QModelIndex&
index)
const override;
50 bool editorEvent(QEvent* event, QAbstractItemModel* model,
const QStyleOptionViewItem& option,
51 const QModelIndex&
index)
override;
61 bool eventFilter(QObject* watched, QEvent* event)
override;
72 void updateSceneTimeRange();
82 std::unique_ptr<pqInternals> Internals;
84 std::unique_ptr<pqTimelinePainter> TimelinePainter;