Falkon Develop
Cross-platform Qt-based web browser
PopupWebView Class Reference

#include <popupwebview.h>

Inheritance diagram for PopupWebView:
WebView

Public Slots

void inspectElement ()
 
- Public Slots inherited from WebView
void zoomIn ()
 
void zoomOut ()
 
void zoomReset ()
 
void editUndo ()
 
void editRedo ()
 
void editCut ()
 
void editCopy ()
 
void editPaste ()
 
void editSelectAll ()
 
void editDelete ()
 
void reloadBypassCache ()
 
void back ()
 
void forward ()
 
void printPage ()
 
void showSource ()
 
void sendPageByMail ()
 
void openUrlInNewTab (const QUrl &url, Qz::NewTabPositionFlags position)
 
virtual void closeView ()=0
 
virtual void loadInNewTab (const LoadRequest &req, Qz::NewTabPositionFlags position)=0
 
virtual bool isFullScreen ()=0
 
virtual void requestFullScreen (bool enable)=0
 

Public Member Functions

 PopupWebView (QWidget *parent=nullptr)
 
QWidget * overlayWidget () override
 
void loadInNewTab (const LoadRequest &req, Qz::NewTabPositionFlags position) override
 
void closeView () override
 
bool isFullScreen () override
 
void requestFullScreen (bool enable) override
 
- Public Member Functions inherited from WebView
 WebView (QWidget *parent=nullptr)
 
 ~WebView () override
 
QIcon icon (bool allowNull=false) const
 
QString title (bool allowEmpty=false) const
 
WebPagepage () const
 
void setPage (WebPage *page)
 
void load (const QUrl &url)
 
void load (const LoadRequest &request)
 
bool isLoading () const
 
int loadingProgress () const
 
bool backgroundActivity () const
 
int zoomLevel () const
 
void setZoomLevel (int level)
 
QPointF mapToViewport (const QPointF &pos) const
 
QRect scrollBarGeometry (Qt::Orientation orientation) const
 
void addNotification (QWidget *notif)
 
bool eventFilter (QObject *obj, QEvent *event) override
 
QWidget * inputWidget () const
 
virtual QWidget * overlayWidget ()=0
 

Additional Inherited Members

- Signals inherited from WebView
void pageChanged (WebPage *page)
 
void focusChanged (bool)
 
void viewportResized (QSize)
 
void showNotification (QWidget *)
 
void privacyChanged (bool)
 
void zoomLevelChanged (int)
 
void backgroundActivityChanged (bool)
 
- Static Public Member Functions inherited from WebView
static bool isUrlValid (const QUrl &url)
 
static QList< int > zoomLevels ()
 
static bool forceContextMenuOnMouseRelease ()
 
static void setForceContextMenuOnMouseRelease (bool force)
 
- Protected Slots inherited from WebView
void slotLoadStarted ()
 
void slotLoadProgress (int progress)
 
void slotLoadFinished (bool ok)
 
void slotIconChanged ()
 
void slotUrlChanged (const QUrl &url)
 
void slotTitleChanged (const QString &title)
 
void openUrlInNewWindow ()
 
void sendTextByMail ()
 
void copyLinkToClipboard ()
 
void savePageAs ()
 
void copyImageToClipboard ()
 
void downloadLinkToDisk ()
 
void downloadImageToDisk ()
 
void downloadMediaToDisk ()
 
void openActionUrl ()
 
void showSiteInfo ()
 
void searchSelectedText ()
 
void searchSelectedTextInBackgroundTab ()
 
void bookmarkLink ()
 
void openUrlInSelectedTab ()
 
void openUrlInBackgroundTab ()
 
void userDefinedOpenUrlInNewTab (const QUrl &url=QUrl(), bool invert=false)
 
void userDefinedOpenUrlInBgTab (const QUrl &url=QUrl())
 
- Protected Member Functions inherited from WebView
void showEvent (QShowEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void contextMenuEvent (QContextMenuEvent *event) override
 
bool focusNextPrevChild (bool next) override
 
virtual void _wheelEvent (QWheelEvent *event)
 
virtual void _mousePressEvent (QMouseEvent *event)
 
virtual void _mouseReleaseEvent (QMouseEvent *event)
 
virtual void _mouseMoveEvent (QMouseEvent *event)
 
virtual void _keyPressEvent (QKeyEvent *event)
 
virtual void _keyReleaseEvent (QKeyEvent *event)
 
virtual void _contextMenuEvent (QContextMenuEvent *event)
 
void loadRequest (const LoadRequest &req)
 
void applyZoom ()
 
void createContextMenu (QMenu *menu, WebHitTestResult &hitTest)
 
void createPageContextMenu (QMenu *menu)
 
void createLinkContextMenu (QMenu *menu, const WebHitTestResult &hitTest)
 
void createImageContextMenu (QMenu *menu, const WebHitTestResult &hitTest)
 
void createSelectedTextContextMenu (QMenu *menu, const WebHitTestResult &hitTest)
 
void createMediaContextMenu (QMenu *menu, const WebHitTestResult &hitTest)
 
void checkForForm (QAction *action, const QPoint &pos)
 
void createSearchEngine ()
 

Detailed Description

Definition at line 30 of file popupwebview.h.

Constructor & Destructor Documentation

◆ PopupWebView()

PopupWebView::PopupWebView ( QWidget *  parent = nullptr)
explicit

Definition at line 32 of file popupwebview.cpp.

Member Function Documentation

◆ closeView()

void PopupWebView::closeView ( )
overridevirtual

Implements WebView.

Definition at line 57 of file popupwebview.cpp.

◆ inspectElement

void PopupWebView::inspectElement ( )
slot

Definition at line 75 of file popupwebview.cpp.

◆ isFullScreen()

bool PopupWebView::isFullScreen ( )
overridevirtual

Implements WebView.

Definition at line 62 of file popupwebview.cpp.

◆ loadInNewTab()

void PopupWebView::loadInNewTab ( const LoadRequest req,
Qz::NewTabPositionFlags  position 
)
overridevirtual

Implements WebView.

Definition at line 44 of file popupwebview.cpp.

◆ overlayWidget()

QWidget * PopupWebView::overlayWidget ( )
overridevirtual

Implements WebView.

Definition at line 39 of file popupwebview.cpp.

◆ requestFullScreen()

void PopupWebView::requestFullScreen ( bool  enable)
overridevirtual

Implements WebView.

Definition at line 67 of file popupwebview.cpp.


The documentation for this class was generated from the following files: