I am trying to exand QWebView in order to open pop up pages.
So, I create a class like
Qt Code:
  1. #include "support.h"
  2. #include <QWebView>
  3.  
  4. Support::Support(QWidget* parent) : QWebView(parent)
  5. {
  6. this->load(QUrl("http://re.jrc.ec.europa.eu/pvgis/apps3/pvest.php#"));
  7. }
To copy to clipboard, switch view to plain text mode 

I know that I should use QWebView* Support::createWindow(QWebPage::WebWindowType type ), but I have no idea how to use it.
For example, who call that function and how use it?