comparison widgets/LEDButton.cpp @ 189:5b7472db612b

* Add large chunks of context help in the optional status bar * Add an extra overlay mode in which even the centre frame is disabled * Fixes to FTP retrieval
author Chris Cannam
date Fri, 19 Jan 2007 13:13:14 +0000
parents 705f05ab42e3
children d01f2e406cc5
comparison
equal deleted inserted replaced
188:dd573e090eed 189:5b7472db612b
100 toggle(); 100 toggle();
101 bool newState = state(); 101 bool newState = state();
102 std::cerr << "emitting new state " << newState << std::endl; 102 std::cerr << "emitting new state " << newState << std::endl;
103 emit stateChanged(newState); 103 emit stateChanged(newState);
104 } 104 }
105 }
106
107 void
108 LEDButton::enterEvent(QEvent *)
109 {
110 emit mouseEntered();
111 }
112
113 void
114 LEDButton::leaveEvent(QEvent *)
115 {
116 emit mouseLeft();
105 } 117 }
106 118
107 void 119 void
108 LEDButton::paintEvent(QPaintEvent *) 120 LEDButton::paintEvent(QPaintEvent *)
109 { 121 {