PDA

View Full Version : about childrenRect in workspace



showhand
11th May 2006, 02:38
I have a question about childrenRect in workspace:
I write some code :
QWidget *activeForm;
activeForm=workspace->activeWindow();
QRect rect;
rect=activeForm->geometry();
int x,y;
x=rect.x();
y=rect.y();
Although I move the activeForm, the activeForm's rect is a constant.
I don't know the reason. Can anybody give me a good idea .Thanks!

hynuqxs
11th May 2006, 02:48
I have the same question! Anybody give me good idea. Thanks!