1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk qt) filterbar tweak by kjg

This commit is contained in:
Charles Kerr 2009-05-19 04:21:58 +00:00
parent 553354e34e
commit ed96a156a5

View file

@ -346,21 +346,20 @@ TrMainWindow :: createFilterBar( )
h = new QHBoxLayout( top ); h = new QHBoxLayout( top );
h->setContentsMargins( HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL ); h->setContentsMargins( HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL, HIG::PAD_SMALL );
h->setSpacing( HIG::PAD_SMALL ); h->setSpacing( HIG::PAD_SMALL );
#ifdef Q_OS_MAC
top->setStyleSheet(" \ top->setStyleSheet( "QPushButton{ "
QPushButton{ \ " border-radius: 10px; "
border-radius: 10px; \ " padding: 0 5px; "
padding: 0 5px; \ " border: 1px none; "
border: 1px none; \ "} "
} \ "QPushButton:pressed, QPushButton:checked{ "
QPushButton:pressed, QPushButton:checked{ \ " border-width: 1px; "
border-width: 1px; \ " border-style: solid; "
border-style: solid; \ " border-color: #5f5f5f #979797 #979797; "
border-color: #5f5f5f #979797 #979797; \ " background-color: #979797; "
background-color: #979797; \ " color: white; "
color: white; \ "} ");
} \ #endif
");
QList<QString> titles; QList<QString> titles;
titles << tr( "A&ll" ) << tr( "&Active" ) << tr( "&Downloading" ) << tr( "&Seeding" ) << tr( "&Paused" ); titles << tr( "A&ll" ) << tr( "&Active" ) << tr( "&Downloading" ) << tr( "&Seeding" ) << tr( "&Paused" );