--- a/ui/qt/widget.cpp Sun Aug 24 15:24:16 2025 +0200 +++ b/ui/qt/widget.cpp Sat Oct 04 14:52:59 2025 +0200 @@ -52,6 +52,14 @@ return separator; } +void ui_set_enabled(UIWIDGET widget, int enabled) { + widget->setEnabled(enabled); +} + +void ui_set_visible(UIWIDGET widget, int visible) { + widget->setVisible(visible); +} + void ui_widget_set_size(UIWIDGET w, int width, int height) { w->resize(width >= 0 ? width : w->width(), height >= 0 ? height : w->height()); }