AssociateListItemWidget

Widget displaying an associate entry with trust, channels, and status.

Declared in src/libs/libpair/pair/ui/AssociateListItemWidget.hpp
Inherits QWidget
Group widgets

Detailed description

AssociateListItemWidget shows associate information including name, type, trust level icon, channel bar, connection status indicator, and latency information.

AssociateListItemWidget

See also TrustIconWidget, ChannelBarWidget, ConnectionStatusIndicator.

Property documentation

associateName property

associateName : QString

This property holds the name that the row shows for the associate.

The row sets it from its associate. When the associate has no name, the row uses the identifier of the associate. A change updates the name label and emits associateNameChanged().

Access functions:

  • QString associateName() const
  • void setAssociateName(const QString &name)

Notifier signal:

  • void associateNameChanged(const QString &name)

associateType property

associateType : QString

This property holds the node type that the row shows for the associate, as text.

The row sets it from the node type of its associate. A change updates the type label and emits associateTypeChanged().

Access functions:

  • QString associateType() const
  • void setAssociateType(const QString &type)

Notifier signal:

  • void associateTypeChanged(const QString &type)

trustLevel property

trustLevel : TrustLevel

This property holds the trust level that the trust icon of the row shows.

The value is kept by the embedded TrustIconWidget, so the property reads and writes that widget. Before configure() creates the icon, the value is TrustLevel::IGNORE and a write has no effect. A change emits trustLevelChanged(). The row sets it from its associate.

Access functions:

  • TrustLevel trustLevel() const
  • void setTrustLevel(TrustLevel level)

Notifier signal:

  • void trustLevelChanged(TrustLevel level)