Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
e92b428a
Commit
e92b428a
authored
Dec 06, 2010
by
Sebastian Eichelbaum
Browse files
[CHANGE] - sliders can now be used with keyboard.
parent
8a7205c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/gui/qt4/controlPanel/WPropertyDoubleWidget.cpp
src/gui/qt4/controlPanel/WPropertyDoubleWidget.cpp
+1
-1
src/gui/qt4/controlPanel/WPropertyIntWidget.cpp
src/gui/qt4/controlPanel/WPropertyIntWidget.cpp
+1
-1
No files found.
src/gui/qt4/controlPanel/WPropertyDoubleWidget.cpp
View file @
e92b428a
...
...
@@ -54,7 +54,7 @@ WPropertyDoubleWidget::WPropertyDoubleWidget( WPropDouble property, QGridLayout*
update
();
// connect the modification signal of the edit and slider with our callback
connect
(
&
m_slider
,
SIGNAL
(
sliderMov
ed
(
int
)
),
this
,
SLOT
(
sliderChanged
(
int
)
)
);
connect
(
&
m_slider
,
SIGNAL
(
valueChang
ed
(
int
)
),
this
,
SLOT
(
sliderChanged
(
int
)
)
);
connect
(
&
m_edit
,
SIGNAL
(
editingFinished
()
),
this
,
SLOT
(
editChanged
()
)
);
connect
(
&
m_edit
,
SIGNAL
(
textEdited
(
const
QString
&
)
),
this
,
SLOT
(
textEdited
(
const
QString
&
)
)
);
}
...
...
src/gui/qt4/controlPanel/WPropertyIntWidget.cpp
View file @
e92b428a
...
...
@@ -55,7 +55,7 @@ WPropertyIntWidget::WPropertyIntWidget( WPropInt property, QGridLayout* property
update
();
// connect the modification signal of the edit and slider with our callback
connect
(
&
m_slider
,
SIGNAL
(
sliderMov
ed
(
int
)
),
this
,
SLOT
(
sliderChanged
(
int
)
)
);
connect
(
&
m_slider
,
SIGNAL
(
valueChang
ed
(
int
)
),
this
,
SLOT
(
sliderChanged
(
int
)
)
);
connect
(
&
m_edit
,
SIGNAL
(
editingFinished
()
),
this
,
SLOT
(
editChanged
()
)
);
connect
(
&
m_edit
,
SIGNAL
(
textEdited
(
const
QString
&
)
),
this
,
SLOT
(
textEdited
(
const
QString
&
)
)
);
}
...
...
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