1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +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.

31 lines
587 B
C++
Raw Normal View History

2021-09-19 17:07:54 +00:00
#pragma once
2022-10-19 17:02:00 +00:00
#include <QWidget>
class QEvent;
class QHeaderView;
class QMenu;
class QObject;
class QPoint;
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