resizeable rubber band with QSizeGrip
-
Hi,
Can you provide a minimal compilable example that shows the behaviour you have ? There might be something unrelated to the stack overflow code happening.
-
That's a good news.
Then I would disable all widgets that are not related to your rubber band and gradually add them back until things get wrong.
-
Yah I started looking at how I was setting it up and controlling it - the GUI interaction of this particular app positions the rubber band automatically at previously user-defined positions. I was calling setGeometry on it with a QRect whose coordinates were reversed. (interestingly to no visual detriment.) Now that I've changed that, the QSizeGrip handles do function as expected, I can resize up/left just as well as down/right.. The upper left arrow itself is not pointing the correct direction (up/left) but at least now it's behaving as expected.
-
Then there must be one last glitch hiding.
-
There's a method in the private implementation of the class that determines that based on the position of the grip.
-
Hi,
Can you provide a minimal compilable example that shows the behaviour you have ? There might be something unrelated to the stack overflow code happening.