# HG changeset patch # User lbajardsilogic # Date 1195131783 0 # Node ID a535f9cb792e2955b61a86ea8984e2ef3ed6ce21 # Parent c3296b15c43e1cc4bf8afcc53c51cc7ac0c0af2c enable to add info under the related media diff -r c3296b15c43e -r a535f9cb792e sv/icons/icon_pdf.png Binary file sv/icons/icon_pdf.png has changed diff -r c3296b15c43e -r a535f9cb792e widgets/RelatedMediaWidget.cpp --- a/widgets/RelatedMediaWidget.cpp Thu Nov 15 11:07:01 2007 +0000 +++ b/widgets/RelatedMediaWidget.cpp Thu Nov 15 13:03:03 2007 +0000 @@ -34,7 +34,7 @@ QScrollArea * scrollArea = new QScrollArea; scrollArea->setWidget(mediaWidget); scrollArea->setWidgetResizable(true); - scrollArea->setMinimumHeight(m_relMediaMaxHeight + 50); + scrollArea->setMinimumHeight(m_relMediaMaxHeight + 70); QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addWidget(scrollArea); @@ -90,6 +90,11 @@ connect(mediaLabel, SIGNAL(linkActivated(QString)), MainWindow::instance(), SLOT(runExternProcess(QString))); + QLabel *textLabel = new QLabel(); + textLabel->setText("Info may be added here..."); + m_relMediaLayout->addWidget(mediaLabel, 0, m_nbRelMedia); + m_relMediaLayout->addWidget(textLabel, 1, m_nbRelMedia); + m_nbRelMedia++; }