SetCursorPosition I want to use this function to set the initial position of QlineEdit, but simply doesn't work, I write him in a paintEvent but also in the edit box to have data to have a role, but I want to have is when there is no data to his position in the I need to start, and the cursor can't go, need to use what function to write, my method a, with a blank ACTS as the first half, with keyEvent intercept Qt: : Backespace response, to do judgment, can be achieved, but there is a BUG, and later to get the data also trouble, consult other way,
CodePudding user response:
You just tell me how this is cursor position!!!!!!
CodePudding user response:
Ahhh encountered the same problem haven't solve half a day