Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gepetto-viewer-corba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
gepetto-viewer-corba
Commits
8cc5101d
Commit
8cc5101d
authored
8 years ago
by
hdallard
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation
parent
d18798e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/gepetto/gui/mainwindow.hh
+23
-2
23 additions, 2 deletions
include/gepetto/gui/mainwindow.hh
with
23 additions
and
2 deletions
include/gepetto/gui/mainwindow.hh
+
23
−
2
View file @
8cc5101d
...
...
@@ -149,16 +149,37 @@ signals:
/// Open the plugin manager dialog.
void
onOpenPluginManager
();
/// Register an object slot that can be accessible without knowing the class definition.
/// \param slot slot's name
/// \param obj object's instance
void
registerSlot
(
const
char
*
slot
,
QObject
*
obj
);
/// Get the instance of object which holds the slot.
/// \param slot slot's name
/// \return object's instance
QObject
*
getFromSlot
(
const
char
*
slot
);
/// Connect an object's signal to a registered slot.
/// \param slot slot's name
/// \param signal signal's name
/// \param obj object's instance
void
connectSlot
(
const
char
*
slot
,
const
char
*
signal
,
QObject
*
obj
);
/// Register an action on which users can change the shortcut to trigger it.
/// \param widgetName widget's name that handle the action
/// \param actionName action's name
/// \param action action to modify
void
registerShortcut
(
QString
widgetName
,
QString
actionName
,
QAction
*
action
);
/// Register an action on which users can change the shortcut to trigger it.
/// User action->text() as action name.
/// \param widgetName widget's name that handle the action
/// \param action action to modify
void
registerShortcut
(
QString
widgetName
,
QAction
*
action
);
/// \}
void
registerShortcut
(
QString
widgetName
,
QString
actionName
,
QAction
*
action
);
void
registerShortcut
(
QString
widgetName
,
QAction
*
action
);
private
slots
:
OSGWidget
*
onCreateView
(
QString
name
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment