[Kde-imaging] Selecting images for plugins

Jesper K. Pedersen blackie at blackie.dk
Mon Jun 28 14:37:56 CEST 2004


On Monday 28 June 2004 14:33, Aurélien Gâteau wrote:
| Le lundi 28 Juin 2004 14:17, Jesper K. Pedersen a écrit :
| > | > This will look very odd to the kimdaba user. we are exactly back to
| > | > the all images with this approach. What is wrong with my suggestion
| > | > of selecting all sets if no one album is found to be the current one?
| > |
| > | The only trouble is that not all plugins might want to allow multiple
| > | album selections.
| >
| > Well that could be resolved by having a flag with which the plugin can
| > tell the widget about this request.
|
| You mean something like this?
|
| class AlbumSelector {
|   ...
|   void setMultiSelection(bool);
|   ...
| }
|
| Then if the plugin calls setMultiSelection(false) then "auto-selecting"
| won't happen? This is ok for me.

Something like that yes, and then the check boxes was replaced with radio 
buttons.

However, can you come up with an example where this would be needed? I mean to 
plugins it will in the end just be a set of images.


More information about the Kde-imaging mailing list