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.
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:
QStringassociateName() constvoidsetAssociateName(constQString&name)
Notifier signal:
voidassociateNameChanged(constQString&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:
QStringassociateType() constvoidsetAssociateType(constQString&type)
Notifier signal:
voidassociateTypeChanged(constQString&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:
TrustLeveltrustLevel() constvoidsetTrustLevel(TrustLevellevel)
Notifier signal:
voidtrustLevelChanged(TrustLevellevel)