Apply all the required styling in cpp

Apply all the required styling to show links, table, spoilers, etc in cpp. This also updates the method of revealing spoilers so now you can click to reveal then click again to hide.
This commit is contained in:
James Graham
2025-08-20 17:10:44 +01:00
parent 4498d4457b
commit 0d63fce59a
9 changed files with 297 additions and 107 deletions

View File

@@ -73,6 +73,8 @@ QQC2.Control {
*/
signal showMessageMenu
Message.contentFilterModel: messageContentFilterModel
contentItem: RowLayout {
Kirigami.Icon {
source: "content-loading-symbolic"
@@ -87,6 +89,7 @@ QQC2.Control {
Repeater {
id: contentRepeater
model: MessageContentFilterModel {
id: messageContentFilterModel
showAuthor: root.showAuthor
sourceModel: root.contentModel
}