.. index:: pair: class; EE::UI::UIModelCreator .. _doxid-class_e_e_1_1_u_i_1_1_u_i_model_creator: class EE::UI::UIModelCreator ============================ .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class UIModelCreator { public: // typedefs typedef std::function`> const std::string&, :ref:`UIWidget`*)> :target:`ModelCreatorCb`; // methods static std::shared_ptr<:ref:`Models::Model`> :target:`createFromName`(const std::string& name, :ref:`UIWidget`* widget = nullptr); static void :target:`addModelCreator`(const std::string& name, const :ref:`ModelCreatorCb`& cb); static void :target:`removeModelCreator`(const std::string& name); static bool :target:`existsModelCreator`(const std::string& name); static std::vector :target:`getModelNames`(); };