[Qt-interest] possible to detect if a widget in a dock is visible?
Zeljko
zeljko at holobit.net
Mon Jun 28 17:23:58 CEST 2010
Paul Miller wrote:
> I have some widgets in a dock that do some expensive things,
> performance-wise. I would only like it do these computations when the
> dock is actually visible (not when it is undocked, not when it is
> obscured by another dock).
>
> I note that QWidget::isVisible() is TRUE even if the widget really isn't.
Wow. have you tried QWidget::isVisibleTo() ? Maybe parent is hidden ?
More information about the Qt-interest-old
mailing list