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

List:       kde-devel
Subject:    Re: KDatePicker ->setEnabled not working
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       1999-03-22 16:05:40
[Download RAW message or body]



Mike Pilone wrote:
> 
> Hello all,
> 
> I was working with the KDatePicker and I noticed that if you set the
> widget to not enabled it still appears enabled, and worst of all, it still
> allows the user to pick dates! I could understand if graying it out isn't
> possible, but the user shouldn't be allowed to pick a date if the element
> is disabled.
> 
> Am I doing something wrong? Is there a way to completely disable it?

If the worst comes to the worst, you can always use an event filter
to steal all of the events from the widget.

Rich.

> 
> thanks,
> -mike

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

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

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