Mercurial > hg > svgui
comparison widgets/SelectableLabel.cpp @ 706:97ea68f62c1f imaf_enc
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 05 Dec 2013 09:47:02 +0000 |
parents | 1a0dfcbffaf1 |
children |
comparison
equal
deleted
inserted
replaced
678:26c5f7fd4807 | 706:97ea68f62c1f |
---|---|
129 } | 129 } |
130 | 130 |
131 void | 131 void |
132 SelectableLabel::enterEvent(QEvent *) | 132 SelectableLabel::enterEvent(QEvent *) |
133 { | 133 { |
134 // std::cerr << "enterEvent" << std::endl; | 134 // cerr << "enterEvent" << endl; |
135 // QPalette palette = QApplication::palette(); | 135 // QPalette palette = QApplication::palette(); |
136 // palette.setColor(QPalette::Window, Qt::gray); | 136 // palette.setColor(QPalette::Window, Qt::gray); |
137 // setStyleSheet("background: gray"); | 137 // setStyleSheet("background: gray"); |
138 // setPalette(palette); | 138 // setPalette(palette); |
139 } | 139 } |
140 | 140 |
141 void | 141 void |
142 SelectableLabel::leaveEvent(QEvent *) | 142 SelectableLabel::leaveEvent(QEvent *) |
143 { | 143 { |
144 // std::cerr << "leaveEvent" << std::endl; | 144 // cerr << "leaveEvent" << endl; |
145 // setStyleSheet("background: white"); | 145 // setStyleSheet("background: white"); |
146 // QPalette palette = QApplication::palette(); | 146 // QPalette palette = QApplication::palette(); |
147 // palette.setColor(QPalette::Window, Qt::gray); | 147 // palette.setColor(QPalette::Window, Qt::gray); |
148 // setPalette(palette); | 148 // setPalette(palette); |
149 } | 149 } |