* Use info.png for contextual links.
0
data/images/configure.png
Executable file → Normal file
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
0
data/images/home.png
Executable file → Normal file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
0
data/images/music-icon.png
Executable file → Normal file
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
0
data/images/view-refresh.png
Executable file → Normal file
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -63,6 +63,7 @@
|
|||||||
<file>./data/images/volume-slider-level.png</file>
|
<file>./data/images/volume-slider-level.png</file>
|
||||||
<file>./data/images/echonest_logo.png</file>
|
<file>./data/images/echonest_logo.png</file>
|
||||||
<file>./data/images/loading-animation.gif</file>
|
<file>./data/images/loading-animation.gif</file>
|
||||||
|
<file>./data/images/info.png</file>
|
||||||
<file>./data/images/home.png</file>
|
<file>./data/images/home.png</file>
|
||||||
<file>./data/images/back.png</file>
|
<file>./data/images/back.png</file>
|
||||||
<file>./data/images/forward.png</file>
|
<file>./data/images/forward.png</file>
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#include "utils/logger.h"
|
#include "utils/logger.h"
|
||||||
|
|
||||||
#define PLAYING_ICON QString( RESPATH "images/now-playing-speaker.png" )
|
#define PLAYING_ICON QString( RESPATH "images/now-playing-speaker.png" )
|
||||||
#define ARROW_ICON QString( RESPATH "images/forward.png" )
|
#define ARROW_ICON QString( RESPATH "images/info.png" )
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ PlaylistItemDelegate::PlaylistItemDelegate( TrackView* parent, TrackProxyModel*
|
|||||||
, m_model( proxy )
|
, m_model( proxy )
|
||||||
{
|
{
|
||||||
m_nowPlayingIcon = QPixmap( PLAYING_ICON );
|
m_nowPlayingIcon = QPixmap( PLAYING_ICON );
|
||||||
m_arrowIcon = QPixmap( ARROW_ICON );
|
m_arrowIcon = QPixmap( ARROW_ICON ).scaled( 14, 14, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
|
|||||||
( index.column() == TrackModel::Artist || index.column() == TrackModel::Album ) )
|
( index.column() == TrackModel::Artist || index.column() == TrackModel::Album ) )
|
||||||
{
|
{
|
||||||
opt.rect.setWidth( opt.rect.width() - 16 );
|
opt.rect.setWidth( opt.rect.width() - 16 );
|
||||||
QRect arrowRect( opt.rect.x() + opt.rect.width(), opt.rect.y(), 14, opt.rect.height() );
|
QRect arrowRect( opt.rect.x() + opt.rect.width(), opt.rect.y() + 1, opt.rect.height() - 2, opt.rect.height() - 2 );
|
||||||
painter->drawPixmap( arrowRect, m_arrowIcon );
|
painter->drawPixmap( arrowRect, m_arrowIcon );
|
||||||
}
|
}
|
||||||
|
|
||||||
|