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

#include <tabbedwebview.h>

Inheritance diagram for TabbedWebView:
WebView

Public Slots

void setAsCurrentTab ()
 
void userLoadAction (const LoadRequest &req)
 
- 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
 

Signals

void wantsCloseTab (int)
 
void ipChanged (const QString &)
 
- 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)
 

Public Member Functions

 TabbedWebView (WebTab *webTab)
 
void setPage (WebPage *page)
 
BrowserWindowbrowserWindow () const
 
void setBrowserWindow (BrowserWindow *window)
 
WebTabwebTab () const
 
QString getIp () const
 
int tabIndex () const
 
QWidget * overlayWidget () override
 
void closeView () override
 
void loadInNewTab (const LoadRequest &req, Qz::NewTabPositionFlags position) 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

- 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 34 of file tabbedwebview.h.

Constructor & Destructor Documentation

◆ TabbedWebView()

TabbedWebView::TabbedWebView ( WebTab webTab)
explicit

Definition at line 38 of file tabbedwebview.cpp.

Member Function Documentation

◆ browserWindow()

BrowserWindow * TabbedWebView::browserWindow ( ) const

Definition at line 58 of file tabbedwebview.cpp.

◆ closeView()

void TabbedWebView::closeView ( )
overridevirtual

Implements WebView.

Definition at line 149 of file tabbedwebview.cpp.

◆ getIp()

QString TabbedWebView::getIp ( ) const

Definition at line 81 of file tabbedwebview.cpp.

◆ ipChanged

void TabbedWebView::ipChanged ( const QString &  )
signal

◆ isFullScreen()

bool TabbedWebView::isFullScreen ( )
overridevirtual

Implements WebView.

Definition at line 165 of file tabbedwebview.cpp.

◆ loadInNewTab()

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

Implements WebView.

Definition at line 154 of file tabbedwebview.cpp.

◆ overlayWidget()

QWidget * TabbedWebView::overlayWidget ( )
overridevirtual

Implements WebView.

Definition at line 144 of file tabbedwebview.cpp.

◆ requestFullScreen()

void TabbedWebView::requestFullScreen ( bool  enable)
overridevirtual

Implements WebView.

Definition at line 170 of file tabbedwebview.cpp.

◆ setAsCurrentTab

void TabbedWebView::setAsCurrentTab ( )
slot

Definition at line 178 of file tabbedwebview.cpp.

◆ setBrowserWindow()

void TabbedWebView::setBrowserWindow ( BrowserWindow window)

Definition at line 63 of file tabbedwebview.cpp.

◆ setPage()

void TabbedWebView::setPage ( WebPage page)

Definition at line 51 of file tabbedwebview.cpp.

◆ tabIndex()

int TabbedWebView::tabIndex ( ) const

Definition at line 139 of file tabbedwebview.cpp.

◆ userLoadAction

void TabbedWebView::userLoadAction ( const LoadRequest req)
slot

Definition at line 95 of file tabbedwebview.cpp.

◆ wantsCloseTab

void TabbedWebView::wantsCloseTab ( int  )
signal

◆ webTab()

WebTab * TabbedWebView::webTab ( ) const

Definition at line 76 of file tabbedwebview.cpp.


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