PairingListWidget

Widget displaying the list of paired and discovered nodes.

Inherits QWidget
Group pair

Declared in src/libs/libpair/pairing/list/PairingListWidget.hpp.

Detailed description

PairingListWidget provides a list view of paired associates with edit capabilities. It uses PairingListModel for data and a custom delegate for rendering list items with edit buttons.

See also PairingListModel, PairingEditButtonDelegate, PairingActivity.

Member function documentation

configure

void PairingListWidget::configure(QSharedPointer<AddressBook> book, NodeType type, QSharedPointer<DiscoveryClient> client)

Shows the associates of book, as a node of type sees them, and repaints the list when client discovers a node.

The widget takes what it shows, not a Node, so a host without a node can show it too (app-composition §AC-3.1). The pairing activities resolve the book and the client through their context.

In this section