Added support for the shade/close buttons on the playlist, and changed the way

that togglePL works a bit to play nicer.
This commit is contained in:
Chris Gilbert 2006-03-12 02:19:45 +01:00 committed by Tobias Rundstrom
parent 13b9c47523
commit 0c5593076a
7 changed files with 49 additions and 8 deletions

View file

@ -9,6 +9,7 @@
#include <QMainWindow>
#include <QFont>
class MainWindow;
class PlaylistWidget;
class PlaylistScroller;
@ -113,7 +114,6 @@ class PlaylistWindow : public QMainWindow {
~PlaylistWindow () {}
void setActive (bool);
void switchDisplay (void);
void mousePressEvent (QMouseEvent *event);
void mouseMoveEvent (QMouseEvent *event);
@ -123,6 +123,10 @@ class PlaylistWindow : public QMainWindow {
void resizeEvent (QResizeEvent *event);
public slots:
void switchDisplay (void);
void togglePL (void);
private:
PlaylistWidget *m_playlist;
PlaylistShade *m_shaded;
@ -130,6 +134,10 @@ class PlaylistWindow : public QMainWindow {
int m_diffx;
int m_diffy;
Button *m_shadebtn;
Button *m_closebtn;
MainWindow *m_mw;
};
#endif