1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
.. _ZWindowContainer:
ZWindowContainer
================
A window can be placed into a window container using the
:cpp:func:`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.
.. cpp:class:: Tui::ZWindowContainer : public QObject
Base class for window containers.
.. rst-class:: tw-virtual
.. cpp:function:: 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.
|