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

List:       kde-devel
Subject:    Re: Need help QListViewItem
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date:       1999-04-13 22:15:08
[Download RAW message or body]

On Tue, Apr 13, 1999 at 11:34:19PM +0200, Andreas Reuter wrote:

Hi,
 
> I really want the entry Disabled (in gray).
[...] 
> And now I´m looking exactly for the same for one entry. Using
> setSelectable( bool ) and/or setSelected( bool ) has the disadvantage
> that the user can´t see that the entry is disabled. I´m just wondering
> as even QWidget has setEnabled() implemented.

QListViewItem doesn't inherit QWidget. I'm afraid, you have to roll your
own KListViewItem, derived from QListViewItem and implement setEnabled()
yourself.
 
Cheers,
Carsten Pfeiffer
-- 
http://www.geocities.com/SiliconValley/1632/

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

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