OpenMW
|
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. More...
Namespaces | |
Columns | |
DefaultGmsts | |
Enumerations | |
enum | Scope { Scope_Content = 1, Scope_Project = 2, Scope_Session = 4 } |
Functions | |
bool | operator== (const CellCoordinates &left, const CellCoordinates &right) |
bool | operator!= (const CellCoordinates &left, const CellCoordinates &right) |
bool | operator< (const CellCoordinates &left, const CellCoordinates &right) |
std::ostream & | operator<< (std::ostream &stream, const CellCoordinates &coordiantes) |
Scope | getScopeFromId (const std::string &id) |
bool | operator== (const UniversalId &left, const UniversalId &right) |
bool | operator!= (const UniversalId &left, const UniversalId &right) |
bool | operator< (const UniversalId &left, const UniversalId &right) |
std::ostream & | operator< (std::ostream &stream, const UniversalId &universalId) |
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.
Proxy model used to connect view in the dialogue into the nested columns of the main model.
enum CSMWorld::Scope |
CSMWorld::Scope CSMWorld::getScopeFromId | ( | const std::string & | id | ) |
bool CSMWorld::operator!= | ( | const CellCoordinates & | left, |
const CellCoordinates & | right | ||
) |
bool CSMWorld::operator!= | ( | const UniversalId & | left, |
const UniversalId & | right | ||
) |
bool CSMWorld::operator< | ( | const CellCoordinates & | left, |
const CellCoordinates & | right | ||
) |
bool CSMWorld::operator< | ( | const UniversalId & | left, |
const UniversalId & | right | ||
) |
std::ostream & CSMWorld::operator< | ( | std::ostream & | stream, |
const UniversalId & | universalId | ||
) |
std::ostream & CSMWorld::operator<< | ( | std::ostream & | stream, |
const CellCoordinates & | coordiantes | ||
) |
bool CSMWorld::operator== | ( | const CellCoordinates & | left, |
const CellCoordinates & | right | ||
) |
bool CSMWorld::operator== | ( | const UniversalId & | left, |
const UniversalId & | right | ||
) |