Readme improvements

This commit is contained in:
Rick Blommers 2022-12-27 20:49:56 +01:00
parent 5364094fb6
commit 25466bfb43

View File

@ -1,4 +1,4 @@
# QtAwesome - Font Awesome support for Qt applications
# QtAwesome - Font Awesome for Qt Applications
QtAwesome is a library to add [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
icons to your [Qt application](http://qt-project.org/).
@ -10,10 +10,10 @@ icons to your [Qt application](http://qt-project.org/).
- [Installation Pro version](#installation-pro-version)
- [Basic Usage](#basic-usage)
- [Examples](#examples)
- [Example custom painter](#example-custom-painter)
- [Example Custom Painter](#example-custom-painter)
- [Default options](#default-options)
- [Known Issues And Workarounds](#known-issues-and-workarounds)
- [Summary Of Changes](#summary-of-changes)
- [Summary of Changes](#summary-of-changes)
- [Thanks](#thanks)
- [Contact](#contact)
- [License](#license)
@ -120,8 +120,7 @@ QLabel* label = new QLabel(QChar(fa::fa_github));
label->setFont(awesome->font(fa::fa_brands, 16));
```
## Example custom painter
## Example Custom Painter
This example registers a custom painter for supporting an custom icon named 'duplicate'
It simply draws 2 "plus marks".
@ -250,7 +249,7 @@ QAction* menuAction = new QAction("test");
menuAction->setIcon(awesome->icon(fa::fa_heart).pixmap(32,32));
```
## Summary Of Changes
## Summary of Changes
- The complete icons set is renewed and is generated
- Everything is namespaced in the `fa` namespace