| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef EDITTABLEVIEW_H |
| 4 | #define EDITTABLEVIEW_H |
| 5 | |
| 6 | #include <QTableView> |
| 7 | |
| 8 | class EditTableView : public QTableView { |
| 9 | Q_OBJECT |
| 10 | |
| 11 | public: |
| 12 | explicit EditTableView(QWidget* parent = nullptr); |
| 13 | |
| 14 | public slots: |
| 15 | void removeSelected(); |
| 16 | void removeAll(); |
| 17 | |
| 18 | private: |
| 19 | void keyPressEvent(QKeyEvent* event); |
| 20 | }; |
| 21 | |
| 22 | #endif // EDITTABLEVIEW_H |