Add helper function for appending text to a textedit

This commit is contained in:
baldurk committed 2026-08-31 12:13:26 +01:00
1 parent 0690269cb7
commit 1aac7afdf1
4 files changed
+38

No files matched your search

@@ -177,6 +177,10 @@ struct MiniQtInvoker : UIThreadInvoker<IMiniQtHelper>
{
InvokeVoidFunction(&IMiniQtHelper::SetWidgetText, widget, text);
}
void AppendText(QWidget *widget, const rdcstr &text)
{
InvokeVoidFunction(&IMiniQtHelper::AppendText, widget, text);
}
rdcstr GetWidgetText(QWidget *widget)
{
return InvokeRetFunction<rdcstr>(&IMiniQtHelper::GetWidgetText, widget);