Lines 2163-2169
void ContextBrowser::setStyleSheet_Defau
Link Here
|
2163 |
styleSheet += QString( ".album-body { background-color: %1; border-bottom: solid %2 1px; border-top: solid %3 1px; }" ).arg( colorGroup().base().name() ).arg( bg ).arg( bg ); |
2163 |
styleSheet += QString( ".album-body { background-color: %1; border-bottom: solid %2 1px; border-top: solid %3 1px; }" ).arg( colorGroup().base().name() ).arg( bg ).arg( bg ); |
2164 |
styleSheet += QString( ".album-title { font-weight: bold; }" ); |
2164 |
styleSheet += QString( ".album-title { font-weight: bold; }" ); |
2165 |
styleSheet += QString( ".album-info { float:right; padding-right:4px; font-size: %1px }" ).arg( pxSize ); |
2165 |
styleSheet += QString( ".album-info { float:right; padding-right:4px; font-size: %1px }" ).arg( pxSize ); |
2166 |
styleSheet += QString( ".album-image { padding-right: 4px; }" ); |
2166 |
styleSheet += QString( ".album-image { padding-right: 4px; width: 100px; height: 100px; }" ); |
2167 |
styleSheet += QString( ".album-song a { display: block; padding: 1px 2px; font-weight: normal; text-decoration: none; }" ); |
2167 |
styleSheet += QString( ".album-song a { display: block; padding: 1px 2px; font-weight: normal; text-decoration: none; }" ); |
2168 |
styleSheet += QString( ".album-song a:hover { color: %1; background-color: %2; }" ).arg( fg ).arg( bg ); |
2168 |
styleSheet += QString( ".album-song a:hover { color: %1; background-color: %2; }" ).arg( fg ).arg( bg ); |
2169 |
styleSheet += QString( ".album-song-trackno { font-weight: bold; }" ); |
2169 |
styleSheet += QString( ".album-song-trackno { font-weight: bold; }" ); |
Lines 2185-2191
void ContextBrowser::setStyleSheet_Defau
Link Here
|
2185 |
styleSheet += QString( "#current_box-header-album { font-weight: normal; }" ); |
2185 |
styleSheet += QString( "#current_box-header-album { font-weight: normal; }" ); |
2186 |
styleSheet += QString( "#current_box-information-td { text-align: right; vertical-align: bottom; padding: 3px; }" ); |
2186 |
styleSheet += QString( "#current_box-information-td { text-align: right; vertical-align: bottom; padding: 3px; }" ); |
2187 |
styleSheet += QString( "#current_box-largecover-td { text-align: left; width: 100px; padding: 0; vertical-align: bottom; }" ); |
2187 |
styleSheet += QString( "#current_box-largecover-td { text-align: left; width: 100px; padding: 0; vertical-align: bottom; }" ); |
2188 |
styleSheet += QString( "#current_box-largecover-image { padding: 4px; vertical-align: bottom; }" ); |
2188 |
styleSheet += QString( "#current_box-largecover-image { padding: 4px; width: 100px; height: 100px; vertical-align: bottom; }" ); |
2189 |
|
2189 |
|
2190 |
styleSheet += QString( "#wiki_box-body a { color: %1; }" ).arg( bg ); |
2190 |
styleSheet += QString( "#wiki_box-body a { color: %1; }" ).arg( bg ); |
2191 |
styleSheet += QString( "#wiki_box-body a:hover { text-decoration: underline; }" ); |
2191 |
styleSheet += QString( "#wiki_box-body a:hover { text-decoration: underline; }" ); |
Lines 2947-2952
void ContextBrowser::tagsChanged( const
Link Here
|
2947 |
QString |
2947 |
QString |
2948 |
ContextBrowser::makeShadowedImage( const QString& albumImage ) //static |
2948 |
ContextBrowser::makeShadowedImage( const QString& albumImage ) //static |
2949 |
{ |
2949 |
{ |
|
|
2950 |
return albumImage; |
2950 |
const QImage original( albumImage ); |
2951 |
const QImage original( albumImage ); |
2951 |
QImage shadow; |
2952 |
QImage shadow; |
2952 |
const uint shadowSize = static_cast<uint>( original.width() / 100.0 * 6.0 ); |
2953 |
const uint shadowSize = static_cast<uint>( original.width() / 100.0 * 6.0 ); |