PlanStepList

The steps of a task plan: one fixed-height row per step.

Inherits QListView

Declared in src/libs/libwidgets/widgets/chat/PlanStepList.hpp.

Detailed description

A row shows the step's mark, its number, its task name and its danger pill, in columns that line up. A failed step's message is a row of its own under the step. Every row has the same height, so the list's height is its row count times rowHeight() — the chat row that holds it is measured with the same numbers (opal-chat-surface §OCSD-12).

The rows were a rich-text table in one QLabel. The table was laid out again on every step tick, and a row measured from different text than it drew came out short (WFD-RL-62). A status change here repaints the one row it changed.

In this section