[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    KTabBar -- double clicking on empty space
From:       Constantin Berzan <exit3219 () gmail ! com>
Date:       2007-09-09 5:34:51
Message-ID: 200709090834.51900.exit3219 () gmail ! com
[Download RAW message or body]

Hello,
currently KTabBar emits mouseDoubleClick(int) if a tab has been double 
clicked, but if the empty space next to the tabs has been double clicked, no 
signal is emitted.

I see two possible solutions:
* emit mouseDoubleClick(-1)
* create a new signal emptySpaceDoubleClick()

The first solution is easier, at the expense of having a "magic" value.
Suggestions? Opinions? Should something be done about middle clicks too?

(Note this problem only occurs when using KTabBar without a KTabWidget, e.g. 
in Konsole)




-- 
Read my book!
http://ascending.wordpress.com/2007/08/05/diaries-of-the-last-dreamer/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic