Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Repaint transparent background when resizing QWebView

[Solved] Repaint transparent background when resizing QWebView

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 838 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • McLionM Offline
    McLionM Offline
    McLion
    wrote on last edited by
    #1

    Hi

    I have a WebView on the first page of a StackedWidget (as Central Widget in MainWindow, I guess ..).
    The background around the WebView is transparent. When I now resize the WebViev from code at runtime the space used by the webView before making it smaller is not repainted and therefore not set to transparent. The old content just stays there and only the part that is covered by the resized WebView is repainted.

    How can I achieve that everything else except the the area of the resized WebView (using setGeometry) is repainted and therefore set to transparent?
    I need to move and resize the webView from code while the surrounding rest of the screen always stays transparent.

    Thanks and best regards,
    McL

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved