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:
parent
f0211e3958
commit
4eb7762009
10 changed files with 119 additions and 241 deletions
|
@ -22,11 +22,15 @@
|
|||
#include <QWidget>
|
||||
#include <QHash>
|
||||
|
||||
class QResizeEvent;
|
||||
class PixmapButton;
|
||||
class PlaylistWindow;
|
||||
|
||||
class PlaylistShade : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PlaylistShade (QWidget *parent);
|
||||
PlaylistShade (PlaylistWindow *parent);
|
||||
~PlaylistShade () {}
|
||||
|
||||
void paintEvent (QPaintEvent *event);
|
||||
|
@ -37,8 +41,12 @@ class PlaylistShade : public QWidget {
|
|||
void setPixmaps (Skin *skin);
|
||||
void setMediainfo (const Xmms::PropDict &info);
|
||||
void settingsSaved ();
|
||||
void resizeEvent (QResizeEvent *);
|
||||
|
||||
private:
|
||||
PixmapButton *m_closebtn;
|
||||
PixmapButton *m_unshadebtn;
|
||||
|
||||
QPixmap m_pixmap_le;
|
||||
QPixmap m_pixmap_re;
|
||||
QPixmap m_pixmap_mid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue