Results 1 to 4 of 4

Thread: Displaying QWidgets created with QWebPluginFactory

  1. #1
    Join Date
    Aug 2009
    Posts
    11
    Thanks
    1

    Default Displaying QWidgets created with QWebPluginFactory

    Based on Qt 4.5.1
    I placed QWidget, created with QWebPluginFactory, into HTML page.

    ...
    <div id="main_screen" class="content" style="">
    <object id="testObj" type="TestObj" name="test" height="270" width="790"></object>
    <div/>
    ...

    TestObject works just fine, also JS communication with it. But i found two problems:

    1. I cant draw no HTML elements above QWidget(positioning absolute and setting z-indexes). Is there any way how to set rendering order in WebKit? Or to make z-index work ? Changing width, height and other properties works just fine.
    2. When i hide parent div for testObj (display:none) and show it again(display:block), WebPluginFactory is called again and original object is destroyed. (Currently my workaround is to resize TestObj to 1 * 1 pixels, so user doesnot sees it).

    Does anybody knows how this works exactly? Is something of this fixed in 4.6 ?

    Thanks

  2. #2
    Join Date
    Jun 2010
    Posts
    3
    Thanked 1 Time in 1 Post

    Default Re: Displaying QWidgets created with QWebPluginFactory

    I have same problem, help me.
    --------------------------------------------
    Thanks

  3. #3
    Join Date
    Jun 2010
    Posts
    3
    Thanked 1 Time in 1 Post

    Default Re: Displaying QWidgets created with QWebPluginFactory

    I have same problem, help me.
    --------------------------------------------
    Thanks

  4. #4
    Join Date
    Aug 2009
    Posts
    11
    Thanks
    1

    Default Re: Displaying QWidgets created with QWebPluginFactory

    Please ! Help me !
    --------------------------------------------------
    Thanks.

Similar Threads

  1. QWidgets and processes
    By mihaiadrian in forum Qt Programming
    Replies: 3
    Last Post: 19th May 2010, 16:38
  2. Multiple QWidgets
    By codeman in forum Qt Programming
    Replies: 7
    Last Post: 23rd March 2010, 11:21
  3. QWebPluginFactory question
    By bpetty in forum Newbie
    Replies: 1
    Last Post: 25th May 2008, 00:37
  4. Replies: 0
    Last Post: 17th May 2008, 18:06
  5. QTableView, add QWidgets
    By xgoan in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2006, 18:34

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.