Qt ForkAwesome 0.2.3
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 calling 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. | |
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 calling 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. |
|
constexpr |
Returns whether icon is not Icon::Invalid.
icon.h
just for this check.