2015-12-08 11:04:45 +00:00
|
|
|
#ifndef CSV_PREFS_PAGEBASE_H
|
|
|
|
#define CSV_PREFS_PAGEBASE_H
|
|
|
|
|
|
|
|
#include <QScrollArea>
|
|
|
|
|
|
|
|
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-07 05:05:50 +00:00
|
|
|
|
2017-05-07 05:07:58 +00:00
|
|
|
public slots:
|
2017-05-07 05:05:50 +00:00
|
|
|
|
|
|
|
void resetCategory();
|
2017-05-07 04:51:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
virtual void refresh() {};
|
2015-12-08 11:04:45 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|