PDA

View Full Version : How to remove stretch from QGraphicsLinearLayout?



bmn
26th May 2014, 14:41
I have two vertical linear layouts (equipment right and left ports containers), and between first, last and any port items i use addStretch() for streching port when resize equipment widget. And i have two procedures for remove port item from left container and move it to right container. When i move items i need to insert stretches before and after port. how can i do it without rearrange layout?