How can I move an element to where the cursor is?

73 Views Asked by At

How can I move an element to where the cursor is? For example: I want to move the combobox to the position of the cursor in the text box of the element.

enter image description here

1

There are 1 best solutions below

0
Mat On

You can use QWidget::move(int x, int y) to move any widget to the cursor's position: QCursor::pos()