- void add_constraint(Widget &, Layout::ConstraintType, Side);
- void add_constraint(Widget &, Layout::ConstraintType, const Edge &);
+ void add_constraint(Widget &, Layout::ConstraintType, Side, int = -1);
+ void add_constraint(Widget &, Layout::ConstraintType, const Edge &, int = -1);
+
+ static Layout::ConstraintType get_order_constraint(Side, bool);
+ static Layout::ConstraintType get_align_constraint(Side);