I've got no notice of a directly manipulated (using mouse dragging) column
width concerning QLayout's.. You could however do this programmatically by
coupling some other numerical input widget (QSpinBox) to the columnWidth
setter of your QLayout.


On Fri, Nov 12, 2010 at 16:27, dizou <di_...@yahoo.com> wrote:

>
> I have a widget with a a layout and some widgets:
>
> class MainWidget(QWidget):
>    def __init__(self, parent):
>
>        QWidget.__init__(self, parent)
>
>        gridLayout = QGridLayout()
>        gridLayout.addLayout(treeControlLayout, 0, 0)
>        gridLayout.addWidget(self.tree, 1, 0)
>        gridLayout.addLayout(viewControlLayout, 0, 1)
>        gridLayout.addWidget(self.view, 1, 1)
>        gridLayout.addLayout(viewInfoLayout, 1, 2)
>        gridLayout.addLayout(viewControlLayoutBottom, 2, 1)
>
>        self.setLayout(gridLayout)
>
> This widget has 3 columns. How do I make it so that the user can adjust the
> width of the column?
> --
> View this message in context:
> http://old.nabble.com/adjusting-layouts-question-tp30200354p30200354.html
> Sent from the PyQt mailing list archive at Nabble.com.
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Nick Gaens
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to