Mercurial > hg > easaier-soundaccess
diff widgets/QueryResultsWidget.cpp @ 148:9f16a77107bd
the confidenceListWidget is ok now.
author | benoitrigolleau |
---|---|
date | Wed, 14 Nov 2007 10:07:23 +0000 |
parents | e63e8272dcb0 |
children | 735e67e91508 |
line wrap: on
line diff
--- a/widgets/QueryResultsWidget.cpp Tue Nov 13 17:47:02 2007 +0000 +++ b/widgets/QueryResultsWidget.cpp Wed Nov 14 10:07:23 2007 +0000 @@ -188,18 +188,13 @@ //add the author and title label QLabel *labelTitleArtist = new QLabel(); - QString aux = title; -/* if(aux.length() > 50){ - aux.truncate(47); - aux+="..."; - }*/ QString label; label = author+" - \""; label += "<a href=\""; label += uri; label += "\">"; - label += aux; - label += "</a>"; + label += title; + label += "</a>\""; labelTitleArtist->setText(label); labelTitleArtist->setWordWrap(true); @@ -211,8 +206,8 @@ ConfidenceListWidget *confidenceListWidget= new ConfidenceListWidget(); confidenceListWidget->setMaximumWidth(180); confidenceListWidget->addConfidence(100,"confidence"); - confidenceListWidget->addConfidence(100,"confidence"); - confidenceListWidget->addConfidence(100,"confidence"); + confidenceListWidget->addConfidence(10,"confidence"); + confidenceListWidget->addConfidence(65,"confidence"); m_resultsLayout->addWidget(confidenceListWidget,m_currentRow,6,1,1); //TODO add metadatas