The class exposing BrowserAction API to QML.
More...
#include <qmlbrowseraction.h>
The class exposing BrowserAction API to QML.
Definition at line 29 of file qmlbrowseraction.h.
◆ Location
The Location enum.
Enumerator |
---|
NavigationToolBar | to add the button in navigation tool bar
|
StatusBar | to add the button in status bar
|
Definition at line 88 of file qmlbrowseraction.h.
◆ QmlBrowserAction()
QmlBrowserAction::QmlBrowserAction |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QmlBrowserAction()
QmlBrowserAction::~QmlBrowserAction |
( |
| ) |
|
|
override |
◆ badgeTextChanged
void QmlBrowserAction::badgeTextChanged |
( |
const QString & |
badgeText | ) |
|
|
signal |
This signal is emitted when the badgeText property is changed.
- Parameters
-
QString | representing badgeText |
◆ button()
◆ classBegin()
void QmlBrowserAction::classBegin |
( |
| ) |
|
|
inlineoverride |
◆ clicked
void QmlBrowserAction::clicked |
( |
| ) |
|
|
signal |
This signal is emitted when the button is clicked.
◆ componentComplete()
void QmlBrowserAction::componentComplete |
( |
| ) |
|
|
override |
◆ iconChanged
void QmlBrowserAction::iconChanged |
( |
const QString & |
icon | ) |
|
|
signal |
This signal is emitted when the icon property is changed.
- Parameters
-
◆ identityChanged
void QmlBrowserAction::identityChanged |
( |
const QString & |
identity | ) |
|
|
signal |
This signal is emitted when identity property is changed.
- Parameters
-
QString | representing identity |
◆ location()
QmlBrowserAction::Locations QmlBrowserAction::location |
( |
| ) |
const |
◆ locationChanged
void QmlBrowserAction::locationChanged |
( |
const Locations & |
locations | ) |
|
|
signal |
This signal is emitted when the locations property is changed.
- Parameters
-
◆ nameChanged
void QmlBrowserAction::nameChanged |
( |
const QString & |
name | ) |
|
|
signal |
This signal is emitted when name property is changed.
- Parameters
-
◆ popupChanged
void QmlBrowserAction::popupChanged |
( |
QQmlComponent * |
popup | ) |
|
|
signal |
This signal is emitted when the popup property is changed.
- Parameters
-
QQmComponent | representing popup |
◆ titleChanged
void QmlBrowserAction::titleChanged |
( |
const QString & |
title | ) |
|
|
signal |
This signal is emitted when title property is changed.
- Parameters
-
QString | representing title |
◆ toolTipChanged
void QmlBrowserAction::toolTipChanged |
( |
const QString & |
toolTip | ) |
|
|
signal |
This signal is emitted when the toolTip property is changed.
- Parameters
-
QString | representing toolTip |
◆ badgeText
QString QmlBrowserAction::badgeText |
|
readwrite |
◆ icon
QString QmlBrowserAction::icon |
|
readwrite |
icon path of button
The icon path will be search in the following order
- Theme icon: if the icon is found as a theme icon, then it will be used even if the icon file with same name is present in the plugin directory
- Falkon resource: for the icons starting with ":", they are searched in falkon resource file
- Files in plugin directory: All other paths will be resolved relative to the plugin directory. If the icon path is outside the plugin directory, then it will be resolved as empty path.
Definition at line 1 of file qmlbrowseraction.h.
◆ identity
QString QmlBrowserAction::identity |
|
readwrite |
identity for the button. This is a required property.
Definition at line 1 of file qmlbrowseraction.h.
◆ location
Locations QmlBrowserAction::location |
|
readwrite |
represents locations where the button is to be added.
Definition at line 1 of file qmlbrowseraction.h.
◆ name
QString QmlBrowserAction::name |
|
readwrite |
name of the button. This is a required property.
Definition at line 1 of file qmlbrowseraction.h.
◆ popup
QQmlComponent* QmlBrowserAction::popup |
|
readwrite |
the popup shown when the button is clicked. This must be a QML Window.
Definition at line 1 of file qmlbrowseraction.h.
◆ title
QString QmlBrowserAction::title |
|
readwrite |
◆ toolTip
QString QmlBrowserAction::toolTip |
|
readwrite |
The documentation for this class was generated from the following files: