Qt 5.10 Book Examples
WebBrowser.h
Go to the documentation of this file.
1 // ======================================================================
2 // WebBrowser.h -
3 // ======================================================================
4 // This file is a part of the book
5 // "Qt 5.10 Professional programming with C++"
6 // http://qt-book.com
7 // ======================================================================
8 // Copyright (c) 2017 by Max Schlee
9 // ======================================================================
10 
11 #pragma once
12 
13 #include <QWidget>
14 
15 class QLineEdit;
16 class QWebEngineView;
17 class QPushButton;
18 
19 // =============================================================
20 class WebBrowser : public QWidget{
21 Q_OBJECT
22 private:
23  QLineEdit* m_ptxt;
24  QWebEngineView* m_pwv;
25  QPushButton* m_pcmdBack;
26  QPushButton* m_pcmdForward;
27 
28 public:
29  WebBrowser(QWidget* wgt = 0);
30 
31 private slots:
32  void slotGo ( );
33  void slotFinished(bool);
34 };
35 
36 
WebBrowser(QWidget *wgt=0)
Definition: WebBrowser.cpp:16