mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-24 02:53:54 +00:00
26 lines
491 B
C++
26 lines
491 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QHeaderView>
|
||
|
#include <QtGui>
|
||
|
|
||
|
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
|