Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
campvis-public
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CAMP
campvis-public
Commits
37ac01ea
Commit
37ac01ea
authored
Jun 30, 2014
by
CAMP C++ Builder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core API extension: ButtonProperty now forwards click event to shared properties
parent
b347ef9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
core/properties/buttonproperty.cpp
core/properties/buttonproperty.cpp
+7
-0
No files found.
core/properties/buttonproperty.cpp
View file @
37ac01ea
...
...
@@ -37,6 +37,13 @@ namespace campvis {
}
void
ButtonProperty
::
click
()
{
//pass the click on to all shared button that are connected
for
(
auto
it
=
_sharedProperties
.
begin
(),
end
=
_sharedProperties
.
end
();
it
!=
end
;
++
it
)
{
ButtonProperty
*
btn
=
dynamic_cast
<
ButtonProperty
*>
(
*
it
);
if
(
btn
)
btn
->
click
();
}
s_clicked
.
emitSignal
();
s_changed
.
emitSignal
(
this
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment