mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
added instance tooltips
This commit is contained in:
parent
01f4b8a182
commit
8b01f1f6fb
2 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,11 @@ CSVRender::ObjectTag::ObjectTag (Object* object)
|
||||||
: TagBase (Element_Reference), mObject (object)
|
: TagBase (Element_Reference), mObject (object)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
QString CSVRender::ObjectTag::getToolTip (bool hideBasics) const
|
||||||
|
{
|
||||||
|
return QString::fromUtf8 (mObject->getReferenceableId().c_str());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void CSVRender::Object::clear()
|
void CSVRender::Object::clear()
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,6 +46,8 @@ namespace CSVRender
|
||||||
ObjectTag (Object* object);
|
ObjectTag (Object* object);
|
||||||
|
|
||||||
Object* mObject;
|
Object* mObject;
|
||||||
|
|
||||||
|
virtual QString getToolTip (bool hideBasics) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue