Skip to main content

QCustomChip

QCustomChip

/ QCustomChipGroup - compact tags / filter chips.

A chip is a small rounded label, optionally closable (x) and/or selectable (filter/choice chip). QCustomChipGroup lays chips out in a wrapping flow with optional single- or multi-select. Tokenized.

At a glance

TierFree (GPLv3)
Importfrom Custom_Widgets.QCustomChip import QCustomChip
Qt DesignerCode only

Quick start

from Custom_Widgets.QCustomChip import QCustomChip

widget = QCustomChip()

Dark theme

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

QCustomChip in dark theme

Signals

Signal
clicked()
removed()
toggled(bool)

Methods

MethodDescription
clicked(...)Clicked.
data()Data.
isSelected()Return whether the widget is selected.
removed(...)Removed.
setSelected(selected)Set the selected.
text()Text.
toggled(...)Toggled.

AnalogGaugeWidget · QCustomAgendaList · QCustomAlert · QCustomAvatar · QCustomAvatarGroup · QCustomBadge · QCustomCard · QCustomClockLabel