Soundux/settingstab.h
D3S0X 713ad5b7cc Some improvements
Reset settings when clicking cancel (fixes #7)
Make volume sliders clickable (fixes #9)
Extend some labels (fixes #10)
Created own component for SoundListWidgetItem (fixes #11)
Add a clear button to the SetHotkeyDialog (fixes #14)
2019-11-10 15:22:15 +01:00

20 lines
339 B
C++

#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;
};
#endif // SETTINGSTAB_H