2015-12-08 11:04:45 +00:00
|
|
|
#ifndef CSV_PREFS_PAGEBASE_H
|
|
|
|
#define CSV_PREFS_PAGEBASE_H
|
|
|
|
|
|
|
|
#include <QScrollArea>
|
|
|
|
|
2017-05-11 07:46:51 +00:00
|
|
|
class QContextMenuEvent;
|
|
|
|
|
2015-12-08 11:04:45 +00: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 07:46:51 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
void contextMenuEvent(QContextMenuEvent*);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void resetCategory();
|
|
|
|
|
|
|
|
void resetAll();
|
2015-12-08 11:04:45 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|