[Kde-imaging] ImageCollection or Browser
Renchi Raju
renchi at pooh.tam.uiuc.edu
Wed Jun 23 21:09:03 CEST 2004
On Wed, 23 Jun 2004, Aurélien Gâteau wrote:
> Le mercredi 23 Juin 2004 14:09, Renchi Raju a écrit :
>
> > another possibility is that app disables such actions when there is no
> > selection; but then again we are shifting the responsibility to the app.
> > its our job to get the interface correct.
>
> It seems we need "selection only" plugins. That is plugins which should only
> be enabled if images are selected. I suggest the following:
> - Add a slot named Interface::slotSelectionChanged() and a KIPI feature named
> SelectionOnlyPlugin.
> - The host app should call Interface::slotSelectionChanged() when the
> selection changes.
> - slotSelectionChanged() should loop on all plugins with the
> SelectionOnlyPlugin feature and disable or enable them if there is a
> selection.
that sounds good. i was thinking more in lines of having individual
actions of selection_only type instead of an entire plugin; similar to the
category that is currently in kipi
renchi
More information about the Kde-imaging
mailing list