mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 16:49:55 +00:00
28 lines
495 B
C++
28 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
|