Merge pull request #1459 from defnax/master

Improved Posted Links & Subscribe button look like Youtube/Reddit style
This commit is contained in:
csoler 2019-03-19 23:44:14 +01:00 committed by GitHub
commit 450fcbb0e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 579 additions and 226 deletions

View file

@ -81,7 +81,7 @@
</attribute>
<column>
<property name="text">
<string>Trusted nodes</string>
<string>Friends</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>

View file

@ -64,7 +64,7 @@ void SubscribeToolButton::updateUi()
#else
setPopupMode(QToolButton::InstantPopup);
#endif
setIcon(QIcon(":/images/accepted16.png"));
//setIcon(QIcon(":/images/accepted16.png"));
setText(tr("Subscribed"));
if(mMenu != NULL) // that's because setMenu does not give away memory ownership
@ -86,7 +86,7 @@ void SubscribeToolButton::updateUi()
} else {
setPopupMode(QToolButton::DelayedPopup);
setMenu(NULL);
setIcon(QIcon(":/images/RSS_004_32.png"));
//setIcon(QIcon(":/images/RSS_004_32.png"));
setText(tr("Subscribe"));
#ifndef USE_MENUBUTTONPOPUP