Mercurial > hg > easaier-soundaccess
diff widgets/PropertyBox.cpp @ 57:4f3e6a09239a
(none)
author | benoitrigolleau |
---|---|
date | Wed, 23 May 2007 15:11:52 +0000 |
parents | fc9323a41f5a |
children | b3c3a5fa185f |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Wed May 23 13:09:19 2007 +0000 +++ b/widgets/PropertyBox.cpp Wed May 23 15:11:52 2007 +0000 @@ -644,6 +644,19 @@ if (m_showButton) m_showButton->setState(visible); } +void PropertyBox::layerVisibilityChanged(int value){ + if (m_showButton){ + if(value==Qt::Checked){ + m_showButton->setState(true); + emit(showLayer(true)); + }else if(value == Qt::Unchecked){ + m_showButton->setState(false); + emit(showLayer(false)); + } + + } +} + void PropertyBox::mouseEnteredWidget() { @@ -699,3 +712,9 @@ } +LEDButton* PropertyBox::showButton(){ + return m_showButton; +} +LEDButton* PropertyBox::playButton(){ + return m_playButton; +}