https://bugzilla.novell.com/show_bug.cgi?id=345506 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=345506#c11 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sh@novell.com AssignedTo|sh@novell.com |rpmcruz@alunos.dcc.fc.up.pt Severity|Normal |Enhancement Summary|Core, Qt, GTK... New boolean |YaST-GTK: Support 'Image' widget disabling (dim, |"HasDimmImageSupport" |grey...) --- Comment #11 from Lukas Ocilka <locilka@novell.com> 2007-12-04 01:37:22 MST --- Ricardo, this feature was about dimming an image if it is disabled: * `Image (... `opt (`disabled) ...) * UI::ChangeWidget (`id (img_id), `Enabled, false); UI should be able to dim (turn into gray-scale, darken, ...) an image when it is disabled and swap it with the original one if enabled again. The implementation depends on the respective UI. Just the API (widget, widget manipulation) is the same. We've decided not to add any other output key to the UI::GetDisplayInfo() because all UIs that support images can also somehow dim them. My patch is not going to be used. According to comment #7 we expect that UI support that. That's also why we don't need to implement any other UI functions. In my opinion, we don't need to implement any other `opt (...) parameters such as `dim or `grey. The reason is simple: UI developers don't need to be bothered by implementation details. They just want to disable the image and let UI to deal with it somehow. Internally, the UI can, of course, have several `dim or `grey options but for UI transparency (across all UIs) they shouldn't be visible externally. --- --- --- So, Ricardo, could you, please, implement the Image widget disabling? In my opinion all widgets should support it but I've just found that we hadn't needed it so far (but now we/I do :)...). --- --- --- See commits: r42530, r42531, r42532 (Qt3, Qt4: made by Coolo) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.