1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 01:53:52 +00:00
openmw/apps/opencs/view/settings/toggleblock.hpp

27 lines
495 B
C++

#ifndef TOGGLEBLOCK_HPP
#define TOGGLEBLOCK_HPP
#include <QObject>
#include "customblock.hpp"
namespace CsSettings
{
class GroupBlock;
class GroupBox;
class ToggleWidget;
class ItemBlock;
class ToggleBlock : public CustomBlock
{
public:
explicit ToggleBlock(QWidget *parent = 0);
int build (CustomBlockDef &def);
private:
GroupBox *buildToggleWidgets (GroupBlockDef &def, QString &defaultToggle);
};
}
#endif // TOGGLEBLOCK_HPP