17#include <QDragEnterEvent>
31 setObjectName(
"RootWebView");
41 if ((
fX >= 0) || (
fY >= 0)) move(
fX > 0 ?
fX : 0,
fY > 0 ?
fY : 0);
44 setAttribute( Qt::WA_DeleteOnClose,
false );
51 return QWebEngineView::sizeHint();
56 if (
e->mimeData()->hasText())
57 e->acceptProposedAction();
68 page()->runJavaScript(
"if (window && window.onqt5unload) window.onqt5unload();");
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual QSize sizeHint() const
virtual void dropEvent(QDropEvent *event)
void onWindowCloseRequested()
void drop(QDropEvent *event)
virtual void dragEnterEvent(QDragEnterEvent *e)
virtual void closeEvent(QCloseEvent *)
RootWebView(QWidget *parent=nullptr, unsigned width=0, unsigned height=0, int x=-1, int y=-1)