diff options
Diffstat (limited to 'IrcWindow.py')
-rw-r--r-- | IrcWindow.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/IrcWindow.py b/IrcWindow.py index 4dc0d4c..ec5537a 100644 --- a/IrcWindow.py +++ b/IrcWindow.py @@ -49,6 +49,11 @@ class IrcWindow(QQuickWindow): channel_chat_area = channel_tab.findChild(QQuickItem, "chat_area") channel_chat_area.append(text) + def update_topic(self, channel, topic): + print(channel.get_view()) + topic_field = channel.get_view().findChild(QQuickItem, "topic") + topic_field.setProperty("text", topic) + def dumpQMLComponents(self, root): children = root.findChildren(QObject) for item in children: |