[Ctk-developers] pop up widget opaque background
Julien Finet
julien.finet at kitware.com
Fri Jun 21 11:35:26 UTC 2013
Are you using ctkPopupWidget ? Do you have the problem on the other
platforms ?
Here is how the semi transparent popup looks on Slicer:
[image: Inline image 1]
And here is the code:
https://github.com/Slicer/Slicer/blob/master/Libs/MRML/Widgets/qMRMLVolumeWidget.cxx#L72-98
Hth,
Julien.
On Fri, Jun 21, 2013 at 7:20 AM, Miklos Espak <espakm at gmail.com> wrote:
> Hi,
>
> I have a transparent drop down control panel with some slider widgets. If
> I drag the slider, the original position of the slider bar remains on the
> screen, just it becomes opaque.
>
> Another example. You can show/hide some parts of the control panel. If you
> change the visibility of some part, the control panel widget is rearranged
> correctly, but the original arrangement is still visible, as an opaque
> background.
>
> I would like to send a screenshot, but if I change to another window and
> back, this opaque background is cleared, and everything looks as it should.
>
> Has anybody noticed this problem? Is there a way to get around it?
>
> I tried to call repaint() and update() on the pop up widget, the slider,
> the control panel widget (that is on the pop up widget), but no success.
>
> Any idea?
>
> Cheers,
> Miklos
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130621/7d1f0781/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-06-21 at 7.31.01 AM.png
Type: image/png
Size: 16594 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20130621/7d1f0781/attachment.png>
More information about the Ctk-developers
mailing list