<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Segoe'; font-size:10pt; font-weight:400; font-style:normal;">Am Wednesday 20 May 2009 schrieb Christoph Feck:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> * The toolbutton menu delay is read via QStyle::SH_ToolButton_PopupDelay,<br>
> so wether it is configurable or not depends on the used style (the idea is<br>
> that the delay should follow platform guidelines). Of course we could<br>
> change that value for KStyle, because 600 ms is really too long (IMHO). I<br>
> use 250 ms in Skulpture.<br>
lame, bespin has 150 ;-P<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> * If you are implementing "click and drag" with the delayed button,<br>
> *please* think about users with a pen and respect<br>
> QApplication::dragDistance(), as on a tablet it is (nearly) impossible to<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>this is in particular why i'd vote against making "delayed" vs. "click and drag" either some HIG enforcement or style dependent.<br>
it's entirely about the user in person, his/her motorics and input devices.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>so such behaviour should be <br>
1. configurable (regardless all "not too many options, please" yells - there's no "right" choice)<br>
2. not handled by the style (as otherwise all styles would have implement some config for it or rule out some users or live with the "but style xxx does yyy" bug reports) - iff at all then by kstyle, but even that's no good solution as it would exclude the built in Qt styles<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>(by taking a long dragDistance() into account the whole advance of this would be lost, so pen or even touchpad users would likely prefer the delayed variant in the first place)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thomas</p></body></html>