UiDocument — Aggregates the components of the document representation UI.
class UiDocument (UiItemSernaApi::UiItem) : # construct/copy/destruct __init__(SernaApiBase * = 0) __del__() # public member functions UiActionSet actionSet() PropertyNode addItemMaker(const SString &, UiItemMaker *, const SString & = SString()) UiItem makeItem(const SString &, const PropertyNode &) const None 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.