mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 21:23:53 +00:00
700d55f1fb
Implemented updating editor application from preferences menu, loading settings when editor loads, adding Record Status Display prefernce. Fixed multiple bugs, made changes to CSM(V)Settings classes to make implementing new prefrences easier. Rewrote CSMSettings::UserSettings to retain last-loaded settings. Adjusted icon position in Record Status column Capitalized status text Added delegate to referenceables table
36 lines
745 B
C++
36 lines
745 B
C++
#ifndef CUSTOMBLOCK_HPP
|
|
#define CUSTOMBLOCK_HPP
|
|
|
|
#include "abstractblock.hpp"
|
|
|
|
namespace CSVSettings
|
|
{
|
|
|
|
class ProxyBlock;
|
|
|
|
class CustomBlock : public AbstractBlock
|
|
{
|
|
|
|
protected:
|
|
|
|
GroupBlockList mGroupList;
|
|
|
|
public:
|
|
|
|
explicit CustomBlock (QWidget *parent = 0);
|
|
|
|
bool updateSettings (const CSMSettings::SettingMap &settings);
|
|
CSMSettings::SettingList *getSettings();
|
|
int build (GroupBlockDefList &defList, GroupBlockDefList::Iterator *it = 0);
|
|
|
|
protected:
|
|
|
|
GroupBox *buildGroupBox (Orientation orientation);
|
|
|
|
private:
|
|
|
|
int buildGroupBlock(GroupBlockDef *def);
|
|
int buildProxyBlock(GroupBlockDef *def, ProxyBlock *block);
|
|
};
|
|
}
|
|
#endif // CUSTOMBLOCK_HPP
|