ChatMessageModel
List model holding finalized chat messages for display in a QListView.
| Declared in | src/libs/libwidgets/widgets/chat/ChatMessageModel.hpp |
| Inherits | QAbstractListModel |
| Group | libwidgets |
Detailed description
Stores only finalized (non-streaming) messages. Each row exposes its role, timestamp, content blocks, and metadata through custom data roles. Streaming content is handled externally by ChatStreamWidget.
See also ChatStreamWidget, ChatBubbleDelegate, ChatMessage.