|
Qt ForkAwesome 0.3.2
Library that bundles ForkAwesome for use within Qt applications
|
Contains classes provided by the QtForkAwesome library. More...
Classes | |
| class | Renderer |
| Allows rendering a QtForkAwesome::Icon (or an arbitrary QChar using an arbitrary font file). More... | |
Typedefs | |
| using | IconBaseType = std::remove_reference_t<decltype(QChar().unicode())> |
Enumerations | |
| enum class | Icon : IconBaseType { Invalid } |
| The Icon enum specifies a ForkAwesome icon for use with QtForkAwesome::Renderer::render(). More... | |
Functions | |
| constexpr bool | isIconValid (Icon icon) |
| Returns whether icon is not Icon::Invalid. | |
| QT_FORK_AWESOME_EXPORT Icon | iconFromId (const QString &id) |
| Returns a QtForkAwesome::Icon for the specified icon id. | |
| QT_FORK_AWESOME_EXPORT Icon | iconFromId (QStringView id) |
| Returns a QtForkAwesome::Icon for the specified icon id. | |
Contains classes provided by the QtForkAwesome library.
| using QtForkAwesome::IconBaseType = std::remove_reference_t<decltype(QChar().unicode())> |
|
strong |
The Icon enum specifies a ForkAwesome icon for use with QtForkAwesome::Renderer::render().
| Enumerator | |
|---|---|
| Invalid | invalid, used by QtForkAwesome::iconFromId() to indicate failure |
| Icon QtForkAwesome::iconFromId | ( | const QString & | id | ) |
Returns a QtForkAwesome::Icon for the specified icon id.
| id | Specifies the icon ID, that's the "name" used on https://forkaweso.me/Fork-Awesome/icons. |
| Icon QtForkAwesome::iconFromId | ( | QStringView | id | ) |
Returns a QtForkAwesome::Icon for the specified icon id.
| id | Specifies the icon ID, that's the "name" used on https://forkaweso.me/Fork-Awesome/icons. |
|
constexpr |
Returns whether icon is not Icon::Invalid.