|
|
Hi,
dumpObjectTree would give me a lot of information.
But for relation between layout and widget is not
parent and child,
The dumpObjectTree can't show relations of them.
For example. The layout in QT exmaple give following
dumpObjectTree result:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
ExampleWidget::unnamed <4, 24,213,232>
QVBoxLayout::unnamed
QHBoxLayout::unnamed
QHBoxLayout::unnamed
QGridLayout::unnamed
QPopupMenu::unnamed I
QAccel::unnamed
QPushButton::unnamed F<5, 28,47,20>
QPushButton::unnamed <57, 28,47,20>
QPushButton::unnamed <109, 28,47,20>
QPushButton::unnamed <161, 28,47,20>
QPushButton::unnamed <5, 53,58,20>
QPushButton::unnamed <68, 53,47,20>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
while 6 QPushButton is connected to layout in line 3&4
Is there a method to dump the relationship of layout
and it's widgets?
Thanks a lot.
gan
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|