1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/opencs/view/prefs/pagebase.hpp

40 lines
612 B
C++
Raw Normal View History

2015-12-08 12:04:45 +01:00
#ifndef CSV_PREFS_PAGEBASE_H
#define CSV_PREFS_PAGEBASE_H
#include <QScrollArea>
2017-05-11 19:46:51 +12:00
class QContextMenuEvent;
2015-12-08 12:04:45 +01:00
namespace CSMPrefs
{
class Category;
}
namespace CSVPrefs
{
class PageBase : public QScrollArea
{
Q_OBJECT
CSMPrefs::Category& mCategory;
public:
PageBase (CSMPrefs::Category& category, QWidget *parent);
CSMPrefs::Category& getCategory();
2017-05-11 19:46:51 +12:00
protected:
void contextMenuEvent(QContextMenuEvent*) override;
2017-05-11 19:46:51 +12:00
private slots:
void resetCategory();
void resetAll();
2015-12-08 12:04:45 +01:00
};
}
#endif