Two API suggestions before freeze

Mathias Soeken msoeken at tzi.de
Fri Apr 27 19:29:25 BST 2007


Hi, 

I have two classes. They are already compeleted. If they are interesting for 
other projects, they can perhaps useful in kdelibs.

1. 
http://techbase.kde.org/Projects/Widgets_and_Classes#KTreeViewHeaderContextMenu

A class that takes a QListView and add a contextmenu to its header. With this 
contextmenu you can show and hide the columns. (Discussed in kde-usability)

2. A KCategoryComboBox (could eventually be merged with KComboBox)

Has a method addCategoryItem( QString ) to add a separator with text.
Proof of concept: 
http://websvn.kde.org/trunk/playground/pim/recipientspicker/categorycombobox

Mathias






More information about the kde-core-devel mailing list