OpenMW
apps/opencs/view/settings/toggleblock.hpp
Go to the documentation of this file.
00001 #ifndef TOGGLEBLOCK_HPP
00002 #define TOGGLEBLOCK_HPP
00003 
00004 #include <QObject>
00005 
00006 #include "customblock.hpp"
00007 
00008 namespace CSVSettings
00009 {
00010     class GroupBlock;
00011     class GroupBox;
00012     class ToggleWidget;
00013     class ItemBlock;
00014 
00015     class ToggleBlock : public CustomBlock
00016     {
00017 
00018     public:
00019         explicit ToggleBlock(QWidget *parent = 0);
00020 
00021         int build (CustomBlockDef *def);
00022 
00023     private:
00026         GroupBox *buildToggleWidgets (GroupBlockDef *def, QString &defaultToggle);
00027     };
00028 }
00029 #endif // TOGGLEBLOCK_HPP