QClipboard paste string to browser input area.. (send ctrl+v event)



  • Hi
    İ can copy a string with clipboard (like ctrl+c) but i can't paste where mouse focused..

    When i copied data,i want to paste string to input area where i have already focused with clicked on browser..
    Just ctrl+v ...

    Thank You

    @
    QClipboard *clipboard = QApplication::clipboard();
    QString originalText = clipboard->text();
    clipboard->setText(subString);
    qDebug () << "Memory: " << originalText;
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.