1 #ifndef CSV_WORLD_VARTYPEDELEGATE_H
2 #define CSV_WORLD_VARTYPEDELEGATE_H
15 const QModelIndex& index,
int type)
const;
25 std::vector<std::pair<int, QString> >
mValues;
VarType
Definition: variant.hpp:12
VarTypeDelegate(const std::vector< std::pair< int, QString > > &values, CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent)
Definition: vartypedelegate.cpp:46
virtual void addCommands(QAbstractItemModel *model, const QModelIndex &index, int type) const
Definition: vartypedelegate.cpp:9
void add(ESM::VarType type)
Definition: vartypedelegate.cpp:74
Definition: variant.hpp:14
VarTypeDelegateFactory(ESM::VarType type0=ESM::VT_Unknown, ESM::VarType type1=ESM::VT_Unknown, ESM::VarType type2=ESM::VT_Unknown, ESM::VarType type3=ESM::VT_Unknown)
Definition: vartypedelegate.cpp:52
Definition: commanddispatcher.hpp:20
Definition: vartypedelegate.hpp:23
virtual CommandDelegate * makeDelegate(CSMWorld::CommandDispatcher *dispatcher, CSMDoc::Document &document, QObject *parent) const
The ownership of the returned CommandDelegate is transferred to the caller.
Definition: vartypedelegate.cpp:68
Definition: document.hpp:57
Integer value that represents an enum and is interacted with via a combobox.
Definition: enumdelegate.hpp:16
std::vector< std::pair< int, QString > > mValues
Definition: vartypedelegate.hpp:25
Definition: vartypedelegate.hpp:10