mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
28 lines
525 B
C++
28 lines
525 B
C++
#ifndef _LC_TIMELINEWIDGET_H_
|
|
#define _LC_TIMELINEWIDGET_H_
|
|
|
|
class lcTimelineWidget : public QTreeWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
lcTimelineWidget(QWidget* Parent);
|
|
virtual ~lcTimelineWidget();
|
|
|
|
void Update(bool Clear);
|
|
void UpdateSelection();
|
|
|
|
public slots:
|
|
void InsertStep();
|
|
void RemoveStep();
|
|
void ItemSelectionChanged();
|
|
void CustomMenuRequested(QPoint Pos);
|
|
|
|
protected:
|
|
virtual void dropEvent(QDropEvent* Event);
|
|
|
|
QMap<lcPiece*, QTreeWidgetItem*> mItems;
|
|
bool mIgnoreUpdates;
|
|
};
|
|
|
|
#endif // _LC_TIMELINEWIDGET_H_
|