Bug 115968 - Image color map selector should show graphical indication of colormaps
Summary: Image color map selector should show graphical indication of colormaps
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 01:09 UTC by Matthew Truch
Modified: 2005-11-21 21:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Truch 2005-11-09 01:09:23 UTC
Version:           1.2.0_svn_478969 (using KDE KDE 3.4.1)
OS:                Linux

When selecting image color maps, it is difficult to know what it will look like (as the names aren't all that descriptive, and would be way to verbose if they were).  It would be best is there was also a color gradient of the map shown somehow along with the name, or at least on the edit image (and new image) dialogs.
Comment 1 Ted Kisner 2005-11-17 01:42:35 UTC
On Wednesday 16 November 2005 16:36, Barth Netterfield wrote:
| My plan is to do this in the legend box.  Does this make sense?

I think what he means is that in the KstImage dialog, the palette combo box 
should have a "preview" of each color palette.  Is this correct?  I can look 
into this, if you want.

The graphical color wedge on the actual plot is another matter.  We need to 
have something that clearly shows which colors correspond to which Z values.  
Not sure this will fit in the legend...

-Ted
Comment 2 Matthew Truch 2005-11-17 01:57:40 UTC
> ------- Additional Comments From tskisner.public gmail com  2005-11-17 01:42 -------
> On Wednesday 16 November 2005 16:36, Barth Netterfield wrote:
> | My plan is to do this in the legend box.  Does this make sense?
> 
> I think what he means is that in the KstImage dialog, the palette combo box 
> should have a "preview" of each color palette.  Is this correct?  I can look 
> into this, if you want.


Ted, you are correct.

> The graphical color wedge on the actual plot is another matter.  We need to 
> have something that clearly shows which colors correspond to which Z values.  
> Not sure this will fit in the legend...


I agree, although legends for plots with images might just naturally be
larger objects.  However, putting the color wedge alongside one of the
axes (as some plotting programs do) might be quite nice.  
Comment 3 Ted Kisner 2005-11-17 01:59:07 UTC
On Tuesday 08 November 2005 16:09, Matthew Truch wrote:
| It would be best is there was also a color gradient of the map shown
| somehow along with the name,

How about a long horizontal rectangle above the palette combobox that shows a 
the gradient of the currently selected palette?  It seems like there should 
be a standard "color wedge" display widget, but I can't seem to find anything 
in designer right now.  I know that kcolorchooser has something like this, so 
maybe I'll go snag their widget ;-)

-Ted
Comment 4 Andrew Walker 2005-11-21 21:45:37 UTC
SVN commit 482121 by arwalker:

BUG:115968 Add palette image so that the user can see what they are selecting in a more visual manner.

 M  +64 -49    imagedialogwidget.ui  
 M  +33 -1     kstimagedialog_i.cpp  
 M  +1 -0      kstimagedialog_i.h