Pascal Precht
7cf893113b
feat(StatusModal): add ability to set elide config of header titles
...
There are now two new properties in `StatusModalHeaderSettings`:
- `titleElide`
- `subTitleElide`
These can be used to configure the `elide` property of both header titles.
The default values for both of them is `Text.ElideRight`.
Closes #353
2022-09-21 18:20:03 +02:00
Pascal Precht
4c5b8a79d6
fix(StatusModal): ensure header and subtitles elide if needed
...
Closes #256
2022-09-21 18:20:03 +02:00
Pascal Precht
97dbebc8aa
feat(StatusModal): introduce support for identicons and letter identicons
...
Usage:
```qml
StatusModal {
header.image.isIdenticon: ...
// or
header.icon.isLetterIdenticon: ...
header.icon.background.color: ...
}
```
Closes #269
2022-09-21 18:20:03 +02:00
Pascal Precht
12b35ba88c
feat(StatusModal): expose loaded content
...
As discussed in #237 , this is needed for consumers to access content
children from outside `content`.
Usage:
```qml
StatusModal {
id: modal
content: StatusBaseText {
text: "Foo"
}
rightButtons: [
StatusButton {
text: "Change text"
onClicked: {
modal.contentComponent.text = "Bar"
}
}
]
}
```
Fixes #237
2022-09-21 18:20:03 +02:00
B.Melnik
eab95c1c7b
feat(Popups): Add StatusModal
2022-09-21 18:20:02 +02:00