Mercurial > hg > svgui
comparison widgets/TransformFinder.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | 1fe7951a61e8 |
children | 1a0dfcbffaf1 |
comparison
equal
deleted
inserted
replaced
583:4c484636d5ec | 586:1ae54a29e59e |
---|---|
167 } | 167 } |
168 | 168 |
169 void | 169 void |
170 TransformFinder::searchTextChanged(const QString &text) | 170 TransformFinder::searchTextChanged(const QString &text) |
171 { | 171 { |
172 // std::cerr << "text is " << text.toStdString() << std::endl; | 172 // std::cerr << "text is " << text << std::endl; |
173 m_newSearchText = text; | 173 m_newSearchText = text; |
174 } | 174 } |
175 | 175 |
176 void | 176 void |
177 TransformFinder::timeout() | 177 TransformFinder::timeout() |
316 | 316 |
317 m_labels[i]->setObjectName(desc.identifier); | 317 m_labels[i]->setObjectName(desc.identifier); |
318 m_labels[i]->setFixedWidth(this->width() - 40); | 318 m_labels[i]->setFixedWidth(this->width() - 40); |
319 m_labels[i]->setUnselectedText(labelText); | 319 m_labels[i]->setUnselectedText(labelText); |
320 | 320 |
321 // std::cerr << "selected text: " << selectedText.toStdString() << std::endl; | 321 // std::cerr << "selected text: " << selectedText << std::endl; |
322 m_labels[i]->setSelectedText(selectedText); | 322 m_labels[i]->setSelectedText(selectedText); |
323 | 323 |
324 m_labels[i]->setSelected(m_selectedTransform == desc.identifier); | 324 m_labels[i]->setSelected(m_selectedTransform == desc.identifier); |
325 | 325 |
326 if (!m_labels[i]->isVisible()) m_labels[i]->show(); | 326 if (!m_labels[i]->isVisible()) m_labels[i]->show(); |
349 m_labels[i]->setSelected(false); | 349 m_labels[i]->setSelected(false); |
350 } | 350 } |
351 } | 351 } |
352 } | 352 } |
353 std::cerr << "selectedLabelChanged: selected transform is now \"" | 353 std::cerr << "selectedLabelChanged: selected transform is now \"" |
354 << m_selectedTransform.toStdString() << "\"" << std::endl; | 354 << m_selectedTransform << "\"" << std::endl; |
355 } | 355 } |
356 | 356 |
357 void | 357 void |
358 TransformFinder::labelDoubleClicked() | 358 TransformFinder::labelDoubleClicked() |
359 { | 359 { |