leocad/common/lc_timelinewidget.h

29 lines
525 B
C
Raw Normal View History

#ifndef _LC_TIMELINEWIDGET_H_
#define _LC_TIMELINEWIDGET_H_
class lcTimelineWidget : public QTreeWidget
{
Q_OBJECT
public:
lcTimelineWidget(QWidget* Parent);
virtual ~lcTimelineWidget();
2015-03-16 02:10:01 +01:00
void Update(bool Clear);
void UpdateSelection();
public slots:
void InsertStep();
void RemoveStep();
void ItemSelectionChanged();
void CustomMenuRequested(QPoint Pos);
2015-03-08 01:27:11 +01:00
protected:
virtual void dropEvent(QDropEvent* Event);
QMap<lcPiece*, QTreeWidgetItem*> mItems;
bool mIgnoreUpdates;
};
#endif // _LC_TIMELINEWIDGET_H_