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

#include <tabmanagerplugin.h>

Inheritance diagram for TabManagerPlugin:
PluginInterface

Public Types

enum  ViewType { ShowAsSideBar = 0 , ShowAsWindow = 1 , Undefined = -1 }
 
- Public Types inherited from PluginInterface
enum  InitState { StartupInitState , LateInitState }
 

Public Slots

void insertManagerWidget ()
 

Public Member Functions

 TabManagerPlugin ()
 
void init (InitState state, const QString &settingsPath) override
 
void unload () override
 
bool testPlugin () override
 
void showSettings (QWidget *parent) override
 
void populateExtensionsMenu (QMenu *menu) override
 
void removeManagerWidget ()
 
ViewType viewType ()
 
void setViewType (ViewType type)
 
void saveSettings ()
 
bool asTabBarReplacement () const
 
void setAsTabBarReplacement (bool yes)
 
- Public Member Functions inherited from PluginInterface
virtual ~PluginInterface ()=default
 
virtual void init (InitState state, const QString &settingsPath)=0
 
virtual void unload ()=0
 
virtual bool testPlugin ()=0
 
virtual void showSettings (QWidget *parent=nullptr)
 
virtual void populateWebViewMenu (QMenu *menu, WebView *view, const WebHitTestResult &r)
 
virtual void populateExtensionsMenu (QMenu *menu)
 
virtual bool mouseDoubleClick (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mousePress (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mouseRelease (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool mouseMove (Qz::ObjectName type, QObject *obj, QMouseEvent *event)
 
virtual bool wheelEvent (Qz::ObjectName type, QObject *obj, QWheelEvent *event)
 
virtual bool keyPress (Qz::ObjectName type, QObject *obj, QKeyEvent *event)
 
virtual bool keyRelease (Qz::ObjectName type, QObject *obj, QKeyEvent *event)
 
virtual bool acceptNavigationRequest (WebPage *page, const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame)
 

Static Public Member Functions

static QString settingsPath ()
 

Detailed Description

Definition at line 33 of file tabmanagerplugin.h.

Member Enumeration Documentation

◆ ViewType

Enumerator
ShowAsSideBar 
ShowAsWindow 
Undefined 

Definition at line 49 of file tabmanagerplugin.h.

Constructor & Destructor Documentation

◆ TabManagerPlugin()

TabManagerPlugin::TabManagerPlugin ( )
explicit

Definition at line 37 of file tabmanagerplugin.cpp.

Member Function Documentation

◆ asTabBarReplacement()

bool TabManagerPlugin::asTabBarReplacement ( ) const

Definition at line 211 of file tabmanagerplugin.cpp.

◆ init()

void TabManagerPlugin::init ( InitState  state,
const QString &  settingsPath 
)
overridevirtual

Implements PluginInterface.

Definition at line 47 of file tabmanagerplugin.cpp.

◆ insertManagerWidget

void TabManagerPlugin::insertManagerWidget ( )
slot

Definition at line 103 of file tabmanagerplugin.cpp.

◆ populateExtensionsMenu()

void TabManagerPlugin::populateExtensionsMenu ( QMenu *  menu)
overridevirtual

Reimplemented from PluginInterface.

Definition at line 93 of file tabmanagerplugin.cpp.

◆ removeManagerWidget()

void TabManagerPlugin::removeManagerWidget ( )

Definition at line 150 of file tabmanagerplugin.cpp.

◆ saveSettings()

void TabManagerPlugin::saveSettings ( )

Definition at line 201 of file tabmanagerplugin.cpp.

◆ setAsTabBarReplacement()

void TabManagerPlugin::setAsTabBarReplacement ( bool  yes)

Definition at line 216 of file tabmanagerplugin.cpp.

◆ settingsPath()

QString TabManagerPlugin::settingsPath ( )
static

Definition at line 196 of file tabmanagerplugin.cpp.

◆ setViewType()

void TabManagerPlugin::setViewType ( ViewType  type)

Definition at line 174 of file tabmanagerplugin.cpp.

◆ showSettings()

void TabManagerPlugin::showSettings ( QWidget *  parent)
overridevirtual

Reimplemented from PluginInterface.

Definition at line 87 of file tabmanagerplugin.cpp.

◆ testPlugin()

bool TabManagerPlugin::testPlugin ( )
overridevirtual

Implements PluginInterface.

Definition at line 82 of file tabmanagerplugin.cpp.

◆ unload()

void TabManagerPlugin::unload ( )
overridevirtual

Implements PluginInterface.

Definition at line 72 of file tabmanagerplugin.cpp.

◆ viewType()

TabManagerPlugin::ViewType TabManagerPlugin::viewType ( )

Definition at line 169 of file tabmanagerplugin.cpp.


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