mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk qt) filterbar tweak by kjg
This commit is contained in:
parent
553354e34e
commit
ed96a156a5
1 changed files with 14 additions and 15 deletions
|
@ -346,21 +346,20 @@ TrMainWindow :: createFilterBar( )
|
|||
h = new QHBoxLayout( top );
|
||||
h->setContentsMargins( HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL );
|
||||
h->setSpacing( HIG::PAD_SMALL );
|
||||
|
||||
top->setStyleSheet(" \
|
||||
QPushButton{ \
|
||||
border-radius: 10px; \
|
||||
padding: 0 5px; \
|
||||
border: 1px none; \
|
||||
} \
|
||||
QPushButton:pressed, QPushButton:checked{ \
|
||||
border-width: 1px; \
|
||||
border-style: solid; \
|
||||
border-color: #5f5f5f #979797 #979797; \
|
||||
background-color: #979797; \
|
||||
color: white; \
|
||||
} \
|
||||
");
|
||||
#ifdef Q_OS_MAC
|
||||
top->setStyleSheet( "QPushButton{ "
|
||||
" border-radius: 10px; "
|
||||
" padding: 0 5px; "
|
||||
" border: 1px none; "
|
||||
"} "
|
||||
"QPushButton:pressed, QPushButton:checked{ "
|
||||
" border-width: 1px; "
|
||||
" border-style: solid; "
|
||||
" border-color: #5f5f5f #979797 #979797; "
|
||||
" background-color: #979797; "
|
||||
" color: white; "
|
||||
"} ");
|
||||
#endif
|
||||
|
||||
QList<QString> titles;
|
||||
titles << tr( "A&ll" ) << tr( "&Active" ) << tr( "&Downloading" ) << tr( "&Seeding" ) << tr( "&Paused" );
|
||||
|
|
Loading…
Reference in a new issue