leftW->addWidget( selector );
/* Art label */
- art = new QLabel( "" );
+ art = new ArtLabel;
art->setMinimumHeight( 128 );
art->setMinimumWidth( 128 );
art->setMaximumHeight( 128 );
art->setMaximumWidth( 128 );
art->setScaledContents( true );
art->setPixmap( QPixmap( ":/noart.png" ) );
+ art->setToolTip( qtr( "Double click to get the media informations" ) );
leftW->addWidget( art );
/* Initialisation of the playlist */
#include <vlc/vlc.h>
#include "qt4.hpp"
+#include "dialogs_provider.hpp"
#include <QSplitter>
+#include <QLabel>
-class QLabel;
class PLSelector;
class PLPanel;
class QPushButton;
void artSet( QString );
};
+class ArtLabel : public QLabel
+{
+ Q_OBJECT
+ void mouseDoubleClickEvent( QMouseEvent *event )
+ {
+ THEDP->mediaInfoDialog();
+ }
+};
+
+
#endif