OTHER: Modified buttons in PlaylistWindow

Moved positions and sizes of close and shade buttons to Skin
changed buttons to use PixmapButton
moved buttons from PlaylistWindow to PlaylistWidget and PlaylistShade
removed now unused Button
fixed position of shadebutton (was off by 1)
fixed icon of shade button in shaded mode
This commit is contained in:
Thomas Frauendorfer 2008-05-16 16:46:07 +02:00
parent f0211e3958
commit 4eb7762009
10 changed files with 119 additions and 241 deletions

View file

@ -20,13 +20,16 @@
#include <QScrollBar>
#include <QSizeGrip>
#include <QWidget>
class PlaylistWidget;
class PlaylistWindow;
class PlaylistScroller;
class Skin;
class PlaylistView;
class PlaylistMenu;
class PixmapButton;
class PlaylistSizeGrip : public QSizeGrip {
@ -70,7 +73,7 @@ class PlaylistWidget : public QWidget {
Q_OBJECT
public:
PlaylistWidget (QWidget *parent);
PlaylistWidget (PlaylistWindow *parent);
~PlaylistWidget () {}
void setActive (bool);
@ -94,6 +97,9 @@ class PlaylistWidget : public QWidget {
void addButtons (void);
void diveDir (const QString &);
PixmapButton *m_closebtn;
PixmapButton *m_shadebtn;
QPixmap m_corner1;
QPixmap m_corner2;
QPixmap m_corner3;