35
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Music Player Settings view.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include <QParallelAnimationGroup>
|
|
19 |
#include <QPropertyAnimation>
|
|
20 |
|
|
21 |
#include <hbicon.h>
|
|
22 |
#include <hbaction.h>
|
|
23 |
#include <hbapplication.h>
|
|
24 |
#include <hbscrollbar.h>
|
|
25 |
#include <hblabel.h>
|
37
|
26 |
#include <hblistview.h>
|
|
27 |
#include <hbstyleloader.h>
|
51
|
28 |
#include <hbmessagebox.h>
|
|
29 |
|
35
|
30 |
#include <hgmediawall.h>
|
|
31 |
|
|
32 |
#include "mpmediawallview.h"
|
|
33 |
#include "mpmediawalldocumentloader.h"
|
|
34 |
#include "mpcommondefs.h"
|
|
35 |
#include "mpmpxcollectiondata.h"
|
|
36 |
#include "mpcollectiondatamodel.h"
|
|
37 |
#include "mpenginefactory.h"
|
|
38 |
#include "mpplaybackdata.h"
|
|
39 |
#include "mpalbumcoverwidget.h"
|
|
40 |
#include "mptracklistwidget.h"
|
|
41 |
#include "mpcollectiontbonelistdatamodel.h"
|
|
42 |
#include "mptrace.h"
|
|
43 |
|
|
44 |
const char*MUSIC_MEDIAWALL_DOCML = ":/mediawallviewdocml/mediawall.docml";
|
|
45 |
|
|
46 |
/*!
|
|
47 |
\class MpMediaWallView
|
|
48 |
\brief Music Player Settings view.
|
|
49 |
|
|
50 |
Music player media wall view displays music players albums on an full screen view
|
|
51 |
*/
|
|
52 |
|
|
53 |
/*!
|
|
54 |
\fn void command( int command )
|
|
55 |
|
|
56 |
This signal is emitted when the view issues a \a command to the
|
|
57 |
application such as request to switch to a different view.
|
|
58 |
*/
|
|
59 |
|
|
60 |
|
|
61 |
/*!
|
|
62 |
Constructs the media wall view.
|
|
63 |
*/
|
|
64 |
MpMediaWallView::MpMediaWallView()
|
|
65 |
: mEngine( 0 ),
|
|
66 |
mCollectionData( 0 ),
|
|
67 |
mModel( 0 ),
|
|
68 |
mMediaWallWidget( 0 ),
|
|
69 |
mNoMusic( 0 ),
|
|
70 |
mDocumentLoader( 0 ),
|
|
71 |
mLibraryUpdating( false ),
|
|
72 |
mPlaybackData( 0 ),
|
|
73 |
mListShowAnimationGroup( 0 ),
|
|
74 |
mListShowListAnimation( 0 ),
|
|
75 |
mCoverShowListAnimation( 0 ),
|
|
76 |
mShowingSongsList( false ),
|
|
77 |
mAlbumCover( 0 ),
|
|
78 |
mTrackList( 0 )
|
|
79 |
{
|
|
80 |
connect( MpEngineFactory::sharedEngine(), SIGNAL( libraryAboutToUpdate() ),
|
|
81 |
this, SLOT( libraryAboutToUpdate() ) );
|
|
82 |
connect( MpEngineFactory::sharedEngine(), SIGNAL( libraryUpdated() ),
|
|
83 |
this, SLOT( libraryUpdated() ) );
|
|
84 |
TX_LOG
|
|
85 |
}
|
|
86 |
|
|
87 |
/*!
|
|
88 |
Destructs the media wall view.
|
|
89 |
*/
|
|
90 |
MpMediaWallView::~MpMediaWallView()
|
|
91 |
{
|
|
92 |
TX_ENTRY
|
|
93 |
//delete not parented objects
|
|
94 |
delete mDocumentLoader;
|
|
95 |
TX_EXIT
|
|
96 |
}
|
|
97 |
|
|
98 |
/*!
|
|
99 |
Initializes the media wall view.
|
|
100 |
*/
|
|
101 |
void MpMediaWallView::initializeView()
|
|
102 |
{
|
|
103 |
TX_ENTRY
|
|
104 |
setTitleBarVisible( false );
|
|
105 |
setStatusBarVisible( false );
|
|
106 |
|
|
107 |
mDocumentLoader = new MpMediaWallDocumentLoader();
|
|
108 |
bool ok = false;
|
|
109 |
mDocumentLoader->load( MUSIC_MEDIAWALL_DOCML, &ok );
|
|
110 |
if ( ok ) {
|
|
111 |
QGraphicsWidget *widget;
|
|
112 |
|
|
113 |
|
|
114 |
mPlaybackData = MpEngineFactory::sharedEngine()->playbackData();
|
55
|
115 |
|
35
|
116 |
//Get the main container and set as widget.
|
|
117 |
widget = mDocumentLoader->findWidget( QString( "container" ) );
|
|
118 |
setWidget( widget );
|
|
119 |
|
|
120 |
mEngine = MpEngineFactory::createIsolatedEngine( MpEngine::MediaBrowsing );
|
|
121 |
mCollectionData = mEngine->collectionData();
|
55
|
122 |
mModel = new MpCollectionDataModel( mCollectionData, 0, this );
|
35
|
123 |
|
|
124 |
connect( mCollectionData, SIGNAL( contextChanged( TCollectionContext ) ),
|
|
125 |
this, SLOT( contextOpened( TCollectionContext ) ) );
|
|
126 |
connect( mEngine, SIGNAL( containerContentsChanged() ),
|
|
127 |
this, SLOT( containerContentsChanged() ) );
|
|
128 |
if ( !mLibraryUpdating ) {
|
|
129 |
mEngine->openCollection( ECollectionContextAlbumsMediaWall );
|
|
130 |
}
|
|
131 |
}
|
|
132 |
else {
|
|
133 |
TX_LOG_ARGS( "Error: invalid xml file." );
|
|
134 |
Q_ASSERT_X( ok, "MpCollectionView::initializeView", "invalid xml file" );
|
|
135 |
}
|
55
|
136 |
|
35
|
137 |
mTrackList = new MpTrackListWidget( this );
|
51
|
138 |
MpCollectionTBoneListDataModel *model = new MpCollectionTBoneListDataModel(mCollectionData, mPlaybackData, mTrackList );
|
|
139 |
model->enablePlaybackIndicatorEnable(true);
|
|
140 |
mTrackList->list()->setModel( model );
|
35
|
141 |
mTrackList->hide();
|
|
142 |
|
55
|
143 |
mAlbumCover = new MpAlbumCoverWidget( this );
|
|
144 |
mAlbumCover->setDefaultIcon( HbIcon( "qtg_large_album_art" ) );
|
|
145 |
mAlbumCover->hide();
|
|
146 |
|
35
|
147 |
connect(mAlbumCover,SIGNAL(clicked()),this, SLOT(hideTracksList()));
|
|
148 |
connect(mTrackList->list(), SIGNAL(activated(QModelIndex)), this, SLOT(listItemActivated(QModelIndex)));
|
37
|
149 |
connect(mTrackList,SIGNAL(closed()),this, SLOT(hideTracksList()));
|
35
|
150 |
|
37
|
151 |
HbStyleLoader::registerFilePath(":/css/mpcustommediawall.css");
|
43
|
152 |
HbStyleLoader::registerFilePath(":/css/mpcustommediawall_color.css");
|
37
|
153 |
HbStyleLoader::registerFilePath(":/css/mpcustommediawall.hgmediawall.widgetml");
|
35
|
154 |
|
|
155 |
TX_EXIT
|
|
156 |
}
|
|
157 |
|
|
158 |
/*!
|
|
159 |
Activates the media wall view.
|
|
160 |
*/
|
|
161 |
void MpMediaWallView::activateView()
|
|
162 |
{
|
|
163 |
TX_ENTRY
|
|
164 |
scrollToNowPlaying();
|
|
165 |
TX_EXIT
|
|
166 |
}
|
|
167 |
|
|
168 |
/*!
|
|
169 |
Deactivates the media wall view.
|
|
170 |
*/
|
|
171 |
void MpMediaWallView::deactivateView()
|
|
172 |
{
|
|
173 |
TX_ENTRY
|
|
174 |
dismissListClosingAnimation();
|
|
175 |
TX_EXIT
|
|
176 |
}
|
|
177 |
|
|
178 |
/*!
|
|
179 |
Slot to be called when the context is opened.
|
|
180 |
*/
|
|
181 |
void MpMediaWallView::contextOpened( TCollectionContext context )
|
|
182 |
{
|
|
183 |
if ( context != ECollectionContextAlbumsMediaWall ) {
|
|
184 |
//Force the context to Albums Media Wall, this to get the model and
|
|
185 |
//data to provide the right funtionality to media wall.
|
|
186 |
mCollectionData->setContext( ECollectionContextAlbumsMediaWall );
|
|
187 |
return;
|
|
188 |
}
|
|
189 |
if ( mCollectionData->count() ) {
|
|
190 |
if (mNoMusic) {
|
|
191 |
delete mNoMusic;
|
|
192 |
mNoMusic = 0;
|
|
193 |
}
|
|
194 |
if ( mMediaWallWidget ) {
|
|
195 |
mModel->refreshModel();
|
43
|
196 |
scrollToDefault();
|
35
|
197 |
} else {
|
|
198 |
bool ok = false;
|
|
199 |
mDocumentLoader->load( MUSIC_MEDIAWALL_DOCML, "mediaWall", &ok);
|
|
200 |
if ( ok ) {
|
|
201 |
QGraphicsWidget *widget;
|
37
|
202 |
widget = mDocumentLoader->findWidget(QString("MPmediaWallWidget"));
|
35
|
203 |
mMediaWallWidget = qobject_cast<HgMediawall*>(widget);
|
37
|
204 |
//set these items as children of the media wall so they show behind the scrollbar.
|
35
|
205 |
mModel->refreshModel();
|
|
206 |
setUpMediaWallWidget();
|
|
207 |
}
|
|
208 |
else {
|
|
209 |
TX_LOG_ARGS("Error: invalid xml file.");
|
|
210 |
Q_ASSERT_X(ok, "MpMediaWallView::contextOpened", "invalid xml file");
|
|
211 |
|
|
212 |
}
|
|
213 |
}
|
|
214 |
}
|
|
215 |
else {
|
|
216 |
if ( mMediaWallWidget ) {
|
37
|
217 |
//Take ownership of these items to prevent delete from media wall widget.
|
35
|
218 |
delete mMediaWallWidget;
|
|
219 |
mMediaWallWidget = 0;
|
|
220 |
|
|
221 |
}
|
|
222 |
if ( !mNoMusic ) {
|
|
223 |
bool ok = false;
|
|
224 |
mDocumentLoader->load( MUSIC_MEDIAWALL_DOCML, "empty", &ok);
|
|
225 |
if ( ok ) {
|
|
226 |
QGraphicsWidget *widget;
|
|
227 |
widget = mDocumentLoader->findWidget(QString("noMusic"));
|
|
228 |
mNoMusic = qobject_cast<HbLabel*>(widget);
|
|
229 |
}
|
|
230 |
else {
|
|
231 |
TX_LOG_ARGS("Error: invalid xml file.");
|
|
232 |
Q_ASSERT_X(ok, "MpMediaWallView::contextOpened", "invalid xml file");
|
|
233 |
|
|
234 |
}
|
|
235 |
}
|
|
236 |
}
|
|
237 |
}
|
|
238 |
|
|
239 |
/*!
|
|
240 |
Slot to be called when the container contents changed.
|
|
241 |
*/
|
|
242 |
void MpMediaWallView::containerContentsChanged()
|
|
243 |
{
|
|
244 |
if ( !mLibraryUpdating && mEngine ) {
|
43
|
245 |
dismissListClosingAnimation();
|
35
|
246 |
mEngine->openCollection( ECollectionContextAlbumsMediaWall );
|
|
247 |
}
|
|
248 |
}
|
|
249 |
|
|
250 |
/*!
|
|
251 |
Slot to be called when the container contents changed.
|
|
252 |
*/
|
|
253 |
void MpMediaWallView::libraryAboutToUpdate()
|
|
254 |
{
|
|
255 |
mLibraryUpdating = true;
|
|
256 |
}
|
|
257 |
|
|
258 |
/*!
|
|
259 |
Slot to be called when the container contents changed.
|
|
260 |
*/
|
|
261 |
void MpMediaWallView::libraryUpdated()
|
|
262 |
{
|
|
263 |
mLibraryUpdating = false;
|
|
264 |
if ( mEngine ) {
|
|
265 |
mEngine->openCollection( ECollectionContextAlbumsMediaWall );
|
|
266 |
}
|
|
267 |
}
|
|
268 |
|
|
269 |
/*!
|
|
270 |
Slot called to start the album and list opening animation.
|
|
271 |
*/
|
|
272 |
void MpMediaWallView::showTrackList()
|
|
273 |
{
|
|
274 |
if( mShowingSongsList ) {
|
|
275 |
return;
|
|
276 |
}
|
|
277 |
mShowingSongsList = true;
|
|
278 |
setUpListAnimation();
|
|
279 |
mListShowAnimationGroup->setDirection(QAbstractAnimation::Forward);
|
|
280 |
mListShowAnimationGroup->start();
|
37
|
281 |
mModel->setItemVisibility( mMediaWallWidget->currentIndex(), false );
|
35
|
282 |
}
|
|
283 |
|
|
284 |
/*!
|
|
285 |
Slot to be called to starts the album and list closing animation.
|
|
286 |
*/
|
|
287 |
void MpMediaWallView::hideTracksList()
|
|
288 |
{
|
|
289 |
mListShowAnimationGroup->setDirection(QAbstractAnimation::Backward);
|
|
290 |
connect(mListShowAnimationGroup, SIGNAL(finished()), this, SLOT(dismissListClosingAnimation()));
|
|
291 |
mListShowAnimationGroup->start();
|
|
292 |
}
|
|
293 |
|
|
294 |
/*!
|
|
295 |
Slot to be called when list closing animation is done or when we want to cancel the animation.
|
|
296 |
*/
|
|
297 |
void MpMediaWallView::dismissListClosingAnimation()
|
|
298 |
{
|
|
299 |
if ( !mShowingSongsList ) {
|
|
300 |
return;
|
|
301 |
}
|
|
302 |
mShowingSongsList = false;
|
|
303 |
mAlbumCover->hide();
|
|
304 |
mTrackList->hide();
|
37
|
305 |
mModel->setItemVisibility( mMediaWallWidget->currentIndex(), true );
|
35
|
306 |
mListShowAnimationGroup->stop();
|
|
307 |
disconnect(mListShowAnimationGroup, SIGNAL(finished()), this, SLOT(dismissListClosingAnimation()));
|
|
308 |
}
|
|
309 |
|
|
310 |
/*!
|
|
311 |
Slot to be called when a list item is selected by the user.
|
|
312 |
*/
|
|
313 |
void MpMediaWallView::listItemActivated( const QModelIndex &index )
|
|
314 |
{
|
55
|
315 |
if (mCollectionData->hasAlbumSongProperty(index.row(), MpMpxCollectionData::Corrupted)) {
|
51
|
316 |
//pop up corrupted note
|
|
317 |
HbMessageBox *messageBox = new HbMessageBox( hbTrId( "txt_mus_info_file_is_corrupt" ), HbMessageBox::MessageTypeInformation );
|
|
318 |
messageBox->setAttribute( Qt::WA_DeleteOnClose );
|
|
319 |
messageBox->setIcon( HbIcon( QString("qtg_small_fail") ) );
|
|
320 |
messageBox->show();
|
|
321 |
}
|
55
|
322 |
else if ( (mPlaybackData->playbackState() != MpPlaybackData::NotPlaying )
|
|
323 |
&& ( mPlaybackData->id() == mCollectionData->albumSongId( index.row() ) ) ) {
|
|
324 |
MpEngineFactory::sharedEngine()->playPause();
|
|
325 |
}
|
|
326 |
else {
|
|
327 |
int albumIndex = mMediaWallWidget->currentIndex().row();
|
|
328 |
//We are playing on the shared engine, but we pass the collection data that
|
|
329 |
//points to albums on media wall, this is used to construct the playlist.
|
|
330 |
MpEngineFactory::sharedEngine()->playAlbumSongs( albumIndex, index.row(), mCollectionData );
|
|
331 |
}
|
35
|
332 |
}
|
|
333 |
|
|
334 |
/*!
|
37
|
335 |
Slot to be called to fetch the songs for an album.
|
|
336 |
*/
|
|
337 |
void MpMediaWallView::fetchAlbumSongs(QModelIndex index)
|
|
338 |
{
|
|
339 |
if ( !mCollectionData->setCurrentAlbum( index.row() ) ) {
|
|
340 |
mEngine->findAlbumSongs( index.row() );
|
|
341 |
}
|
|
342 |
}
|
|
343 |
|
|
344 |
/*!
|
35
|
345 |
Loads the media wall widget.
|
|
346 |
*/
|
|
347 |
void MpMediaWallView::setUpMediaWallWidget()
|
|
348 |
{
|
37
|
349 |
HbIcon defaultIcon( "qtg_large_album_art" );
|
35
|
350 |
defaultIcon.setSize(mMediaWallWidget->itemSize());
|
|
351 |
mMediaWallWidget->setDefaultImage( defaultIcon.pixmap().toImage() );
|
55
|
352 |
mMediaWallWidget->enableReflections( false );
|
35
|
353 |
mMediaWallWidget->setModel( mModel );
|
43
|
354 |
scrollToDefault();
|
|
355 |
mMediaWallWidget->setTitleFontSpec( HbFontSpec( HbFontSpec::Primary ) );
|
|
356 |
mMediaWallWidget->setDescriptionFontSpec( HbFontSpec( HbFontSpec::Secondary ) );
|
|
357 |
mMediaWallWidget->setScrollBarPolicy( HgWidget::ScrollBarAlwaysOn ); //HgWidget::ScrollBarAutoHide
|
|
358 |
mMediaWallWidget->scrollBar()->setInteractive( true );
|
|
359 |
mMediaWallWidget->setIndexFeedbackPolicy( HgWidget::IndexFeedbackSingleCharacter );
|
|
360 |
connect(mMediaWallWidget, SIGNAL(animationAboutToEnd(QModelIndex)), SLOT(fetchAlbumSongs(QModelIndex)));
|
|
361 |
connect(mMediaWallWidget, SIGNAL(activated(QModelIndex)), SLOT(showTrackList()));
|
|
362 |
connect(mMediaWallWidget, SIGNAL(scrollingStarted()), SLOT(dismissListClosingAnimation()));
|
|
363 |
}
|
|
364 |
/*!
|
|
365 |
Scrolls the media wall to a default position.
|
|
366 |
*/
|
|
367 |
void MpMediaWallView::scrollToDefault()
|
|
368 |
{
|
|
369 |
//if something is playing go there, if not go to a balanced position.
|
35
|
370 |
if ( mPlaybackData->playbackState() != MpPlaybackData::NotPlaying ) {
|
|
371 |
scrollToNowPlaying();
|
|
372 |
}
|
43
|
373 |
else if ( mModel->rowCount() >= 5 ) {
|
35
|
374 |
/* 5 and more
|
|
375 |
[0] [1] [X] [3] [4]...
|
|
376 |
*/
|
|
377 |
QModelIndex index;
|
|
378 |
index = mModel->index( 2 );
|
|
379 |
mMediaWallWidget->scrollTo( index );
|
43
|
380 |
fetchAlbumSongs( index );
|
|
381 |
|
35
|
382 |
}
|
|
383 |
else if ( mModel->rowCount() >=3 ) {
|
|
384 |
/* 4 and 3
|
|
385 |
__ [0] [X] [2] [3]
|
|
386 |
__ [0] [X] [2] __
|
|
387 |
*/
|
|
388 |
QModelIndex index;
|
|
389 |
index = mModel->index( 1 );
|
|
390 |
mMediaWallWidget->scrollTo( index );
|
43
|
391 |
fetchAlbumSongs( index );
|
35
|
392 |
}
|
|
393 |
else {
|
|
394 |
/* 2 and 1
|
|
395 |
__ __ [X] [1] __
|
|
396 |
__ __ [X] __ __
|
|
397 |
*/
|
|
398 |
QModelIndex index;
|
|
399 |
index = mModel->index( 0 );
|
|
400 |
mMediaWallWidget->scrollTo( index );
|
43
|
401 |
fetchAlbumSongs( index );
|
35
|
402 |
}
|
|
403 |
}
|
|
404 |
|
|
405 |
/*!
|
|
406 |
Scrolls the media wall to now playing position.
|
|
407 |
*/
|
|
408 |
void MpMediaWallView::scrollToNowPlaying()
|
|
409 |
{
|
|
410 |
if ( mMediaWallWidget && mPlaybackData->playbackState() != MpPlaybackData::NotPlaying ) {
|
|
411 |
int albumId = mPlaybackData->albumId();
|
|
412 |
QModelIndex index;
|
|
413 |
index = mModel->index( mCollectionData->itemIndex( albumId ) );
|
|
414 |
mMediaWallWidget->scrollTo( index );
|
43
|
415 |
fetchAlbumSongs( index );
|
35
|
416 |
}
|
|
417 |
}
|
|
418 |
|
|
419 |
/*!
|
|
420 |
Sets up the album and list animation.
|
|
421 |
*/
|
|
422 |
void MpMediaWallView::setUpListAnimation()
|
|
423 |
{
|
|
424 |
if ( !mListShowAnimationGroup ) {
|
|
425 |
mListShowAnimationGroup = new QParallelAnimationGroup( this );
|
|
426 |
mCoverShowListAnimation = new QPropertyAnimation(mAlbumCover, "geometry", this );
|
|
427 |
mCoverShowListAnimation->setDuration( 400 );
|
|
428 |
mCoverShowListAnimation->setEasingCurve(QEasingCurve::InOutCubic);
|
|
429 |
mListShowAnimationGroup->addAnimation(mCoverShowListAnimation);
|
|
430 |
mListShowListAnimation = new QPropertyAnimation( mTrackList, "geometry", this );
|
|
431 |
mListShowListAnimation->setDuration( 400 );
|
|
432 |
mListShowListAnimation->setEasingCurve(QEasingCurve::InOutCubic);
|
37
|
433 |
mListShowAnimationGroup->addAnimation(mListShowListAnimation);
|
35
|
434 |
}
|
|
435 |
|
|
436 |
//Get the current album cover geometry.
|
|
437 |
QPolygonF poly;
|
|
438 |
QModelIndex index = mMediaWallWidget->currentIndex();
|
|
439 |
if ( !mMediaWallWidget->getItemOutline( index, poly ) ) {
|
|
440 |
return;
|
|
441 |
}
|
|
442 |
QRectF itemRect = poly.boundingRect();
|
|
443 |
|
|
444 |
//Get the album cover icon.
|
|
445 |
QVariant image = mModel->data(index, Qt::DecorationRole);
|
|
446 |
if ( image.canConvert<HbIcon>() ) {
|
|
447 |
mAlbumCover->setIcon(image.value<HbIcon>());
|
|
448 |
}
|
|
449 |
else {
|
|
450 |
mAlbumCover->setIcon(HbIcon());
|
|
451 |
}
|
|
452 |
|
|
453 |
//Mapping form local media wall coords to window coors.
|
|
454 |
itemRect.moveTo( mMediaWallWidget->geometry().topLeft() + itemRect.topLeft());
|
|
455 |
//Calculate start and end position of items for the animation.
|
|
456 |
QRectF endRect = itemRect;
|
|
457 |
endRect.moveTo( endRect.topLeft().x() - endRect.size().width() / 2.0, endRect.topLeft().y() );
|
|
458 |
mCoverShowListAnimation->setStartValue(itemRect);
|
|
459 |
mCoverShowListAnimation->setEndValue(endRect);
|
37
|
460 |
endRect.moveTo( endRect.topRight() );
|
35
|
461 |
mListShowListAnimation->setStartValue(itemRect);
|
|
462 |
mListShowListAnimation->setEndValue(endRect);
|
|
463 |
|
|
464 |
//set initial condition and show to prevent flicker.
|
|
465 |
mAlbumCover->setPos(itemRect.topLeft());
|
|
466 |
mTrackList->setPos(itemRect.topLeft());
|
|
467 |
mTrackList->setGeometry(itemRect);
|
|
468 |
mAlbumCover->show();
|
|
469 |
mTrackList->show();
|
|
470 |
}
|
|
471 |
|