Represents a Qml component which can be loaded from a resource. More...
#include <QmlComponentInfo.h>
Public Member Functions | |
| QmlComponentInfo (const QString &title, QUrl url, QUrl icon=QUrl(), QObject *parent=nullptr, bool requiresVehicle=false) | |
| ~QmlComponentInfo () | |
| const QString & | title () const |
| QUrl | url () const |
| QUrl | icon () const |
| bool | requiresVehicle () const |
Protected Attributes | |
| const QString | _title |
| Title for page. | |
| const QUrl | _url |
| Qml source code. | |
| const QUrl | _icon |
| Icon for page. | |
| const bool | _requiresVehicle |
| Page requires connected vehicle. | |
Represents a Qml component which can be loaded from a resource.
Definition at line 8 of file QmlComponentInfo.h.
| QmlComponentInfo::QmlComponentInfo | ( | const QString & | title, |
| QUrl | url, | ||
| QUrl | icon = QUrl(), | ||
| QObject * | parent = nullptr, | ||
| bool | requiresVehicle = false ) |
Definition at line 6 of file QmlComponentInfo.cc.
References _icon, _requiresVehicle, _title, _url, icon(), requiresVehicle(), title(), and url().
| QmlComponentInfo::~QmlComponentInfo | ( | ) |
Definition at line 16 of file QmlComponentInfo.cc.
|
inline |
Definition at line 22 of file QmlComponentInfo.h.
References _icon.
Referenced by QmlComponentInfo().
|
inline |
Definition at line 23 of file QmlComponentInfo.h.
References _requiresVehicle.
Referenced by QmlComponentInfo().
|
inline |
Definition at line 20 of file QmlComponentInfo.h.
References _title.
Referenced by QmlComponentInfo().
|
inline |
Definition at line 21 of file QmlComponentInfo.h.
References _url.
Referenced by QmlComponentInfo().
|
protected |
Icon for page.
Definition at line 28 of file QmlComponentInfo.h.
Referenced by icon(), and QmlComponentInfo().
|
protected |
Page requires connected vehicle.
Definition at line 29 of file QmlComponentInfo.h.
Referenced by QmlComponentInfo(), and requiresVehicle().
|
protected |
Title for page.
Definition at line 26 of file QmlComponentInfo.h.
Referenced by QmlComponentInfo(), and title().
|
protected |
Qml source code.
Definition at line 27 of file QmlComponentInfo.h.
Referenced by QmlComponentInfo(), and url().