Results 1 to 2 of 2

Thread: QGraphicsView + QWebView

  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default QGraphicsView + QWebView

    Hi,

    Here is my scenario :

    Qt Code:
    1. QWebView * webView = new QWebView;
    2. webView->load(QUrl("http://www.free.fr/"));
    3. webView->setFixedSize(800, 600);
    4. (scene->addWidget(webView))->setFocusPolicy(Qt::StrongFocus);
    5. view->show();
    To copy to clipboard, switch view to plain text mode 

    Here is my problem :

    I don't get focus on my webview and cannot click on any webPage link.

  2. #2
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: QGraphicsView + QWebView


Similar Threads

  1. Problem With QWebView
    By ivi2501 in forum Qt Programming
    Replies: 8
    Last Post: 2nd August 2009, 19:37
  2. Replies: 2
    Last Post: 26th February 2009, 10:12
  3. QGraphicsView and embeded widgets
    By bunjee in forum Qt Programming
    Replies: 10
    Last Post: 12th October 2008, 07:43
  4. QWebView - retrieving information?
    By lamera in forum Qt Programming
    Replies: 1
    Last Post: 25th September 2008, 17:53
  5. Problem determining size of QGraphicsView
    By Bocki in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2008, 14:54

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.