mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-19 12:49:02 -04:00
Fix for boards links
This commit is contained in:
parent
cc3cd63477
commit
ef886b9d5b
4 changed files with 11 additions and 6 deletions
|
@ -236,7 +236,7 @@ void BoardPostDisplayWidgetBase::baseSetup()
|
|||
{
|
||||
QString siteurl = url.toEncoded();
|
||||
|
||||
label->setStyleSheet("text-decoration: underline; color:#2255AA;");
|
||||
label->setStyleSheet("text-decoration: underline; color:#039bc6;");
|
||||
label->setCursor(QCursor(Qt::PointingHandCursor));
|
||||
label->setToolTip(siteurl);
|
||||
|
||||
|
|
|
@ -231,12 +231,12 @@ void PostedCardView::fill()
|
|||
{
|
||||
QString urlstr = QString("<a href=\"");
|
||||
urlstr += QString(url.toEncoded());
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#2255AA;\"> ");
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#039bc6;\"> ");
|
||||
urlstr += messageName();
|
||||
urlstr += QString(" </span></a>");
|
||||
|
||||
QString siteurl = url.toEncoded();
|
||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#0079d3;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#039bc6;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||
|
||||
ui->titleLabel->setText(urlstr);
|
||||
}else
|
||||
|
|
|
@ -548,12 +548,12 @@ void PostedItem::fill()
|
|||
{
|
||||
urlstr = QString("<a href=\"");
|
||||
urlstr += QString(url.toEncoded());
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#2255AA;\"> ");
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#039bc6;\"> ");
|
||||
urlstr += messageName();
|
||||
urlstr += QString(" </span></a>");
|
||||
|
||||
QString siteurl = url.toEncoded();
|
||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#0079d3;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#039bc6;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||
|
||||
ui->titleLabel->setText(urlstr);
|
||||
}else
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="2" column="0">
|
||||
<widget class="QTextBrowser" name="trans_Description">
|
||||
<widget class="RSTextBrowser" name="trans_Description">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
|
@ -619,6 +619,11 @@ p, li { white-space: pre-wrap; }
|
|||
<header>gui/common/RSTabWidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>RSTextBrowser</class>
|
||||
<extends>QTextBrowser</extends>
|
||||
<header>gui/common/RSTextBrowser.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../icons.qrc"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue