Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, February 2008
AW: QComboBox and QTreeViews


Message 1 in thread

This is a known issue:
http://trolltech.com/developer/task-tracker/index_html?method=entry&id=87744
http://trolltech.com/customer/task-tracker/index_html?method=entry&id=87744 
go vote on it if you're a customer :)

Cheers,
Peter

> -----Ursprüngliche Nachricht-----
> Von: Bernhard Rosenkränzer [mailto:bero@xxxxxxxxxxxx] 
> Gesendet: Mittwoch, 13. Februar 2008 12:08
> An: qt4-preview-feedback@xxxxxxxxxxxxx
> Betreff: QComboBox and QTreeViews
> 
> When trying to throw a tree model (e.g. QDirModel) at a 
> QComboBox, it just 
> displays the top level instead of using a QTreeView dropdown.
> 
> Using QComboBox::setView to force a QTreeView on it is tricky 
> because the 
> event handling closes the dropdown when clicking on a +, and 
> getting an event 
> filter for this type of thing right is fairly tricky - any 
> chance to get a 
> QComboBox to handle a QTreeView correctly (or to get a 
> QTreeComboBox or 
> something like that) in 4.4?
> 
> Best regards,
> bero
> 
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
> 
> 

--
 [ signature omitted ]