1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 05:23:52 +00:00
openmw/apps/opencs/view/world/tableheadermouseeventhandler.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
492 B
C++
Raw Normal View History

2021-09-19 17:07:54 +00:00
#pragma once
#include <QHeaderView>
2022-06-16 19:29:55 +00:00
#include <QEvent>
2021-09-19 17:07:54 +00:00
namespace CSVWorld
{
class DragRecordTable;
class TableHeaderMouseEventHandler : public QWidget
{
public:
explicit TableHeaderMouseEventHandler(DragRecordTable * parent);
void showContextMenu(const QPoint &);
private:
DragRecordTable & table;
QHeaderView & header;
QMenu & createContextMenu();
bool eventFilter(QObject *, QEvent *) override;
}; // class TableHeaderMouseEventHandler
} // namespace CSVWorld