2015-12-08 16:21:58 +00:00
|
|
|
#ifndef CSV_PREFS_PAGE_H
|
|
|
|
#define CSV_PREFS_PAGE_H
|
|
|
|
|
|
|
|
#include "pagebase.hpp"
|
|
|
|
|
|
|
|
class QGridLayout;
|
2017-05-07 04:51:11 +00:00
|
|
|
class QWidget;
|
2015-12-08 16:21:58 +00:00
|
|
|
|
|
|
|
namespace CSMPrefs
|
|
|
|
{
|
|
|
|
class Setting;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVPrefs
|
|
|
|
{
|
|
|
|
class Page : public PageBase
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
QGridLayout *mGrid;
|
2017-05-07 04:51:11 +00:00
|
|
|
QWidget* mParent;
|
|
|
|
QWidget* mWidget;
|
2015-12-08 16:21:58 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Page (CSMPrefs::Category& category, QWidget *parent);
|
|
|
|
|
|
|
|
void addSetting (CSMPrefs::Setting *setting);
|
2017-05-07 04:51:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
void refresh();
|
|
|
|
|
|
|
|
void init();
|
2015-12-08 16:21:58 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|