Button type to be sent to QML. More...
#include <UI/Types/ButtonObject.h>
Public Member Functions | |
ButtonObject (const QString &name, const QUrl &source, QObject *parent=0) | |
const QString & | name () const |
const QUrl & | source () const |
returns the path to the source of the picture | |
Q_SIGNAL void | titleChanged () |
Sent when the title changed. | |
Q_SIGNAL void | sourceChanged () |
Sent when the source changed. | |
Properties | |
QString | name |
returns the name | |
QUrl | image |
Button type to be sent to QML.
ButtonObject::ButtonObject | ( | const QString & | name, | |
const QUrl & | source, | |||
QObject * | parent = 0 | |||
) | [inline] |
name | ||
source | ||
parent |
const QUrl & ButtonObject::source | ( | ) | const [inline] |
returns the path to the source of the picture
const QString & ButtonObject::name [read] |
returns the name