A window can be placed into a window container using the void Tui::ZWindowFacet::setContainer(ZWindowContainer *container) function. The window container or cooperating code will then be responsible for placement of the window and can add items to the window’s system menu.

class Tui::ZWindowContainer : public QObject

Base class for window containers.

QVector<Tui::ZMenuItem> containerMenuItems() const

Reimplement this to add additional menu items to the windows system menu.

The base class always returns an empty list.