1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00
OpenMW/apps/opencs/view/settings/groupblock.hpp

33 lines
731 B
C++
Raw Normal View History

2013-05-07 20:36:34 -05:00
#ifndef GROUPBLOCK_HPP
#define GROUPBLOCK_HPP
#include <QList>
#include "abstractblock.hpp"
namespace CSVSettings
2013-05-07 20:36:34 -05:00
{
class ItemBlock;
class GroupBlock : public AbstractBlock
{
ItemBlockList mItemBlockList;
public:
GroupBlock (QWidget* parent = 0);
GroupBlock (bool isVisible, QWidget *parent = 0);
int build (GroupBlockDef *def);
2013-05-07 20:36:34 -05:00
bool updateSettings (const CSMSettings::SettingMap &settings);
2013-05-07 20:36:34 -05:00
CSMSettings::SettingList *getSettings();
2013-05-07 20:36:34 -05:00
ItemBlock *getItemBlock (const QString &name, ItemBlockList *blockList = 0);
ItemBlock *getItemBlock (int index);
protected:
int buildLayout (GroupBlockDef &def);
};
}
#endif // GROUPBLOCK_HPP