Commit 77bd2f07 authored by Guenter Schwann's avatar Guenter Schwann
Browse files

612 Show messages in treeview properly

parent c87e00b0
Pipeline #5100 passed with stage
in 10 minutes and 34 seconds
......@@ -24,6 +24,11 @@ DVMessage::DVMessage(QObject *parent)
{
}
QString DVMessage::titleUI() const
{
return QString("%1.%2 -> %3.%4").arg(fromFunction(), fromInterface(), toFunction(), toInterface());
}
QString DVMessage::fromFunction() const
{
return entityAttributeValue(meta::Props::token(meta::Props::Token::from_function)).toString();
......
......@@ -27,6 +27,8 @@ class DVMessage : public DVObject
public:
explicit DVMessage(QObject *parent = nullptr);
QString titleUI() const override;
QString fromFunction() const;
void setFromFunction(const QString &from);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment