Placing a QWebView Over an Existing QGraphicsView

I'm trying to place a QWebView on top of an existing window that is just a QGraphicsView containing a single QGraphicsScene. Is there any way to do this without creating a new window?

My goal is just to overlay most of the screen and dim out the stuff on the QGraphicsScene, so it puts a "focus" on the QWebView. Any suggestions?

Answers


I ended up just adding the QWebView to the QGraphicsView, and then positioned it using the move(QPointF) and resize(QSize) methods.


Need Your Help

A lookup table for predicates?

c# .net linq lookup predicate

I have a C# application with a user interface that contains options for the type of search a user can perform. The options are 'multiple terms' (splits the search term on spaces), 'case sensitive',...

PHP Architecture: How do I do that?

php architecture internal

I need some help understanding internal workings of PHP.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.