OpenMW
|
#include <columnbase.hpp>
Public Types | |
enum | Roles { Role_Flags = Qt::UserRole, Role_Display = Qt::UserRole+1 } |
enum | Flags { Flag_Table = 1, Flag_Dialogue = 2 } |
enum | Display { Display_String, Display_Integer, Display_Float, Display_Var, Display_GmstVarType, Display_GlobalVarType, Display_Specialisation, Display_Attribute, Display_Boolean, Display_SpellType, Display_Script, Display_ApparatusType, Display_ArmorType, Display_ClothingType, Display_CreatureType, Display_WeaponType, Display_RecordState, Display_RefRecordType, Display_DialogueType, Display_QuestStatusType, Display_Gender } |
Public Member Functions | |
ColumnBase (int columnId, Display displayType, int flag) | |
virtual | ~ColumnBase () |
virtual bool | isEditable () const =0 |
virtual bool | isUserEditable () const |
Can this column be edited directly by the user? | |
virtual std::string | getTitle () const |
Public Attributes | |
int | mColumnId |
int | mFlags |
Display | mDisplayType |
CSMWorld::ColumnBase::ColumnBase | ( | int | columnId, |
Display | displayType, | ||
int | flag | ||
) |
CSMWorld::ColumnBase::~ColumnBase | ( | ) | [virtual] |
std::string CSMWorld::ColumnBase::getTitle | ( | ) | const [virtual] |
virtual bool CSMWorld::ColumnBase::isEditable | ( | ) | const [pure virtual] |
Implemented in CSMWorld::GenderColumn< ESXRecordT >, CSMWorld::PcRankColumn< ESXRecordT >, CSMWorld::RankColumn< ESXRecordT >, CSMWorld::DispositionColumn< ESXRecordT >, CSMWorld::ResponseColumn< ESXRecordT >, CSMWorld::PcFactionColumn< ESXRecordT >, CSMWorld::ClassColumn< ESXRecordT >, CSMWorld::RaceColumn< ESXRecordT >, CSMWorld::ActorColumn< ESXRecordT >, CSMWorld::TopicColumn< ESXRecordT >, CSMWorld::QuestIndexColumn< ESXRecordT >, CSMWorld::QuestDescriptionColumn< ESXRecordT >, CSMWorld::QuestStatusTypeColumn< ESXRecordT >, CSMWorld::DialogueTypeColumn< ESXRecordT >, CSMWorld::RotColumn< ESXRecordT >, CSMWorld::PosColumn< ESXRecordT >, CSMWorld::ScopeColumn< ESXRecordT >, CSMWorld::FilterColumn< ESXRecordT >, CSMWorld::TrapColumn< ESXRecordT >, CSMWorld::KeyColumn< ESXRecordT >, CSMWorld::LockLevelColumn< ESXRecordT >, CSMWorld::TeleportCellColumn< ESXRecordT >, CSMWorld::TeleportColumn< ESXRecordT >, CSMWorld::GoldValueColumn< ESXRecordT >, CSMWorld::EnchantmentChargesColumn< ESXRecordT >, CSMWorld::ChargesColumn< ESXRecordT >, CSMWorld::FactionIndexColumn< ESXRecordT >, CSMWorld::FactionColumn< ESXRecordT >, CSMWorld::SoulColumn< ESXRecordT >, CSMWorld::OwnerColumn< ESXRecordT >, CSMWorld::ScaleColumn< ESXRecordT >, CSMWorld::IdColumn< ESXRecordT >, CSMWorld::CellColumn< ESXRecordT >, CSMWorld::RegionColumn< ESXRecordT >, CSMWorld::ScriptColumn< ESXRecordT >, CSMWorld::CostColumn< ESXRecordT >, CSMWorld::SpellTypeColumn< ESXRecordT >, CSMWorld::TextureColumn< ESXRecordT >, CSMWorld::SleepListColumn< ESXRecordT >, CSMWorld::MapColourColumn< ESXRecordT >, CSMWorld::SoundFileColumn< ESXRecordT >, CSMWorld::SoundParamColumn< ESXRecordT >, CSMWorld::WeightHeightColumn< ESXRecordT >, CSMWorld::FlagColumn< ESXRecordT >, CSMWorld::HiddenColumn< ESXRecordT >, CSMWorld::PlayableColumn< ESXRecordT >, CSMWorld::SkillsColumn< ESXRecordT >, CSMWorld::AttributesColumn< ESXRecordT >, CSMWorld::NameColumn< ESXRecordT >, CSMWorld::AttributeColumn< ESXRecordT >, CSMWorld::UseValueColumn< ESXRecordT >, CSMWorld::SpecialisationColumn< ESXRecordT >, CSMWorld::DescriptionColumn< ESXRecordT >, CSMWorld::VarValueColumn< ESXRecordT >, CSMWorld::VarTypeColumn< ESXRecordT >, CSMWorld::FixedRecordTypeColumn< ESXRecordT >, CSMWorld::RecordStateColumn< ESXRecordT >, CSMWorld::StringIdColumn< ESXRecordT >, CSMWorld::FloatValueColumn< ESXRecordT >, and CSMWorld::RefIdColumn.
bool CSMWorld::ColumnBase::isUserEditable | ( | ) | const [virtual] |
Can this column be edited directly by the user?
Reimplemented in CSMWorld::TopicColumn< ESXRecordT >, CSMWorld::DialogueTypeColumn< ESXRecordT >, CSMWorld::ScopeColumn< ESXRecordT >, CSMWorld::TeleportCellColumn< ESXRecordT >, CSMWorld::CellColumn< ESXRecordT >, CSMWorld::RecordStateColumn< ESXRecordT >, and CSMWorld::RefIdColumn.
Reimplemented in CSMWorld::Column< ESXRecordT >.