Reputation: 1788
I implemented autohide feature using QRegion and mouseMove event. Now I have another problem. I need to change geometry of QRegion during runtime but I can't find any suitable command. Can you help me with this.
Upvotes: 2
Views: 181
Reputation: 51832
Just assign it another QRegion. Example:
QRegion myRegion(/* ... */);
// Change myRegion
myRegion = QRegion(/* ... */);
Upvotes: 2