1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 22:53:53 +00:00
openmw/apps/opencs/view/world/tableheadermouseeventhandler.hpp
2022-09-22 21:35:26 +03:00

25 lines
533 B
C++

#pragma once
#include <QEvent>
#include <QHeaderView>
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