mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-29 16:50:11 +02:00
Fix track-placeholder-grid.svg, change widget border to own image and colors.
This commit is contained in:
@@ -93,7 +93,7 @@ ContextWidget::ContextWidget( QWidget* parent )
|
||||
|
||||
ensurePolished();
|
||||
QPalette pal = palette();
|
||||
pal.setBrush( QPalette::Window, QColor( "#393840" ) );
|
||||
pal.setBrush( QPalette::Window, QColor( "##272b2e" ) );
|
||||
setPalette( pal );
|
||||
|
||||
connect( ui->toggleButton, SIGNAL( clicked() ), SLOT( toggleSize() ) );
|
||||
|
@@ -51,7 +51,7 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
|
||||
ui->setupUi( widget );
|
||||
|
||||
QPalette pal = palette();
|
||||
pal.setColor( QPalette::Window, QColor( "#393840" ) );
|
||||
pal.setColor( QPalette::Window, QColor( "#272b2e" ) );
|
||||
|
||||
widget->setPalette( pal );
|
||||
widget->setAutoFillBackground( true );
|
||||
@@ -118,12 +118,12 @@ AlbumInfoWidget::AlbumInfoWidget( const Tomahawk::album_ptr& album, QWidget* par
|
||||
ui->albums->setStyleSheet( "QListView { background-color: transparent; }" );
|
||||
ui->albumFrame->setStyleSheet( "QFrame#albumFrame { background-color: transparent; }"
|
||||
"QFrame#albumFrame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
ui->trackFrame->setStyleSheet( "QFrame#trackFrame { background-color: transparent; }"
|
||||
"QFrame#trackFrame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
MetaPlaylistInterface* mpl = new MetaPlaylistInterface();
|
||||
|
@@ -51,7 +51,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
|
||||
ui->setupUi( widget );
|
||||
|
||||
QPalette pal = palette();
|
||||
pal.setColor( QPalette::Window, QColor( "#393840" ) );
|
||||
pal.setColor( QPalette::Window, QColor( "##272b2e" ) );
|
||||
|
||||
widget->setPalette( pal );
|
||||
widget->setAutoFillBackground( true );
|
||||
@@ -136,19 +136,19 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
|
||||
ui->albums->setStyleSheet( "QListView { background-color: transparent; }" );
|
||||
ui->albumFrame->setStyleSheet( "QFrame#albumFrame { background-color: transparent; }"
|
||||
"QFrame#albumFrame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
ui->relatedArtists->setStyleSheet( "QListView { background-color: transparent; }" );
|
||||
ui->artistFrame->setStyleSheet( "QFrame#artistFrame { background-color: transparent; }"
|
||||
"QFrame#artistFrame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
// ui->topHits->setStyleSheet( "QTreeView#topHits { background-color: transparent; }" );
|
||||
ui->trackFrame->setStyleSheet( "QFrame#trackFrame { background-color: transparent; }"
|
||||
"QFrame#trackFrame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
connect( ui->biography, SIGNAL( anchorClicked( QUrl ) ), SLOT( onBiographyLinkClicked( QUrl ) ) );
|
||||
|
@@ -44,7 +44,7 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
|
||||
ui->setupUi( widget );
|
||||
|
||||
QPalette pal = palette();
|
||||
pal.setColor( QPalette::Window, QColor( "#393840" ) );
|
||||
pal.setColor( QPalette::Window, QColor( "##272b2e" ) );
|
||||
|
||||
widget->setPalette( pal );
|
||||
widget->setAutoFillBackground( true );
|
||||
@@ -102,7 +102,7 @@ TrackInfoWidget::TrackInfoWidget( const Tomahawk::query_ptr& query, QWidget* par
|
||||
ui->similarTracksView->setStyleSheet( "QListView { background-color: transparent; }" );
|
||||
ui->frame->setStyleSheet( "QFrame#frame { background-color: transparent; }"
|
||||
"QFrame#frame { "
|
||||
"border-image: url(" RESPATH "images/scrollbar-vertical-handle.png) 3 3 3 3 stretch stretch;"
|
||||
"border-image: url(" RESPATH "images/widget-border.png) 3 3 3 3 stretch stretch;"
|
||||
"border-top: 3px transparent; border-bottom: 3px transparent; border-right: 3px transparent; border-left: 3px transparent; }" );
|
||||
|
||||
load( query );
|
||||
|
Reference in New Issue
Block a user