[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] adding widgets
From: Trost Johnson <jfj () freemail ! gr>
Date: 2004-09-25 10:22:42
Message-ID: 4155D4D7.7090908 () freemail ! gr
[Download RAW message or body]
Hi.
I've read the book but I'm very confused with the parent/addWidget() stuff.
For example, we usually have something like this in a simple case.
W=Widget (parent)
parent.addWidget (W)
However suppose we have this in the main window:
A HBoxLayout(H1) which contains a ButtonGroup (B1) which
contains a VBoxLayout (V1) which contains a HBoxLayout (H2)
which contains a ButtonGroup (B2) which contains a QPushButton (Q1)
Can you help me out with the commands as far as 'parent' and
'addWidget/addLayout' are about for the above example.
Thanks a lot.
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic