Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, August 2007
QComoBox


Message 1 in thread

Dear All,
   
  Does any body know how I can disable certain features ( items ) in a QComboBox?
   
  Thank you  in advance

 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Message 2 in thread

If you are using a QStandardItem for the items in your QComboBox, you 
should be able to set Item Flags on certain model indexes to get the 
desired effect. Look at Qt::ItemFlags and QStandardItem::setFlags(...).

Hope this solves your problem.

sanaz pezeshky wrote:
> Dear All,
>  
> Does any body know how I can disable certain features ( items ) in a 
> QComboBox?
>  
> Thank you  in advance
>
> Send instant messages to your online friends 
> http://uk.messenger.yahoo.com
>

--
 [ signature omitted ]