CapabilityDescriptionWidget

Widget showing trust level capabilities in human-readable form.

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

Detailed description

CapabilityDescriptionWidget displays a text description of what actions are permitted at each trust level, helping users understand the implications of their trust settings.

CapabilityDescriptionWidget

See also TrustSelectorWidget.

Property documentation

trustLevel property

trustLevel : TrustLevel

This property holds the trust level whose permitted actions the widget describes.

A change sets the text of the label: the actions that TRUST permits, or a sentence that says a BLOCK or IGNORE associate cannot interact with the node. A change emits trustLevelChanged(). The setter has no effect before configure(). The default is IGNORE.

Access functions:

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

Notifier signal:

  • void trustLevelChanged(TrustLevel level)