From kde-core-devel Fri Jul 23 22:37:38 1999 From: Mosfet Date: Fri, 23 Jul 1999 22:37:38 +0000 To: kde-core-devel Subject: Re: KColorButton class in kdelibs/kdeui X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93276953232069 KGlobal? On Thu, 22 Jul 1999, pbrown@redhat.com wrote: > On Thu, 22 Jul 1999, Mosfet wrote: > > > Hrm. Well the slot is obselete and I just removed the connect. The dialog > > should be popping up in mouseReleaseEvent() if the mouse did not move more than > > 6 pixels, otherwise it is considered a drag. I needed to do things this way > > because otherwise moving the cursor just one pixel while the mouse is down was > > considered a D'nD event and overriding the QPushButton methods was acting very > > odd (read the CVS log about the pushbutton staying down). > > argh, we are starting to get a problem. Lots of apps that have been > converted to Xdnd are using arbitrary "drag fudge factors." I can see > that you made KColorButton a tolerance of 6, lots of other things are > using 2 pixels. Where can we universally define this? > > --- > Preston Brown Systems Engineer > pbrown@redhat.com Red Hat, Inc. -- Daniel M. Duley - Unix developer & sys admin. mosfet@kde.org mosfet@jorsm.com