Skip to main content

QCustomMessageStatus

QCustomMessageStatus

A delivery-state tick indicator.

The little "read receipt" ticks next to an outgoing message's time: sending -> a small clock sent -> one check delivered -> two checks read -> two checks in the accent/read colour The ticks are PAINTED (crisp at any size, no glyph/asset) and the colours are qproperties so they track the theme. Set the state with the status Designer property or setStatus("read").

At a glance​

TierFree (GPLv3)
Importfrom Custom_Widgets.QCustomMessageStatus import QCustomMessageStatus
Qt DesignerYes — drag it from the palette

Quick start​

from Custom_Widgets.QCustomMessageStatus import QCustomMessageStatus

widget = QCustomMessageStatus()

Dark theme​

Colours come from the design tokens, so the widget follows the app theme with no extra work.

QCustomMessageStatus in dark theme

Properties​

Every property below is settable in code and in Qt Designer.

PropertyTypeDefault
statusenum: sending/sent/delivered/read``read
tickColorcolor#99a0b0
readColorcolor#1b74e4
tickSizeint13

Methods​

MethodDescription
readColor(*args, **kwargs)Read color.
setStatus(s)Set the status.
status(*args, **kwargs)Status.
tickColor(*args, **kwargs)Tick color.
tickSize(*args, **kwargs)Tick size.

Theming​

Colours come from the design tokens, so they follow the active theme. Roles used: accent, on-surface-muted.

See Design tokens.

QCustomChatBubble · QCustomChatDivider · QCustomChatInput · QCustomChatList · QCustomChatListItem · QCustomChatThread · QCustomReactionBar · QCustomTypingIndicator