UiDocument — Aggregates the components of the document representation UI.
class UiDocument : public UiItemSernaApi::UiItem { public: // construct/copy/destruct UiDocument(SernaApiBase * = 0); ~UiDocument(); // public member functions UiActionSet actionSet() ; PropertyNode addItemMaker(const SString &, UiItemMaker *, const SString & = SString()) ; UiItem makeItem(const SString &, const PropertyNode &) const; void makeAndShow(const SString &, const PropertyNode &) ; };
UiDocument
public member functionsUiActionSet actionSet() ;
Returns UiActionSet - set of UI commands.
PropertyNode addItemMaker(const SString & itemClass, UiItemMaker * itemMaker, const SString & acceptableIn = SString()) ;
Add maker for the custom UI items. acceptableIn is a whitespace-separated list of item classes where itemClass should be allowed as a child.
UiItem makeItem(const SString & itemClass, const PropertyNode & properties) const;
UiItem factory.
Shortcut or makeItem(), append to document, attach and show.