ToolOptions Class Reference

tool options More...

#include <tool_options.hh>

Inherits PyQt4::QtCore::QObject.

Public Member Functions

 ToolOptions ()
void AddOption (ToolOption *option)
void AddOption (const String &group, ToolOption *option)
ToolOptionGroupFindGroupByName (const String &group_name) const
ToolOptionGetOption (const String &group_name, const String &key) const
ToolOptionGetOption (const String &key) const
const ToolOptionGroupsGetGroups () const

Detailed Description

tool options

Most tools are configurable. To simplify and standardise the process of providing widgets to configure these tools, these options are defined using an instance of ToolOptions. A widget to modify these options is then automaticallly created when the tool is added to the ToolManager.

Definition at line 40 of file tool_options.hh.


Constructor & Destructor Documentation

ToolOptions (  ) 

Member Function Documentation

void AddOption ( const String group,
ToolOption option 
)

Add option to group.

void AddOption ( ToolOption option  ) 

Add option to default option group.

ToolOptionGroup* FindGroupByName ( const String group_name  )  const
const ToolOptionGroups& GetGroups (  )  const
ToolOption* GetOption ( const String key  )  const
ToolOption* GetOption ( const String group_name,
const String key 
) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1