Questions tagged [qwebview]

The QWebView class is the main widget component of the Qt WebKit web browsing module. It can be used in various applications to display web content live from the Internet.

The QWebView class provides a widget that is used to view and edit web documents. QWebView is the main widget component of Qt's QtWebKit web browsing module. It can be used in various applications to display web content live from the Internet. QtWebKit is based on the Open Source WebKit engine.

QWebView is the main widget component of the Qt WebKit web browsing module. It can be used in various applications to display web content live from the Internet.

The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.

540 questions
0
votes
1 answer

Access python function from javascript in QWebView

I am writing a Python/PyQt4 application that generates and displays a page in a QWebView widget. The page includes javascript code that I would like to be able to call functions returning data from the python application. So far I can call…
Chris Crook
  • 243
  • 3
  • 7
0
votes
1 answer

Qt Webkit output is not same like mozilla/IE for some website

I am using QWebKit class to display the webpages but for some websites output is not coming same as other standard browsers. For example the below mention site contain one flash video at the right side, if you click on the full screen of this flash…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
2 answers

A HTML page doesn't display right in a QWebview

I'm doing a little software that has a QWebViewto display HTMLfiles. My problem is that my welcome page doesn't display well. It looks like when it should have an image between those red lines, in the center. The problem is surely my HTMLand/or…
castors33
  • 477
  • 10
  • 26
0
votes
1 answer

Tranferring the html input for the Qt

I have a QWebView and inside of it, say there's some comboboxes, radiobuttons or some form. Showing that website in the QWebView, is there any way to get those information that are checkeds/filled or whatever (The html webpage is mine)? I'm using…
Patrick Bassut
  • 3,310
  • 5
  • 31
  • 54
0
votes
1 answer

How to Reduce the Memory when a Tab is closed

I'm new in this Qt programming. I am just trying to do a Browser application. In that i use a tab widget and a Webview for loading the url's. When am having more number of new tabs my memory keeps on increasing and if i am closing the tabs one by…
New Moon
  • 787
  • 6
  • 21
  • 35
0
votes
1 answer

How to stretch/shrink HTML Page to fit in QWebView window

I am using QWebView to render a html page using setHTML method. In the html page body section I am mentioning width and height for the html page, if we are changing the width and hegiht of the QWebView window at run time by calling…
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
0
votes
1 answer

Qt multiple webview handling with single slot

#include #include class MyWebview : public QObject { Q_OBJECT private: QWebView *v1, *v2, *v3, *v4; public: MyWebview() { v1 = new QWebView(0); v2 = new QWebView(0); v3 = new QWebView(0); …
Dewsworld
  • 13,367
  • 23
  • 68
  • 104
0
votes
1 answer

Print text of a QWebview, QPrintDialog doesn't appear

I tried this: QPrintDialog printdia(MyWevView); printdia.exec(); QPrinter* printer = printdia.printer(); QPainter painter(printer); MyWevView->render(&painter, MyWevView->pos(),MyWevView->visibleRegion()); I know I don't check if the…
castors33
  • 477
  • 10
  • 26
-1
votes
1 answer

'https' link is not loading in qwebview in qt creator

I am completely new to Qt and using Qt 5.5.1 version. I need to load an https link in my QWebview widget. But it is not loading. I tried with a different 'https' link address. Some will load, but some others will fail to get load. I googled the…
Axa Baby
  • 3
  • 2
-1
votes
1 answer

Fake click with qwebelement at qwebview qt

I want to imitate a fake click with qwebelement in a qwebview. I have an answer which works with login good, but here nothing happens:
Altinsystems
  • 186
  • 2
  • 8
-1
votes
1 answer

displaying selected text in Qwebview using javascript

i am trying to display the selected text in QwebView browser with javascript. but i dont know why its not working.. here is my code:- frame =…
ricky rana
  • 57
  • 6
-1
votes
1 answer

How can I find the popped up QFiledialog when I click file input in the QWebView?

QApplication.postEvent(object, press) I want to simulate the keypress and mousepress in the select file dialog, which is popped up by clicking file input in the QWebView. I don't know what the object is. Any ideas on how to obtain it?
fox
  • 36
  • 2
-1
votes
1 answer

Create new dialog in PyQT + Webview

I`m trying to develop nice-looking app in pyqt using WebView and have a little problem. I want to create new Window by pressing button in WebView. I have main window(short view): class LoginWindow(QWidget): def __init__(self): # creating…
progerz
  • 27
  • 1
  • 9
-2
votes
1 answer

Qt Custom Slot QWebView

I'm fairly new to Qt and I'm trying to work with Signals and Slots and I'm having a bit of trouble creating custom Slots: public slots: void resetUrl(){ this->load(QUrl("http://www.google.com")); } (Then, in my main.cpp) #include…
Connor M
  • 331
  • 3
  • 5
  • 18
-5
votes
1 answer

I need to get a list of the image elements of a web page

I have a QWebView in which I load a web page. It it possible to get a list of all images that appear on it? I need to select from the list images that appears on the web page me with a box. Is it possible ? Thanks in advance. greetings EDIT: Here is…
1 2 3
35
36