2021-06-29 09:55:41 +00:00
|
|
|
# StatusQ
|
2021-04-30 16:23:57 +00:00
|
|
|
|
2021-06-29 09:55:41 +00:00
|
|
|
> An emerging reusable QML UI component library for Status applications.
|
2021-05-05 07:52:58 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
StatusQ introduces a module namespace that semantically groups components so they can be easily imported.
|
|
|
|
These modules are:
|
|
|
|
|
|
|
|
- [StatusQ.Core](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Core/qmldir)
|
|
|
|
- [StatusQ.Core.Theme](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Core/Theme/qmldir)
|
2021-05-06 09:20:50 +00:00
|
|
|
- [StatusQ.Components](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Controls/qmldir)
|
2021-05-07 10:58:06 +00:00
|
|
|
- [StatusQ.Controls](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Components/qmldir)
|
2021-05-20 09:23:59 +00:00
|
|
|
- [StatusQ.Layout](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Layout/qmldir)
|
2021-06-22 09:08:29 +00:00
|
|
|
- [StatusQ.Platform](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Platform/qmldir)
|
2021-06-02 10:41:31 +00:00
|
|
|
- [StatusQ.Popups](https://github.com/status-im/StatusQ/blob/master/src/StatusQ/Popups/qmldir)
|
2021-05-05 07:52:58 +00:00
|
|
|
|
|
|
|
Provided components can be viewed and tested in the [sandbox application](#viewing-and-testing-components) that comes with this repository.
|
|
|
|
Other than that, modules and components can be used as expected.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
import Status.Core 0.1
|
|
|
|
import Status.Controls 0.1
|
|
|
|
|
|
|
|
StatusInput {
|
|
|
|
...
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2021-06-29 10:49:41 +00:00
|
|
|
More Documentation available on the [wiki](https://hackmd.io/@status-desktop/B1naRjxh_/%2FwFtiXvOiQqCdw2lk6gbOLA)
|