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

List:       kde-devel
Subject:    Re: "read-only" QComboBox
From:       Reginald Stadlbauer <reggie () kde ! org>
Date:       1999-03-23 22:41:47
[Download RAW message or body]

On Mon, 22 Mar 1999, Alexander Raimondi wrote: 
> > The changed background color is used to show that it is readonly. 
> > Having the same color without the thingy being editable for the user 
> > would be a BUG. 
> > 
> > Using setFocusPolicy as you do is a BUG, too. 
> 
> Why???? 
  
Because it's the wrong way in this situation :-)) 
  
> > Using setEnabled is the correct way. 
> > 
> But you can't read anymore what's written in.. I'm using standart 
> KDE-colors and can't read the contens. 
> I want the user to be able to read but _not_ to edit. 
  
Then use a QLabel. But I _can_ read disabled linedits. 
  
Ciao, Reggie 
  
-- 
************************************* 
Reginald Stadlbauer 
Pfarrweg 8c, A-8010 Graz, 
Austria (Europe) 
 
E-Mail: reggie@kde.org 
 
Homepage: http://htualpha.tu-graz.ac.at/reggie 
 
Telematik Student an der TU-Graz 
EDV-Sachbearbeiter an der HTU-Graz 
KDE fan and developer :-) 
 
 

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

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