[bt-devel] Fwd: Re: tree filter for bookshelf manager

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Wed Feb 11 14:37:27 MST 2009


Stupid Thunderbird can't send to correct address.

-------- Original Message --------
Subject: Re: tree filter for bookshelf manager
Date: Wed, 11 Feb 2009 19:22:37 +0200
From: Eeli Kaikkonen <eekaikko at mail.student.oulu.fi>
To: Martin Gruner <mg.pub at gmx.net>
References: <200902111807.31161.mg.pub at gmx.net>

Martin Gruner wrote:
> Hi Eeli,
> 
> do you already use KDE 4.2?
> In KMail, they implemented a tree filter for the folders list. That is 
> precisely what I'd hope for in BT. I attached a screen shot in case you cannot 
> test yourself.
> Do you think this could be implemented?
> 
> mg
> 
> 
> ------------------------------------------------------------------------
> 

It could be even easy with:
void QTreeWidgetItem::setHidden ( bool hide )

If it works we don't have to change the tree at all, only set the hidden
status of items (which is completely different thing that our UI
"hidden" status). If user inputs some text into the text area, the whole
tree will be opened and filtered. When the text is cleared all items are
set non-hidden.

But I still don't personally think it's a very important feature, so I
won't put it high on my own todo list. This could be a nice small task
for some novice developer, though.

--Eeli Kaikkonen




More information about the bt-devel mailing list