LegendManager ================= .. currentmodule:: axioma.gui .. class:: LegendManager Менеджер легенд Унаследован от: :class:`~PyQt5.QtCore.QObject` .. py:method:: LegendManager(parent=None) Конструктор :param parent: Родительский объект :type parent: :class:`~PyQt5.QtCore.QObject` или :any:`None` .. py:method:: append(legendGroup) Добавление контейнера с элементами легенды :param legendGroup: Контейнер :type legendGroup: :class:`~axioma.render.LegendItemGroup` .. py:method:: remove(legendGroup) Удаление существующего контейнера с элементами легенды :param legendGroup: Контейнер :type legendGroup: :class:`~axioma.render.LegendItemGroup` .. py:method:: count() Количество контейнеров с элементами легенды :return: Количество :rtype: :class:`int` .. py:method:: legends() Возвращает список контейнеров :return: Список :rtype: :class:`list` [ :class:`~axioma.render.LegendItemGroup` ] .. method:: itemRemoved(legendGroup) [signal] Сигнал испускается при удалении элемента из менеджера :param legendGroup: Удаляемый элемент :type legendGroup: :class:`~axioma.render.LegendItemGroup`