GTK + has a widget called GtkSizeGroup , which is used to synchronize widget sizes that do not have the same parent. Is there a similar widget in Qt?
UPDATE Parents of widgets are different. I have 2 group boxes, and inside them there are / QLineEdits tags. I would like to build them.
+-[ Group1 ]----------------------+
| ------------------ |
| longer label | | |
| ------------------ |
+---------------------------------+
+-[ Group2 ]----------------------+
| ------------------ |
| label | | |
| ------------------ |
+---------------------------------+
source
share