Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
b9320c48
Commit
b9320c48
authored
Jun 19, 2018
by
Emmanuel Promayon
Browse files
FIXED update "Display Frame" depending on component state
parent
d099bca4
Changes
1
Show whitespace changes
Inline
Side-by-side
sdk/actions/frame/editframes/FrameEditor.cpp
View file @
b9320c48
...
...
@@ -119,7 +119,6 @@ void FrameEditor::init() {
connect
(
ui
.
translatePushButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
translate
()));
connect
(
ui
.
setTranslationPushButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
setTranslation
()));
// connect(ui.transformationTableWidget, SIGNAL(cellChanged(int, int)), this, SLOT(transformationChanged()));
for
(
int
j
=
0
;
j
<
4
;
j
++
)
{
for
(
int
i
=
0
;
i
<
4
;
i
++
)
{
connect
(
transfromMatrixElements
[
j
][
i
],
SIGNAL
(
returnPressed
()),
this
,
SLOT
(
transformationChanged
()));
...
...
@@ -159,7 +158,12 @@ QWidget* FrameEditor::getWidget() {
// --------------- initializeDialogWithCurrentComponent -------------------
void
FrameEditor
::
initializeDialogWithCurrentComponent
()
{
// ui.displayFrameCheckBox->setChecked(false);
// update checkbox
ui
.
displayFrameCheckBox
->
blockSignals
(
true
);
bool
isFrameDisplayed
=
currentComponent
->
getFrameVisibility
(
InteractiveViewer
::
get3DViewer
());
ui
.
displayFrameCheckBox
->
setChecked
(
isFrameDisplayed
);
ui
.
displayFrameCheckBox
->
blockSignals
(
false
);
// Update the Parent Frame
bool
parentFrameSignalState
=
ui
.
parentFrameComboBox
->
blockSignals
(
true
);
ui
.
parentFrameComboBox
->
clear
();
...
...
Write
Preview
Supports
Markdown
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