Close tab with middle mouse click

Andreas Pakulat apaku at gmx.de
Wed Jun 17 21:52:10 UTC 2009


On 17.06.09 23:06:50, Milian Wolff wrote:
> David Nolden wrote:
>> Am Mittwoch 17 Juni 2009 20:44:41 schrieb Milian Wolff:
>>> Ci wrote:
>>>> Hello
>>>>
>>>> First of all I want to say You're doing great job. I track kdevelop
>>>> development from some time and in my opinion it changes in great
>>>> direction.
>>>>
>>>> There is one thing I really miss in it - close action when pressing
>>>> middle button on the opened file tab. I added simple patch for adding
>>>> this feature. What You think about that?
>>> Fun fact: Just yesterday we talked about that on IRC :)
>>>
>>> We'd like to have it implemented just like in applications like
>>> Konqueror, meaning:
>>>
>>> - it should be configurable
>>> - if middle clicking is enabled, don't show the close button on tabs
>>> - maybe more I forgot
>>>
>>> Could you try to implement that as well?
>> The question is, why would it ever make sense to _not_ try to close it 
>> on middle click? If you don't want it, you just won't middle-click it. 
>> And it's not a destructive action, as you will anyway get a "reall want 
>> to close?" question if the document has changes. So I think it doesn't 
>> need configuraiton.
>>
>> Greetings, David
>
> Hm I'm fine with that. Though how is drag'n'drop implemented - didn't  
> work for me right now... Thought that was with middle-click-and-drag...

KDE 4.3 uses left-click+drag as QTabWidget finally got the
implementation for that. KDE 4.2 should still have middle-click for
movement.

Andreas

-- 
Be cheerful while you are alive.
		-- Phathotep, 24th Century B.C.




More information about the KDevelop-devel mailing list