Skip to main content

QCustomChipGroup

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 QCustomChipGroup
Qt DesignerYes — drag it from the palette

Quick start​

from Custom_Widgets.QCustomChip import QCustomChipGroup

widget = QCustomChipGroup()

Signals​

Signal
chipRemoved(PyObject)
selectionChanged(QVariantList)

Methods​

MethodDescription
addChip(text, data=None, closable=None, selectable=None)Add a chip.
chipRemoved(...)Chip removed.
chips()Chips.
count()Count.
selectedChips()Selected chips.
selectedData()Selected data.
selectionChanged(...)Selection changed.
setChips(texts)Set the chips.

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