mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-26 13:44:34 +00:00
fix readme
This commit is contained in:
parent
cdeab90d82
commit
61b683c059
2
CMake
2
CMake
@ -1 +1 @@
|
||||
Subproject commit b32cca62386311ec32f16c0bbf13df446ace5873
|
||||
Subproject commit cd05493c3a43b04f26c3e3432df4283eb4509d8c
|
14
README.md
14
README.md
@ -9,7 +9,7 @@ Simple Qml notification service for qml applications.
|
||||
* git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
|
||||
* git submodule update --init --recursive
|
||||
* Include in your pro file the pri file of Qt-Secret library
|
||||
``` qmake
|
||||
```qmake
|
||||
include($$PWD/SimpleQmlNotify/QmlNotify.pri)
|
||||
```
|
||||
* Rebuild yuor project
|
||||
@ -21,7 +21,7 @@ Simple Qml notification service for qml applications.
|
||||
* git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
|
||||
* git submodule update --init --recursive
|
||||
* Include in your CMakeLists.txt file the main CMakeLists.txt file of QSimpleQmlNotify library
|
||||
``` cmake
|
||||
```cmake
|
||||
include(QmlNotyfyService)
|
||||
```
|
||||
* Rebuild yuor project
|
||||
@ -43,7 +43,7 @@ Simple Qml notification service for qml applications.
|
||||
### Notification
|
||||
|
||||
#### CPP
|
||||
``` cpp
|
||||
```cpp
|
||||
#include <qmlnotifyservice.h>
|
||||
|
||||
int main() {
|
||||
@ -57,7 +57,7 @@ Simple Qml notification service for qml applications.
|
||||
|
||||
#### QML
|
||||
|
||||
``` qml
|
||||
```qml
|
||||
|
||||
NotificationServiceView {
|
||||
anchors.fill: parent;
|
||||
@ -69,7 +69,7 @@ Simple Qml notification service for qml applications.
|
||||
|
||||
|
||||
#### CPP
|
||||
``` cpp
|
||||
```cpp
|
||||
#include <qmlnotifyservice.h>
|
||||
|
||||
int main() {
|
||||
@ -92,7 +92,7 @@ Simple Qml notification service for qml applications.
|
||||
|
||||
#### QML
|
||||
|
||||
``` qml
|
||||
```qml
|
||||
|
||||
NotificationServiceView {
|
||||
anchors.fill: parent;
|
||||
@ -124,4 +124,4 @@ if(!QuasarAppUtils::Locales::init(locale, {":/qmlNotify_languages/"})) {
|
||||
```
|
||||
|
||||
Or you can manually load needed qm file.
|
||||
All qm files located in qmlNotify_languages folder.
|
||||
All qm files located in qmlNotify_languages folder.
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Message</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>メッセージ</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Cообщение</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>İleti</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Повідомлення</translation>
|
||||
</message>
|
||||
|
Loading…
x
Reference in New Issue
Block a user