Change playlist to use Esperanza's playlistmodel
This commit is contained in:
parent
85cf6a8d1c
commit
503385309b
96 changed files with 2010 additions and 412 deletions
41
src/TitleBar.h
Normal file
41
src/TitleBar.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#ifndef __TITLEBAR_H__
|
||||
#define __TITLEBAR_H__
|
||||
|
||||
class TitleBar;
|
||||
|
||||
#include "PixWidget.h"
|
||||
|
||||
class Button;
|
||||
|
||||
class TitleBar : public PixWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
TitleBar (QWidget *parent, bool shaded);
|
||||
~TitleBar ();
|
||||
void setActive (bool active);
|
||||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
void showMenu (void);
|
||||
void showServerB (void);
|
||||
void showTheme (void);
|
||||
void showMlib (void);
|
||||
void showSettings (void);
|
||||
|
||||
protected:
|
||||
void mouseDoubleClickEvent (QMouseEvent *event);
|
||||
|
||||
private:
|
||||
QPixmap m_pixmap_active;
|
||||
QPixmap m_pixmap_inactive;
|
||||
|
||||
Button *m_shadebtn;
|
||||
Button *m_menubtn;
|
||||
Button *m_closebtn;
|
||||
Button *m_minimize;
|
||||
|
||||
bool m_shaded;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue