Results 1 to 5 of 5

Thread: QWebView Ctrl+C for copy isn't working, how to fix ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: QWebView Ctrl+C for copy isn't working, how to fix ?

    have the same problem (qt 4.7.2 win7 x64)


    Added after 4 minutes:


    Try the following workaround. It worked for me.
    Qt Code:
    1. QAction *copyAction = webView->pageAction(QWebPage::Copy);
    2. copyAction->setShortcut(QKeySequence::Copy);
    3. webView->addAction(copyAction);
    To copy to clipboard, switch view to plain text mode 
    Last edited by mentalmushroom; 13th September 2011 at 13:41.

Similar Threads

  1. Replies: 8
    Last Post: 3rd September 2013, 09:51
  2. QWebView Images with UNC path not working
    By michael. in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2012, 08:46
  3. How to send a "Ctrl+V" event to a QWebView
    By daudiam in forum Qt Programming
    Replies: 2
    Last Post: 1st December 2010, 09:51
  4. Why Ctrl+A not working in QListWidget?
    By rajesh in forum Qt Programming
    Replies: 6
    Last Post: 10th December 2009, 14:40
  5. CTrl + A
    By navi1084 in forum Qt Programming
    Replies: 1
    Last Post: 23rd October 2008, 09:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.