qt-interest@trolltech.com
[Top] [All Lists]

[Qt-interest] finding on what widget i am clicking...

Subject: [Qt-interest] finding on what widget i am clicking...
From: Francesco Lamonica
Date: Fri, 5 Jun 2009 12:33:05 +0200
Hi all, i've got a weird problem...
I am inspecting some code with a window full of widgets (not created
with designer) all placed manually with move(), setGeometry() etc.
i have a label (placed at 10,0) on which i click and the mouse press
event is recognized only if y()>30.
If i move the label to (80,0) the click is recognized over all the
label so i thought there might be some other widget over it and tried
raise() as the last statement of the ctor but with no luck.

What might it be? if it is indeed a widget (created or moved somewhere
else in the code flow) how can i find which one it is?
thanks a lot.
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>