1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

* Slight improvements for artist page.

This commit is contained in:
Christian Muehlhaeuser 2012-12-18 09:35:28 +01:00
parent bb2502817a
commit 3674016c81
2 changed files with 2 additions and 34 deletions

View File

@ -108,15 +108,10 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
ui->biography->setFont( f );
TomahawkUtils::styleScrollBar( ui->biography->verticalScrollBar() );
f.setBold( true );
f.setPointSize( TomahawkUtils::defaultFontSize() + 8 );
ui->artistLabel->setFont( f );
QPalette p = ui->biography->palette();
p.setColor( QPalette::Foreground, Qt::white );
p.setColor( QPalette::Text, Qt::gray );
ui->artistLabel->setPalette( p );
ui->biography->setPalette( p );
ui->label->setPalette( p );
ui->label_2->setPalette( p );
@ -254,7 +249,6 @@ ArtistInfoWidget::load( const artist_ptr& artist )
connect( m_artist.data(), SIGNAL( tracksAdded( QList<Tomahawk::query_ptr>, Tomahawk::ModelMode, Tomahawk::collection_ptr ) ),
SLOT( onTracksFound( QList<Tomahawk::query_ptr>, Tomahawk::ModelMode ) ) );
ui->artistLabel->setText( artist->name() );
ui->cover->setArtist( artist );
m_topHitsModel->startLoading();

View File

@ -43,32 +43,6 @@
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="artistLabel">
<property name="text">
<string>Artist</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>4</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="PlayableCover" name="cover">
<property name="sizePolicy">
@ -79,8 +53,8 @@
</property>
<property name="minimumSize">
<size>
<width>220</width>
<height>220</height>
<width>260</width>
<height>260</height>
</size>
</property>
<property name="text">