QStyle::stylePixmap, KDockWidget header height

Andreas Zehender zehender at kde.org
Wed Sep 25 23:06:32 BST 2002


I am hunting a strange bug in the KPovModeler dock widget header at the 
I updated from CVS yesterday and noticed that the dock widget header in 
KPovModeler is much bigger than the headers in KNode and Kate.

The reason seems to be that the call:

style().stylePixmap (QStyle::SP_TitleBarCloseButton, this));

returns a different pixmap in kdockwidget.cpp (kdelibs) and pmdockwidget.cpp 
(kpovmodeler). While the knode code returns a pixmap of height 9, the 
kpovmodeler icon has height 17 (keramic style)

Are there any special cases for the KDockWidget class in the kde styles that 
don't work with the KPovModeler dock widget? On what depends the returned 
icon size?


 Andreas Zehender, Dipl. Ing. (BA)
 Student, 10th semester computer science
 az at azweb.de | zehender at kde.org      

More information about the kde-core-devel mailing list