11 #include "playerpanel.h"
16 class ControlPanel
: public QFrame
21 ControlPanel(QWidget
* parent
, PlayerPanel
* playerPanel
);
23 QSize
sizeHint () const { return QSize(100,50); }
25 void setStatus(QString status
) {
26 m_statusLabel
.setText(status
);
29 int addFiles (QStringList
&);
31 void setShuffleEnabled(bool enabled
) { m_shuffleButton
->setEnabled(enabled
); }
32 void setPlayEnabled(bool enabled
) { m_playButton
->setEnabled(enabled
); }
35 void launchAddFileDialog();
36 void shufflePlaylist();
43 QPushButton
* m_shuffleButton
;
44 QPushButton
* m_playButton
;
45 PlayerPanel
* m_playerPanel
;