Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added close() signal to Tool class #1051

Merged
merged 1 commit into from
Oct 17, 2016
Merged

Added close() signal to Tool class #1051

merged 1 commit into from
Oct 17, 2016

Conversation

RobertBlakeAnderson
Copy link
Contributor

I added a QT signal to the base Tool class, which allows the tool to request deactivation programmatically. Upon creation of a Tool by the ToolManager, this signal is connected to a new closedTool() slot which deactivates the current tool and activates the default tool.

For example, I have a tool with an associated GUI window. When the user closes this window via the X button, the tool gets deactivated.

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@wjwwood wjwwood merged commit 41ff989 into ros-visualization:kinetic-devel Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants