Port to Integral

This commit is contained in:
Tobias Fella
2025-03-22 17:10:33 +01:00
parent f153e57fdb
commit 073e756364
44 changed files with 3212 additions and 3526 deletions

View File

@@ -38,32 +38,32 @@ QQC2.ScrollView {
// HACK: Hide unnecessary horizontal scrollbar (https://bugreports.qt.io/browse/QTBUG-83890)
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
ListView {
clip: true
verticalLayoutDirection: ListView.BottomToTop
model: RoomManager.mediaMessageFilterModel
delegate: DelegateChooser {
role: "type"
DelegateChoice {
roleValue: MediaMessageFilterModel.Image
delegate: MessageDelegate {
alwaysFillWidth: true
cardBackground: false
room: root.currentRoom
}
}
DelegateChoice {
roleValue: MediaMessageFilterModel.Video
delegate: MessageDelegate {
alwaysFillWidth: true
cardBackground: false
room: root.currentRoom
}
}
}
}
// ListView {
// clip: true
// verticalLayoutDirection: ListView.BottomToTop
//
// model: RoomManager.mediaMessageFilterModel
//
// delegate: DelegateChooser {
// role: "type"
//
// DelegateChoice {
// roleValue: MediaMessageFilterModel.Image
// delegate: MessageDelegate {
// alwaysFillWidth: true
// cardBackground: false
// room: root.currentRoom
// }
// }
//
// DelegateChoice {
// roleValue: MediaMessageFilterModel.Video
// delegate: MessageDelegate {
// alwaysFillWidth: true
// cardBackground: false
// room: root.currentRoom
// }
// }
// }
// }
}