![]() |
Qt 6.x
The Qt SDK
|
#include <qquickicon_p.h>
Collaboration diagram for QQuickIcon:Public Member Functions | |
| QQuickIcon () | |
| QQuickIcon (const QQuickIcon &other) | |
| ~QQuickIcon () | |
| QQuickIcon & | operator= (const QQuickIcon &other) |
| bool | operator== (const QQuickIcon &other) const |
| bool | operator!= (const QQuickIcon &other) const |
| bool | isEmpty () const |
| QString | name () const |
| void | setName (const QString &name) |
| void | resetName () |
| QUrl | source () const |
| void | setSource (const QUrl &source) |
| void | resetSource () |
| QUrl | resolvedSource () const |
| void | ensureRelativeSourceResolved (const QObject *owner) |
| int | width () const |
| void | setWidth (int width) |
| void | resetWidth () |
| int | height () const |
| void | setHeight (int height) |
| void | resetHeight () |
| QColor | color () const |
| void | setColor (const QColor &color) |
| void | resetColor () |
| bool | cache () const |
| void | setCache (bool cache) |
| void | resetCache () |
| QQuickIcon | resolve (const QQuickIcon &other) const |
Properties | |
| QString | name |
| QUrl | source |
| int | width |
| int | height |
| QColor | color |
| bool | cache |
Definition at line 30 of file qquickicon_p.h.
| QQuickIcon::QQuickIcon | ( | ) |
Definition at line 35 of file qquickicon.cpp.
| QQuickIcon::QQuickIcon | ( | const QQuickIcon & | other | ) |
Definition at line 40 of file qquickicon.cpp.
| QQuickIcon::~QQuickIcon | ( | ) |
Definition at line 45 of file qquickicon.cpp.
| bool QQuickIcon::cache | ( | ) | const |
Definition at line 207 of file qquickicon.cpp.
References QQuickIconPrivate::cache.
| QColor QQuickIcon::color | ( | ) | const |
Definition at line 185 of file qquickicon.cpp.
References QQuickIconPrivate::color.
Definition at line 128 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQmlData::get(), QUrl::isEmpty(), QQuickIconPrivate::resolvedSource, and QQuickIconPrivate::source.
Here is the call graph for this function:| int QQuickIcon::height | ( | ) | const |
Definition at line 163 of file qquickicon.cpp.
References QQuickIconPrivate::height.
| bool QQuickIcon::isEmpty | ( | ) | const |
Definition at line 71 of file qquickicon.cpp.
References QUrl::isEmpty(), QString::isEmpty(), QQuickIconPrivate::name, and QQuickIconPrivate::source.
Referenced by QQuickIconLabelPrivate::hasIcon(), and QQuickIconLabelPrivate::syncImage().
Here is the call graph for this function:
Here is the caller graph for this function:| QString QQuickIcon::name | ( | ) | const |
Definition at line 76 of file qquickicon.cpp.
References QQuickIconPrivate::name.
| bool QQuickIcon::operator!= | ( | const QQuickIcon & | other | ) | const |
Definition at line 66 of file qquickicon.cpp.
References other().
Here is the call graph for this function:| QQuickIcon & QQuickIcon::operator= | ( | const QQuickIcon & | other | ) |
Definition at line 49 of file qquickicon.cpp.
References other().
Here is the call graph for this function:| bool QQuickIcon::operator== | ( | const QQuickIcon & | other | ) | const |
Definition at line 55 of file qquickicon.cpp.
References QQuickIconPrivate::cache, QQuickIconPrivate::color, QQuickIconPrivate::height, QQuickIconPrivate::name, other(), QQuickIconPrivate::resolvedSource, QQuickIconPrivate::source, and QQuickIconPrivate::width.
Here is the call graph for this function:| void QQuickIcon::resetCache | ( | ) |
Definition at line 222 of file qquickicon.cpp.
References QQuickIconPrivate::cache, QExplicitlySharedDataPointer< T >::detach(), and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:| void QQuickIcon::resetColor | ( | ) |
Definition at line 200 of file qquickicon.cpp.
References QQuickIconPrivate::color, QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::resolveMask, and Qt::transparent.
Here is the call graph for this function:| void QQuickIcon::resetHeight | ( | ) |
Definition at line 178 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::height, and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:| void QQuickIcon::resetName | ( | ) |
Definition at line 91 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::name, and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:| void QQuickIcon::resetSource | ( | ) |
Definition at line 114 of file qquickicon.cpp.
References QUrl::clear(), QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::resolvedSource, QQuickIconPrivate::resolveMask, and QQuickIconPrivate::source.
Here is the call graph for this function:| void QQuickIcon::resetWidth | ( | ) |
Definition at line 156 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::resolveMask, and QQuickIconPrivate::width.
Here is the call graph for this function:| QQuickIcon QQuickIcon::resolve | ( | const QQuickIcon & | other | ) | const |
Definition at line 229 of file qquickicon.cpp.
References QQuickIconPrivate::cache, QQuickIconPrivate::CacheResolved, QQuickIconPrivate::color, QQuickIconPrivate::ColorResolved, QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::height, QQuickIconPrivate::HeightResolved, QQuickIconPrivate::name, QQuickIconPrivate::NameResolved, other(), QQuickIconPrivate::resolvedSource, QQuickIconPrivate::resolveMask, QQuickIconPrivate::source, QQuickIconPrivate::SourceResolved, QQuickIconPrivate::width, and QQuickIconPrivate::WidthResolved.
Referenced by QQuickAbstractButtonPrivate::updateEffectiveIcon().
Here is the call graph for this function:
Here is the caller graph for this function:| QUrl QQuickIcon::resolvedSource | ( | ) | const |
Definition at line 122 of file qquickicon.cpp.
References QUrl::isEmpty(), QQuickIconPrivate::resolvedSource, and QQuickIconPrivate::source.
Referenced by QQuickIconLabelPrivate::createImage(), and QQuickIconLabelPrivate::syncImage().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickIcon::setCache | ( | bool | cache | ) |
Definition at line 212 of file qquickicon.cpp.
References QQuickIconPrivate::cache, cache, QQuickIconPrivate::CacheResolved, QExplicitlySharedDataPointer< T >::detach(), and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:Definition at line 190 of file qquickicon.cpp.
References QQuickIconPrivate::color, color, QQuickIconPrivate::ColorResolved, QExplicitlySharedDataPointer< T >::detach(), and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:| void QQuickIcon::setHeight | ( | int | height | ) |
Definition at line 168 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::height, height, QQuickIconPrivate::HeightResolved, and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:Definition at line 81 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::name, name, QQuickIconPrivate::NameResolved, and QQuickIconPrivate::resolveMask.
Here is the call graph for this function:Definition at line 103 of file qquickicon.cpp.
References QUrl::clear(), QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::resolvedSource, QQuickIconPrivate::resolveMask, QQuickIconPrivate::source, source, and QQuickIconPrivate::SourceResolved.
Here is the call graph for this function:| void QQuickIcon::setWidth | ( | int | width | ) |
Definition at line 146 of file qquickicon.cpp.
References QExplicitlySharedDataPointer< T >::detach(), QQuickIconPrivate::resolveMask, QQuickIconPrivate::width, width, and QQuickIconPrivate::WidthResolved.
Here is the call graph for this function:| QUrl QQuickIcon::source | ( | ) | const |
Definition at line 98 of file qquickicon.cpp.
References QQuickIconPrivate::source.
| int QQuickIcon::width | ( | ) | const |
Definition at line 141 of file qquickicon.cpp.
References QQuickIconPrivate::width.
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by QQuickIconLabelPrivate::createImage(), setCache(), and QQuickIconLabelPrivate::syncImage().
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by QQuickIconLabelPrivate::createImage(), setColor(), and QQuickIconLabelPrivate::syncImage().
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by QQuickIconLabelPrivate::createImage(), setHeight(), and QQuickIconLabelPrivate::syncImage().
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by QQuickIconLabelPrivate::createImage(), setName(), and QQuickIconLabelPrivate::syncImage().
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by setSource().
|
readwrite |
Definition at line 85 of file qquickicon_p.h.
Referenced by QQuickIconLabelPrivate::createImage(), setWidth(), and QQuickIconLabelPrivate::syncImage().