123456789101112131415161718192021222324252627282930 |
- #ifndef VIEW_H
- #define VIEW_H
- #include "QTreeWidget"
- class View : public QTreeWidget
- {
- Q_OBJECT
- public:
- View();
- ~View();
- signals:
- void create();
- void moveUp();
- void moveDown();
- void duplicate();
- void remove();
- void restore();
- void updateId(QPoint *point);
- protected:
- virtual void keyPressEvent(QKeyEvent *event) override;
- virtual void dropEvent(QDropEvent *event) override;
- };
- #endif // VIEW_H
|