[Qt] TabBar close buttons
Paul Ishenin
webpirat at mail.ru
Sat Nov 29 10:35:23 CET 2008
zeljko wrote:
> 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.
Best regards,
Paul Ishenin.
More information about the Qt
mailing list