OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces
nestedcoladapterimp.hpp File Reference
#include <QVariant>
#include <components/esm/loadpgrd.hpp>
#include <components/esm/effectlist.hpp>
#include <components/esm/loadmgef.hpp>
#include <components/esm/loadskil.hpp>
#include <components/esm/attr.hpp>
#include <components/esm/loadrace.hpp>
#include "nestedcolumnadapter.hpp"
#include "nestedtablewrapper.hpp"
#include "cell.hpp"
Include dependency graph for nestedcoladapterimp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSMWorld::PathgridPointListAdapter
 
class  CSMWorld::PathgridEdgeListAdapter
 
class  CSMWorld::FactionReactionsAdapter
 
class  CSMWorld::RegionSoundListAdapter
 
class  CSMWorld::SpellListAdapter< ESXRecordT >
 
class  CSMWorld::EffectsListAdapter< ESXRecordT >
 
class  CSMWorld::InfoListAdapter
 
class  CSMWorld::InfoConditionAdapter
 
class  CSMWorld::RaceAttributeAdapter
 
class  CSMWorld::RaceSkillsBonusAdapter
 
class  CSMWorld::CellListAdapter
 
class  CSMWorld::RegionWeatherAdapter
 

Namespaces

 ESM
 ESM/ESP records.
 
 CSMWorld
 Class for holding the model. Uses typical qt table abstraction/interface for granting access to the individiual fields of the records, Some records are holding nested data (for instance inventory list of the npc). In cases like this, table model offers interface to access nested data in the qt way - that is specify parent. Since some of those nested data require multiple columns to represent information, single int (default way to index model in the qmodelindex) is not sufficiant. Therefore tablemodelindex class can hold two ints for the sake of indexing two dimensions of the table. This model does not support multiple levels of the nested data. Vast majority of methods makes sense only for the top level data.