[Kst] Request for feedback -- readonly combo with completion search

George Staikos staikos at kde.org
Thu Jan 4 19:36:49 CET 2007


Looks fine to me in principle.  Barth should have a look...  We could  
put this in after the big merge is done.

On 15-Dec-06, at 6:36 PM, Adam Treat wrote:

> Hi all,
>
> I have a proposed solution for bug #104935, but I need some feedback.
>
> Basically, I want to change the vector,scalar,string and matrix  
> selection
> widget's to use a modified combo box.  This combo will behave very  
> much like
> a readwrite combo (which means completion and easy searching) with  
> one big
> difference:  it won't allow actual entry of new items.  When the  
> combo loses
> focus or when return is pressed the combo will perform validation  
> to see if
> the text matches any items in the actual combo list and if it does  
> not, it
> will revert the text to the currently active item.
>
> I like how it behaves, but a few caveats:
>
> 1.  I haven't modified the look yet so that there is no visual  
> indicator that
> this is a readonly combo.  It looks just like an editable combo.
>
> 2.  Because of inadequacies of Qt's 3.x QComboBox API I've had to  
> do a few
> nasty hacks.  See the commented up source for more info...
>
> So, let me know.  I could possibly add a visual indicator if people  
> feel it is
> necessary, but I'm not exactly sure how I should do it.  Any  
> usability folk
> want to comment?
>
> Cheers,
> Adam
> <completion_combo.diff>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/





More information about the Kst mailing list