Plot API not loaded for plots created in Designerplugins.

Create issue
Issue #117 new
thomas kipp created an issue

If plots are only created in a designerplugin at runtime like “new Itom1DQwtPlot()”, the plot API is not loaded.

It would be useful if a (re-)push of the api could be triggered.

Comments (2)

  1. M. Gronle

    Information: The current situation is, that the API functions of itom (both the core API as well as plot APIs) are pushed from itom to all widgets, that are derived from ito::AbstractApiWidget or ito::AbstractFigure if a plot is created or if an ui file is parsed and displayed. If a widget is created at a later time during runtime,
    this push is currently not done. Therefore the API functions are currently not pushed to new widgets, that are derived from these classes.

    The relevant methods are:

    void UiOrganizer::setApiPointersToWidgetAndChildren(QWidget *widget)

    void DesignerWidgetOrganizer::setApiPointersToWidgetAndChildren(QWidget *widget)

  2. Log in to comment