Add helper function for appending text to a textedit

This commit is contained in:
baldurk
2026-08-31 12:13:26 +01:00
parent 0690269cb7
commit 1aac7afdf1
4 changed files with 38 additions and 0 deletions
@@ -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);