#include <tool_manager.h>
|
bool | toKey (QString const &str, uint &key_out) |
|
Definition at line 48 of file tool_manager.h.
◆ ToolManager()
◆ ~ToolManager()
rviz::ToolManager::~ToolManager |
( |
| ) |
|
|
override |
◆ addTool()
Tool * rviz::ToolManager::addTool |
( |
const QString & |
tool_class_lookup_name | ) |
|
Create a tool by class lookup name, add it to the list, and return it.
Definition at line 223 of file tool_manager.cpp.
◆ closeTool
void rviz::ToolManager::closeTool |
( |
| ) |
|
|
privateslot |
Deactivates the current tool and sets the default tool.
Definition at line 218 of file tool_manager.cpp.
◆ configChanged
void rviz::ToolManager::configChanged |
( |
| ) |
|
|
signal |
Emitted when anything changes which will change the saved config file contents.
◆ getCurrentTool()
Tool* rviz::ToolManager::getCurrentTool |
( |
| ) |
|
|
inline |
◆ getDefaultTool()
Tool* rviz::ToolManager::getDefaultTool |
( |
| ) |
|
|
inline |
◆ getFactory()
◆ getPropertyModel()
◆ getTool()
Tool * rviz::ToolManager::getTool |
( |
int |
index | ) |
|
Return the tool at a given index in the Tool list. If index is less than 0 or greater than the number of tools, this will fail an assertion.
Definition at line 194 of file tool_manager.cpp.
◆ getToolClasses()
QStringList rviz::ToolManager::getToolClasses |
( |
| ) |
|
◆ handleChar()
void rviz::ToolManager::handleChar |
( |
QKeyEvent * |
event, |
|
|
RenderPanel * |
panel |
|
) |
| |
◆ initialize()
void rviz::ToolManager::initialize |
( |
| ) |
|
◆ load()
void rviz::ToolManager::load |
( |
const Config & |
config | ) |
|
◆ numTools()
int rviz::ToolManager::numTools |
( |
| ) |
|
|
inline |
◆ refreshTool()
void rviz::ToolManager::refreshTool |
( |
Tool * |
tool | ) |
|
Triggers redrawing the tool's icon/text in the toolbar.
Definition at line 298 of file tool_manager.cpp.
◆ removeAll()
void rviz::ToolManager::removeAll |
( |
| ) |
|
◆ removeTool()
void rviz::ToolManager::removeTool |
( |
int |
index | ) |
|
◆ save()
void rviz::ToolManager::save |
( |
Config |
config | ) |
const |
◆ setCurrentTool()
void rviz::ToolManager::setCurrentTool |
( |
Tool * |
tool | ) |
|
◆ setDefaultTool()
void rviz::ToolManager::setDefaultTool |
( |
Tool * |
tool | ) |
|
◆ toKey()
bool rviz::ToolManager::toKey |
( |
QString const & |
str, |
|
|
uint & |
key_out |
|
) |
| |
|
private |
◆ toolAdded
void rviz::ToolManager::toolAdded |
( |
Tool * |
| ) |
|
|
signal |
Emitted by addTool() after the tool is added to the list of tools.
◆ toolChanged
void rviz::ToolManager::toolChanged |
( |
Tool * |
| ) |
|
|
signal |
◆ toolRefreshed
void rviz::ToolManager::toolRefreshed |
( |
Tool * |
| ) |
|
|
signal |
Emitted by refreshTool() to gedraw the tool's icon in the toolbar'.
◆ toolRemoved
void rviz::ToolManager::toolRemoved |
( |
Tool * |
| ) |
|
|
signal |
◆ updatePropertyVisibility
void rviz::ToolManager::updatePropertyVisibility |
( |
Property * |
property | ) |
|
|
privateslot |
If property has children, it is added to the tool property tree, and if it does not, it is removed.
Definition at line 202 of file tool_manager.cpp.
◆ context_
◆ current_tool_
Tool* rviz::ToolManager::current_tool_ |
|
private |
◆ default_tool_
Tool* rviz::ToolManager::default_tool_ |
|
private |
◆ factory_
◆ property_tree_model_
◆ shortkey_to_tool_map_
std::map<int, Tool*> rviz::ToolManager::shortkey_to_tool_map_ |
|
private |
◆ tools_
QList<Tool*> rviz::ToolManager::tools_ |
|
private |
The documentation for this class was generated from the following files:
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:04