comparison widgets/PropertyBox.cpp @ 57:4f3e6a09239a

(none)
author benoitrigolleau
date Wed, 23 May 2007 15:11:52 +0000
parents fc9323a41f5a
children b3c3a5fa185f
comparison
equal deleted inserted replaced
56:81921835ddf1 57:4f3e6a09239a
642 PropertyBox::layerVisibilityChanged(bool visible) 642 PropertyBox::layerVisibilityChanged(bool visible)
643 { 643 {
644 if (m_showButton) m_showButton->setState(visible); 644 if (m_showButton) m_showButton->setState(visible);
645 } 645 }
646 646
647 void PropertyBox::layerVisibilityChanged(int value){
648 if (m_showButton){
649 if(value==Qt::Checked){
650 m_showButton->setState(true);
651 emit(showLayer(true));
652 }else if(value == Qt::Unchecked){
653 m_showButton->setState(false);
654 emit(showLayer(false));
655 }
656
657 }
658 }
659
647 void 660 void
648 PropertyBox::mouseEnteredWidget() 661 PropertyBox::mouseEnteredWidget()
649 { 662 {
650 updateContextHelp(sender()); 663 updateContextHelp(sender());
651 } 664 }
697 emit contextHelpChanged(""); 710 emit contextHelpChanged("");
698 } 711 }
699 } 712 }
700 713
701 714
715 LEDButton* PropertyBox::showButton(){
716 return m_showButton;
717 }
718 LEDButton* PropertyBox::playButton(){
719 return m_playButton;
720 }