mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-29 20:06:38 -05:00
Improved Subscribe Button look and feel
* Improved Subscribe Button look and feel with stylsheet * Removed icons from Subscribe button * Subcribe button hided on posted too when subscribed
This commit is contained in:
parent
6750e6140f
commit
6c0c42c8ad
5 changed files with 61 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue