ActionItem :: ActionItem - Create action item
The ActionItem object refers to action items defined for the control passed as control context in rControlContext . When a resource name is passed in sResource , the ActionItem object manages all action items with the resource name. Passing an action name in sAction , the ActionItem object manages all action items matching the action name. Passing both parameters, only action items matching both names are managed.
In order not to pass one of the parameters, an empty string value ( String() ) should be passed.
Implementation overview
- - Title unknown
ActionItem :: ActionItem ( cControlContext, sAction, sResource ) - Create unselected action item
ActionItem :: ActionItem ( cControlContext ) - Create action item copy
ActionItem :: ActionItem ( cActionItem ) - Create empty action item
ActionItem :: ActionItem (  ) - Create action items by resource name
ActionItem :: ActionItem ( cControlContext, sResource )
Implementation details
-
- Title unknown
ActionItem  :: ActionItem ( odabagui::ControlContext &cControlContext, odaba::String &sAction, odaba::String &sResource )
- cControlContext
- Control context
ControlContext classes are created for field ( ADK_Field ) as well as for control ( ADK_FieldControl ) resources.
When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).
- sAction - Action name
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
to list
- cControlContext
- Control context
-
Create unselected action item
ActionItem  :: ActionItem ( odabagui::ControlContext &cControlContext )
The function creates an empty action item for the context passed in cControlContext .
- cControlContext
- Control context
ControlContext classes are created for field ( ADK_Field ) as well as for control ( ADK_FieldControl ) resources.
When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).
to list
- cControlContext
- Control context
-
Create action item copy
ActionItem  :: ActionItem ( odabagui::ActionItem &cActionItem )
- cActionItem
- Action items
The action items handler allows managing a number of action items identified by resource and/or action name.
to list
- cActionItem
- Action items
-
Create empty action item
ActionItem  :: ActionItem (  )
The action creates an action item not associated with a control.
to list
-
Create action items by resource name
ActionItem  :: ActionItem ( odabagui::ControlContext &cControlContext, odaba::String &sResource )
The constructor creates an action item by resource name (action control). The action name is taken from the resource. Action items created by resource name refer to all action items referring to the corresponding action control (menu items, tool bar buttons etc).
- cControlContext
- Control context
ControlContext classes are created for field ( ADK_Field ) as well as for control ( ADK_FieldControl ) resources.
When referring a field resource, the field context will overload the context implemented for the subordinated field control (control context).
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
to list
- cControlContext
- Control context