Skip to main content

QCustomTypingIndicator

QCustomTypingIndicator

The animated "… is typing" dots.

Three dots that bounce/fade in sequence, painted with QPainter (no assets), optionally inside a chat-bubble-style pill. Call start()/stop() (or set the running property) to animate; colour and dot size are qproperties. Designer-droppable so it drops straight into a thread.

At a glance

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

Quick start

from Custom_Widgets.QCustomTypingIndicator import QCustomTypingIndicator

widget = QCustomTypingIndicator()

Dark theme

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

QCustomTypingIndicator in dark theme

Properties

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

PropertyTypeDefault
runningboolTrue
dotColorcolor#8a93a6
dotSizeint7
bubbleboolTrue
bubbleColorcolor#eef1f5

Methods

MethodDescription
bubble(*args, **kwargs)Bubble.
bubbleColor(*args, **kwargs)Bubble color.
dotColor(*args, **kwargs)Dot color.
dotSize(*args, **kwargs)Dot size.
running(*args, **kwargs)Running.
start()Start.
stop()Stop.

Theming

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

See Design tokens.

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