PDA

View Full Version : Qdialog movement in midiarea



habbas33
1st April 2015, 11:29
Hi.,

i want to restrict the movement of my dialog window inside the Midiarea. please help...
11048
here the laser navigator is outside the midiarea I dont want it to go outside ever.

anda_skoa
1st April 2015, 14:57
You could try overwriting the dialog's moveEvent() handler and when you detect a move outside your target area you trigger a move back.

Cheers,
_