What exactly does “Clipping” mean when we talk about painting in Qt?
I have been using Qt for a while. The word “clipping” kinda confuse me when I read the source code / documents. I think it might be a stupid question, but it’s a bit hard to understand for non-english-speaking people like me.
Clipping means, that if you have overlapping windows for example, you only dar what is really visible, and hidden parts are not drawn (as they are overlapped, they might draw ouside the window etc).
In Qt, if you are using the widgets (e.g. under windows) with non native windows, so from the OS part, there is onkly one window and all widgets are painting on it, the widgets have to clip on their borders, so you can’t paint outside your widget (what would otherwise work :-) ).