mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
commit
157f863b7f
@ -881,7 +881,11 @@ void ConnectFriendWizard::cleanFriendCert()
|
|||||||
|
|
||||||
ui->friendCertCleanLabel->setStyleSheet("");
|
ui->friendCertCleanLabel->setStyleSheet("");
|
||||||
}
|
}
|
||||||
errorMsg = tr("Valid certificate") + (mIsShortInvite?" (Short format)":" (plain format with profile key)");
|
|
||||||
|
if (mIsShortInvite)
|
||||||
|
errorMsg = tr("Valid Retroshare ID") + (mIsShortInvite?" (Short format)":" (plain format with profile key)");
|
||||||
|
else
|
||||||
|
errorMsg = tr("Valid certificate") ;
|
||||||
|
|
||||||
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/accepted16.png"));
|
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/accepted16.png"));
|
||||||
} else {
|
} else {
|
||||||
@ -899,7 +903,7 @@ void ConnectFriendWizard::cleanFriendCert()
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
errorMsg = tr("Not a valid Retroshare certificate!") ;
|
errorMsg = tr("Not a valid Retroshare certificate!") ;
|
||||||
ui->friendCertCleanLabel->setStyleSheet("QLabel#friendCertCleanLabel {border: 2px solid red; border-radius: 6px;}");
|
ui->friendCertCleanLabel->setStyleSheet("QLabel#friendCertCleanLabel {border: 1px solid #DCDC41; border-radius: 6px; background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/delete.png"));
|
ui->friendCertCleanLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/images/delete.png"));
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>755</width>
|
<width>755</width>
|
||||||
<height>144</height>
|
<height>157</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
@ -454,6 +454,9 @@
|
|||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="textInteractionFlags">
|
<property name="textInteractionFlags">
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
</property>
|
</property>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>755</width>
|
<width>755</width>
|
||||||
<height>143</height>
|
<height>157</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
@ -339,6 +339,9 @@
|
|||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="textInteractionFlags">
|
<property name="textInteractionFlags">
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
</property>
|
</property>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
#define IMG_AREA_GRAPH ":/images/16x16/graph-area.png"
|
#define IMG_AREA_GRAPH ":/images/16x16/graph-area.png"
|
||||||
#define IMG_LINE_GRAPH ":/images/16x16/graph-line.png"
|
#define IMG_LINE_GRAPH ":/images/16x16/graph-line.png"
|
||||||
#define IMG_SETTINGS ":/icons/system_128.png"
|
#define IMG_SETTINGS ":/icons/system_128.png"
|
||||||
#define IMG_CLEANUP ":/images/global_switch_off.png"
|
#define IMG_CLEANUP ":/images/reset.png"
|
||||||
#define IMG_SEND ":/images/go-up.png"
|
#define IMG_SEND ":/images/go-up.png"
|
||||||
#define IMG_RECEIVE ":/images/go-down.png"
|
#define IMG_RECEIVE ":/images/go-down.png"
|
||||||
#define IMG_GRAPH_DARK ":/images/graph-line.png"
|
#define IMG_GRAPH_DARK ":/images/graph-line.png"
|
||||||
|
Loading…
Reference in New Issue
Block a user