1
0
Fork 0
mirror of https://github.com/leozide/leocad synced 2025-01-19 22:26:27 +01:00
leocad/common/lc_timelinewidget.h

26 lines
475 B
C++

#ifndef _LC_TIMELINEWIDGET_H_
#define _LC_TIMELINEWIDGET_H_
class lcTimelineWidget : public QTreeWidget
{
Q_OBJECT
public:
lcTimelineWidget(QWidget* Parent);
virtual ~lcTimelineWidget();
void Update();
void UpdateSelection();
public slots:
void ItemSelectionChanged();
void CustomMenuRequested(QPoint Pos);
protected:
virtual void dropEvent(QDropEvent* Event);
QMap<lcPiece*, QTreeWidgetItem*> mItems;
bool mIgnoreUpdates;
};
#endif // _LC_TIMELINEWIDGET_H_