Public Member Functions |
| | DtVrfToolbarConfigurationReader () |
| | CTOR.
|
| virtual | ~DtVrfToolbarConfigurationReader () |
| | DTOR.
|
| virtual void | readFrom (DtEnvironment *env, DtEnvValueSP root) |
| const ToolbarStateMap & | toolbarStates () const |
| | DtToolbarConfiguration () |
| | CTOR.
|
| virtual | ~DtToolbarConfiguration () |
| | DTOR.
|
| void | addToolbarPath (const DtToolbarPath &, int weight=-1) |
| | Adds the toolbar path (as well as its entire family).
|
| void | addToolbarPathAfter (const DtToolbarPath &newPath, const DtToolbarPath &relativeTo) |
| void | addToolbarPathBefore (const DtToolbarPath &newPath, const DtToolbarPath &relativeTo) |
| void | addMenuPath (const DtMenuPath &, int weight=-1) |
| | Adds the menu path (as well as its entire family).
|
| void | addMenuPathAfter (const DtMenuPath &newPath, const DtMenuPath &relativeTo) |
| void | addMenuPathBefore (const DtMenuPath &newPath, const DtMenuPath &relativeTo) |
| void | removeMenuPath (const DtMenuPath &newPath) |
| void | addConfiguration (const DtToolbarConfiguration &subConfiguration) |
| | Merges from an external configurations into this configuration.
|
| void | removeToolbarPath (const DtToolbarPath &) |
| | Remove the menu path.
|
| void | getRootPaths (ToolbarPathList &children) const |
| | Get all paths which have no parents (aka top level paths).
|
| void | getChildren (const DtToolbarPath &path, ToolbarPathList &children) const |
| void | sortChildren (ToolbarPathList &children) const |
| | Sort the list of children.
|
| int | getNewWeight () |
| | Get new weight.
|
| DtToolbarConfiguration & | operator= (const DtToolbarConfiguration &rhs) |
| const DtMenuConfiguration & | menuConfiguration () const |
| | Menu configuration that is specific to this toolbar configuration and can only be used with toolbars defined through this configuration.
|
| void | merge (const DtToolbarConfiguration &rhs) |
| | Merges in contents of supplied configuration, adding new paths.
|
| void | copyValuesFrom (const DtToolbarConfiguration &source) |
| | Uses the location, geometry, order, etc.
|
| void | updateState (const DtToolbarPath &tb, ToolbarState &state) |
| | Updates the state of the given toolbar path to the new one passed by argument.
|
| const ToolbarState * | state (const DtToolbarPath &tb) const |
| | Returns the UI state for the given toolbar path.
|
| const ToolbarStateMap & | states () const |
| | Returns the map with the UI state of each toolbar.
|
| void | setVisible (const DtToolbarPath &tb, bool isVisible) |
| | Set the myIsVisible state value for a toolbar path.
|
| | DtConfiguration (const std::string &name="") |
| | CTOR.
|
| | DtConfiguration (const DtConfiguration &) |
| | Copy CTOR.
|
| DtConfiguration & | operator= (const DtConfiguration &) |
| | Assignment OP.
|
| virtual | ~DtConfiguration () |
| | DTOR.
|
| virtual const std::string & | name () const |
| | Get the configuration name.
|
| virtual void | setName (const std::string &name) |
| | Set the configuration name.
|
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| | Find an optional parameters.
|
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| | Set an optional parameter.
|
| virtual void | setOptionalParameters (const ParameterMap &) |
| | Set an optional parameters.
|
| virtual void | removeOptionalParameter (const std::string &name) |
| | Remove an optional parameter.
|
| const ParameterMap & | optionalParameters () const |
| | Get the optional parameters.
|
Protected Member Functions |
| virtual void | createToolbarFromRow (DtEnvironment *env, DtEnvValueSP row) |
| virtual void | createToolbar (DtEnvironment *env, DtEnvValueSP toolbar) |
| template<class Archive > |
| void | _serialize (Archive &ar, const unsigned int version) |
| | Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive example: fstream fo("test.xml",std;:ios_base::out); xml_oarchive os(fo); DtConfiguration aConfig; aConfig.serialize(os,0);.
|
| bool | sortAbsolute (const DtToolbarPath &a, const DtToolbarPath &b) const |
This class will read a toolbar configuration from the given XML node.