ui/qt/container.h

changeset 822
54e43e4efac2
parent 802
cc73993a3ff9
child 959
4b2202df31ec
--- a/ui/qt/container.h	Thu Oct 09 11:44:10 2025 +0200
+++ b/ui/qt/container.h	Thu Oct 09 12:49:53 2025 +0200
@@ -52,9 +52,10 @@
 
 class UiBoxContainer : public UiContainerPrivate {
 public:
-    QBoxLayout  *box;
-    bool        hasStretchedWidget = false;
-    QSpacerItem *space;
+    QBoxLayout            *box;
+    bool                  hasStretchedWidget = false;
+    QSpacerItem           *space;
+    QBoxLayout::Direction direction;
     
     UiBoxContainer(QBoxLayout *box);
     
@@ -89,7 +90,9 @@
     virtual void end();
 };
 
-void ui_container_add(UiObject *obj, UiContainerPrivate *ct);
+void ui_obj_add_container(UiObject *obj, UiContainerPrivate *ct);
+
+QWidget* ui_widget_set_margin(QWidget *w, int left, int right, int top, int bottom);
 
 
 #endif	/* CONTAINER_H */

mercurial