mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:49:55 +00:00
33 lines
596 B
C++
33 lines
596 B
C++
#ifndef CSV_PREFS_CONTEXTMENULIST_H
|
|
#define CSV_PREFS_CONTEXTMENULIST_H
|
|
|
|
#include <QListWidget>
|
|
|
|
class QContextMenuEvent;
|
|
class QMouseEvent;
|
|
|
|
namespace CSVPrefs
|
|
{
|
|
class ContextMenuList : public QListWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ContextMenuList(QWidget* parent = nullptr);
|
|
|
|
protected:
|
|
|
|
void contextMenuEvent(QContextMenuEvent* e) override;
|
|
|
|
void mousePressEvent(QMouseEvent* e) override;
|
|
|
|
private slots:
|
|
|
|
void resetCategory();
|
|
|
|
void resetAll();
|
|
};
|
|
}
|
|
|
|
#endif
|