KListViewSearchLine

Don Sanders sanders at kde.org
Tue Feb 24 01:08:04 GMT 2004


On Sunday 22 February 2004 21:00, Scott Wheeler wrote:
> On Saturday 21 February 2004 17:34, Ingo Klöcker wrote:
> > On Thursday 19 February 2004 02:14, Don Sanders wrote:
> > > On Wednesday 18 February 2004 17:45, Scott Wheeler wrote:
> > > > On Wednesday 18 February 2004 2:12, Ingo Klöcker wrote:
> > >
> > > ...
> > >
> > > > > Actually for KMail KMSearchRuleWidget should be used for
> > > > > this.
> > > >
> > > > /me winces
> > >
> > > I'm ok with allowing some experimentation here. At least I'm
> > > not convinced that KMSearchRuleWidget is the best option yet,
> > > and are willing to consider alternatives.
> >
> > The KListViewSearchLine will only allow searching for substrings
> > in the Subject or the Sender/Recipient name. Already something
> > simple like view all important messages or all new messages is
> > impossible. Of course, the KListViewSearchLine is better than
> > nothing, but it's far from what people know from other mail
> > clients.
>
> Yeah, honestly I don't care much which implementation KMail uses --
> if it's based around a single line edit then a subclass could just
> be used and itemMatches() could just be reimplemented.
>
> If the KMail folks can figure out more or less what you'd like to
> see I can try to come up with an implementation for it.  But as I
> said I don't think that something as cumbersome as the standard
> search line widget would be best...

Personally I think the mRuleFunc combobox and mRuleEditBut push button 
parts of KMSearchRuleWidget are probably overkill for a toolbar quick 
search widget.

I think just a field combobox and a value line edit would be 
sufficient.

Don.




More information about the kde-core-devel mailing list