Soundux/settingstab.h

20 lines
339 B
C
Raw Normal View History

2019-11-10 02:37:54 +01:00
#ifndef SETTINGSTAB_H
#define SETTINGSTAB_H
#include <QWidget>
#include <json.hpp>
using json = nlohmann::json;
class SettingsTab : public QWidget
{
public:
SettingsTab(std::string _name, json _data);
std::string name;
json data = nullptr;
virtual json tabSettings() = 0;
virtual void reset() = 0;
2019-11-10 02:37:54 +01:00
};
#endif // SETTINGSTAB_H