Skip to content

Instantly share code, notes, and snippets.

Created April 28, 2009 12:50
Show Gist options
  • Save anonymous/103126 to your computer and use it in GitHub Desktop.
Save anonymous/103126 to your computer and use it in GitHub Desktop.
view = new QWebView(this);
QPalette palette = view->palette();
palette.setBrush(QPalette::Base, Qt::transparent);
view->page()->setPalette(palette);
view->setAttribute(Qt::WA_OpaquePaintEvent, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment