[Qt] TabBar close buttons
webpirat at mail.ru
Sat Nov 29 10:35:23 CET 2008
> AFAIK, TNotebook have property to enable close buttons or not , not ide only.
> I didn't use any WSClasses methods, just override paint method of tabbar, and
> ask PtInRect(point, drawedbuttonrect) when click with mouse :)
Then you need to draw them only when TNotebook has this property
enabled. I think you need to compare your implementation with gtk
implementation to be sure you do it similar.
More information about the Qt