mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 20:53:54 +00:00
37 lines
727 B
C++
37 lines
727 B
C++
|
#ifndef CUSTOMBLOCK_HPP
|
||
|
#define CUSTOMBLOCK_HPP
|
||
|
|
||
|
#include "abstractblock.hpp"
|
||
|
|
||
|
namespace CsSettings
|
||
|
{
|
||
|
|
||
|
class ProxyBlock;
|
||
|
|
||
|
class CustomBlock : public AbstractBlock
|
||
|
{
|
||
|
|
||
|
protected:
|
||
|
|
||
|
GroupBlockList mGroupList;
|
||
|
|
||
|
public:
|
||
|
|
||
|
explicit CustomBlock (QWidget *parent = 0);
|
||
|
|
||
|
bool updateSettings (const SettingMap &settings);
|
||
|
SettingList *getSettings();
|
||
|
int build (GroupBlockDefList &defList, GroupBlockDefList::Iterator *it = 0);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
GroupBox *buildGroupBox (OcsWidgetOrientation orientation);
|
||
|
|
||
|
private:
|
||
|
|
||
|
int buildGroupBlock(GroupBlockDef &def);
|
||
|
int buildProxyBlock(GroupBlockDef &def, ProxyBlock *block);
|
||
|
};
|
||
|
}
|
||
|
#endif // CUSTOMBLOCK_HPP
|