Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
aa502008
Commit
aa502008
authored
8 years ago
by
Mirko Wächter
Browse files
Options
Downloads
Patches
Plain Diff
hand unit gui: unique connections
parent
fc6ecaf7
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
source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitGuiPlugin.cpp
+18
-18
18 additions, 18 deletions
...RobotAPI/gui-plugins/HandUnitPlugin/HandUnitGuiPlugin.cpp
with
18 additions
and
18 deletions
source/RobotAPI/gui-plugins/HandUnitPlugin/HandUnitGuiPlugin.cpp
+
18
−
18
View file @
aa502008
...
...
@@ -15,9 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package
* @author
* @date
* @package
* @author
* @date
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
...
...
@@ -227,21 +227,21 @@ void HandUnitWidget::saveSettings(QSettings* settings)
void
HandUnitWidget
::
connectSlots
()
{
connect
(
ui
.
buttonPreshape
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
preshapeHand
()));
connect
(
ui
.
buttonOpenHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
openHand
()));
connect
(
ui
.
buttonCloseHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
closeHand
()));
connect
(
ui
.
buttonCloseThumb
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
closeThumb
()));
connect
(
ui
.
buttonRelaxHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
relaxHand
()));
//connect(ui.comboPreshapes, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(selectPreshape(const QString&)));
connect
(
ui
.
buttonSetJointAngles
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderIndexJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderIndexJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderMiddleJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderMiddleJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderRinky
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderPalm
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderThumbJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
horizontalSliderThumbJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
()));
connect
(
ui
.
buttonPreshape
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
preshapeHand
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
buttonOpenHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
openHand
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
buttonCloseHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
closeHand
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
buttonCloseThumb
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
closeThumb
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
buttonRelaxHand
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
relaxHand
())
,
Qt
::
UniqueConnection
);
//connect(ui.comboPreshapes, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(selectPreshape(const QString&))
, Qt::UniqueConnection
);
connect
(
ui
.
buttonSetJointAngles
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderIndexJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderIndexJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderMiddleJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderMiddleJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderRinky
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderPalm
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderThumbJ0
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
connect
(
ui
.
horizontalSliderThumbJ1
,
SIGNAL
(
sliderMoved
(
int
)),
this
,
SLOT
(
requestSetJointAngles
())
,
Qt
::
UniqueConnection
);
}
...
...
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