mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
* Fixed Artist page.
This commit is contained in:
@@ -108,6 +108,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
|
|||||||
QHBoxLayout* l = new QHBoxLayout( ui->statsWidget );
|
QHBoxLayout* l = new QHBoxLayout( ui->statsWidget );
|
||||||
m_playStatsGauge = new StatsGauge( ui->statsWidget );
|
m_playStatsGauge = new StatsGauge( ui->statsWidget );
|
||||||
m_playStatsGauge->setText( tr( "CHART #" ) );
|
m_playStatsGauge->setText( tr( "CHART #" ) );
|
||||||
|
m_playStatsGauge->setInvertedGauge( true );
|
||||||
|
|
||||||
l->addSpacerItem( new QSpacerItem( 0, 1, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding ) );
|
l->addSpacerItem( new QSpacerItem( 0, 1, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding ) );
|
||||||
l->addWidget( m_playStatsGauge );
|
l->addWidget( m_playStatsGauge );
|
||||||
@@ -142,7 +143,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
|
|||||||
area->setWidget( widget );
|
area->setWidget( widget );
|
||||||
|
|
||||||
QPalette pal = palette();
|
QPalette pal = palette();
|
||||||
pal.setBrush( backgroundRole(), QColor( "#1e1e1e" ) ); //QBrush( QImage( ":/data/images/grey_wash_wall.png" ) ) );
|
pal.setBrush( backgroundRole(), TomahawkStyle::PAGE_BACKGROUND );
|
||||||
area->setPalette( pal );
|
area->setPalette( pal );
|
||||||
area->setAutoFillBackground( true );
|
area->setAutoFillBackground( true );
|
||||||
area->setFrameShape( QFrame::NoFrame );
|
area->setFrameShape( QFrame::NoFrame );
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string notr="true" extracomment="not translatable because not shown to the user">Form</string>
|
<string notr="true" extracomment="not translatable because not shown to the user">Form</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,1">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>16</number>
|
<number>16</number>
|
||||||
</property>
|
</property>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>240</width>
|
<width>220</width>
|
||||||
<height>16777215</height>
|
<height>16777215</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
@@ -89,6 +89,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="trackFrame">
|
<widget class="QFrame" name="trackFrame">
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
|
Reference in New Issue
Block a user