mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Drop shadow on cover in SocialWidget, and layout fix.
This commit is contained in:
@@ -175,7 +175,8 @@ void
|
|||||||
SocialWidget::setQuery( const Tomahawk::query_ptr& query )
|
SocialWidget::setQuery( const Tomahawk::query_ptr& query )
|
||||||
{
|
{
|
||||||
m_query = query;
|
m_query = query;
|
||||||
ui->coverImage->setPixmap( query->cover( ui->coverImage->size() ) );
|
ui->coverImage->setPixmap( TomahawkUtils::addDropShadow(
|
||||||
|
query->cover( ui->coverImage->size() ), ui->coverImage->size() ) );
|
||||||
onShortLinkReady( QString(), QString(), QVariant() );
|
onShortLinkReady( QString(), QString(), QVariant() );
|
||||||
onChanged();
|
onChanged();
|
||||||
|
|
||||||
|
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>365</width>
|
<width>363</width>
|
||||||
<height>190</height>
|
<height>204</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -68,6 +68,8 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTextEdit" name="textEdit">
|
<widget class="QTextEdit" name="textEdit">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
@@ -78,6 +80,24 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>1</width>
|
||||||
|
<height>8</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
Reference in New Issue
Block a user