we have a classQt Code:
{ Q_OBJECT public: { } { //get cursor position. } };To copy to clipboard, switch view to plain text mode
suppose we have the above child class. Inside child class event how can we get cursor position irrespective of whether the cursor is on the parent or on the other child of same parent. I have inherited from QObject because i dont want to create any widget in this class just i want to know cursor position to handle other objects.
Bookmarks