The class exposing SideBar API to QML.
More...
#include <qmlsidebar.h>
|
QString | name |
| name of the sidebar. This is required property. More...
|
|
QString | title |
| title of the sidebar action. More...
|
|
QString | icon |
| icon path of the sidebar action. More...
|
|
QString | shortcut |
| shortcut for the sidebar action. More...
|
|
bool | checkable |
| represents whether the sidebar action is checkable More...
|
|
QQmlComponent * | item |
| the GUI of the sidebar. This must be provided as QML Window. This is a default property. More...
|
|
The class exposing SideBar API to QML.
Definition at line 28 of file qmlsidebar.h.
◆ QmlSideBar()
QmlSideBar::QmlSideBar |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QmlSideBar()
QmlSideBar::~QmlSideBar |
( |
| ) |
|
|
override |
◆ checkableChanged
void QmlSideBar::checkableChanged |
( |
bool |
checkable | ) |
|
|
signal |
This signal is emitted when checkable property is changed.
- Parameters
-
◆ classBegin()
void QmlSideBar::classBegin |
( |
| ) |
|
|
inlineoverride |
◆ componentComplete()
void QmlSideBar::componentComplete |
( |
| ) |
|
|
override |
◆ iconChanged
void QmlSideBar::iconChanged |
( |
const QString & |
icon | ) |
|
|
signal |
This signal is emitted when icon property is changed.
- Parameters
-
QString | representing icon path url |
◆ itemChanged
void QmlSideBar::itemChanged |
( |
QQmlComponent * |
item | ) |
|
|
signal |
◆ name()
QString QmlSideBar::name |
( |
| ) |
const |
◆ nameChanged
void QmlSideBar::nameChanged |
( |
const QString & |
name | ) |
|
|
signal |
This signal is emitted when name property is changed.
- Parameters
-
◆ shortcutChanged
void QmlSideBar::shortcutChanged |
( |
const QString & |
shortcut | ) |
|
|
signal |
This signal is emitted when shortcut property is changed.
- Parameters
-
QString | representing shortcut |
◆ sideBar()
◆ titleChanged
void QmlSideBar::titleChanged |
( |
const QString & |
title | ) |
|
|
signal |
This signal is emitted when title property is changed.
- Parameters
-
QString | representing title |
◆ checkable
bool QmlSideBar::checkable |
|
readwrite |
represents whether the sidebar action is checkable
Definition at line 1 of file qmlsidebar.h.
◆ icon
icon path of the sidebar action.
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 qmlsidebar.h.
◆ item
QQmlComponent* QmlSideBar::item |
|
readwrite |
the GUI of the sidebar. This must be provided as QML Window. This is a default property.
Definition at line 1 of file qmlsidebar.h.
◆ name
name of the sidebar. This is required property.
Definition at line 1 of file qmlsidebar.h.
◆ shortcut
QString QmlSideBar::shortcut |
|
readwrite |
shortcut for the sidebar action.
Definition at line 1 of file qmlsidebar.h.
◆ title
QString QmlSideBar::title |
|
readwrite |
title of the sidebar action.
Definition at line 1 of file qmlsidebar.h.
The documentation for this class was generated from the following files: