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

List:       kde-core-devel
Subject:    Re: KColorButton class in kdelibs/kdeui
From:       Mosfet <mosfet () jorsm ! com>
Date:       1999-07-22 20:37:19
[Download RAW message or body]

Don't use the slotClicked method, it will run the dialog after d'nd operations
too. Just replace the KColorDialog with QColorDialog in the KColorButton
sources.

I had to do a lot of hacking in order to make d'nd not horribly broken, so I
don't advise hacking those classes much unless you don't like keeping your hair
in your head ;-)

On Thu, 22 Jul 1999, Cristian Tibirna wrote:
> HI
> 
> What is with the slotClicked SLOT in KColorButton class? This was supposed
> to fire up a color selector or a palette menu, but it's not even declared
> anywhere.
> 
> Could I just add it in KColorButton and make it use QColorDialog?
> 
> Cristian Tibirna     : ctibirna@total.net     : www.total.net/~ctibirna
> PhD Student          : ctibirna@gch.ulaval.ca : web.gch.ulaval.ca/~ctibirna
> KDE contact - Canada :  tibirna@kde.org       : www.kde.org
-- 
Daniel M. Duley - Unix developer & sys admin.
mosfet@kde.org
mosfet@jorsm.com

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

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