digiKam
Loading...
Searching...
No Matches
webwidget.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2018-7-30
7 * Description : Widget for displaying HTML in the backends
8 *
9 * SPDX-FileCopyrightText: 2018 by Tarek Talaat <tarektalaat93 at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <qwebview.h>
20
21// Local includes
22
23#include "digikam_export.h"
24
25namespace Digikam
26{
27
28class DIGIKAM_EXPORT WebWidget : public QWebView
29{
30 Q_OBJECT
31
32public:
33
34 explicit WebWidget(QWidget* const parent = nullptr);
35 ~WebWidget();
36
37Q_SIGNALS:
38
39 void closeView(bool val);
40
41protected:
42
43 void closeEvent(QCloseEvent* event) override;
44
45private:
46
47 class Private;
48 Private* const d = nullptr;
49};
50
51} // namespace Digikam
Definition webwidget.h:29
void closeView(bool val)
Definition datefolderview.cpp:34