46 mProvideActiveTool(false),
47 mActiveToolSelected(false),
48 mActiveToolName(
"<Active Tool>")
52 mValueName =
"Select a tool";
73 if(value == mActiveToolName)
75 mActiveToolSelected =
true;
79 mActiveToolSelected =
false;
81 if(mTool && value==mTool->getUid())
83 ToolPtr temp = mTrackingService->getTool(value);
94 if(mActiveToolSelected)
95 return mActiveToolName;
98 return mTool->getUid();
108 if(mActiveToolSelected)
109 return mTrackingService->getActiveTool();
119 if(mProvideActiveTool)
120 retval << mActiveToolName;
122 for (TrackingService::ToolMap::iterator iter=tools.begin(); iter!=tools.end(); ++iter)
123 retval << iter->second->getUid();
129 if(
internal == mActiveToolName)
130 return mActiveToolName;
131 ToolPtr tool = mTrackingService->getTool(
internal);
141 mProvideActiveTool = on;
146 mActiveToolSelected =
true;
QString qstring_cast(const T &val)
boost::shared_ptr< class TrackingService > TrackingServicePtr
void changed()
emit when the underlying data value is changed: The user interface will be updated.
std::map< QString, ToolPtr > ToolMap
cxLogicManager_EXPORT TrackingServicePtr trackingService()
boost::shared_ptr< class Tool > ToolPtr