Add MiniQtHelper functions for scrolling widgets

This commit is contained in:
baldurk
2026-08-31 11:26:05 +01:00
parent 6b02191629
commit da8132b69c
4 changed files with 44 additions and 0 deletions
@@ -182,6 +182,12 @@ struct MiniQtInvoker : UIThreadInvoker<IMiniQtHelper>
return InvokeRetFunction<rdcstr>(&IMiniQtHelper::GetWidgetText, widget);
}
void ScrollToTop(QWidget *widget) { InvokeVoidFunction(&IMiniQtHelper::ScrollToTop, widget); }
void ScrollToBottom(QWidget *widget)
{
InvokeVoidFunction(&IMiniQtHelper::ScrollToBottom, widget);
}
void SetWidgetFont(QWidget *widget, const rdcstr &font, int32_t fontSize, bool bold, bool italic)
{
InvokeVoidFunction(&IMiniQtHelper::SetWidgetFont, widget, font, fontSize, bold, italic);