[Qt-interest] How to dim / blur the background dialog?
Arnold Krille
arnold at arnoldarts.de
Wed Feb 18 10:40:10 CET 2009
Hi,
On Wednesday 18 February 2009 08:23:43 ger wrote:
> I have 2 dialogs:
> 1 - the main dialog
> 2 - a confirmation dialog (child of the main dialog)
> I want to dim / blur the main dialog (and all the components inside it)
> when the confirmation dialog come up to catch the focus of the user. How
> can i do that?
By using a window manager that supports this.
People, please stop trying to achieve effects in your software which aren't in
your software's realm. The example of blurred or semi-transparent windows
might look nice and cool on your fast hardware and with your selected gui-
style but might be very slow and wrong looking on other machines with different
gui-styles.
There is a reason why Qt gives us a generic interface to components with
nothing to worry about specific things like selecting the right style and
behaviour.
To see whether your app is to making wrong usage of gui-things, try running it
with a different color-theme (if your normal theme is a light one, test a dark
one and vice versa) and a different gui-style. If it still looks good (if there
is anything looking good in the old win95-style:) then your gui is built
correctly and will give the user-experience you have to others...
Have fun,
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090218/7378e79d/attachment.bin
More information about the Qt-interest-old
mailing list