mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 09:49:55 +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
32 lines
731 B
C++
32 lines
731 B
C++
#ifndef GROUPBLOCK_HPP
|
|
#define GROUPBLOCK_HPP
|
|
|
|
#include <QList>
|
|
#include "abstractblock.hpp"
|
|
|
|
namespace CSVSettings
|
|
{
|
|
class ItemBlock;
|
|
|
|
class GroupBlock : public AbstractBlock
|
|
{
|
|
ItemBlockList mItemBlockList;
|
|
|
|
public:
|
|
GroupBlock (QWidget* parent = 0);
|
|
GroupBlock (bool isVisible, QWidget *parent = 0);
|
|
|
|
int build (GroupBlockDef *def);
|
|
|
|
bool updateSettings (const CSMSettings::SettingMap &settings);
|
|
|
|
CSMSettings::SettingList *getSettings();
|
|
ItemBlock *getItemBlock (const QString &name, ItemBlockList *blockList = 0);
|
|
ItemBlock *getItemBlock (int index);
|
|
|
|
protected:
|
|
int buildLayout (GroupBlockDef &def);
|
|
|
|
};
|
|
}
|
|
#endif // GROUPBLOCK_HPP
|