37b09be6f3
started on a fixed system style. If you try it out make sure to read the new README, as it requires some gradient settings. svn path=/trunk/kdebase/kwin/; revision=30585
36 lines
730 B
C++
36 lines
730 B
C++
#ifndef BECLIENT_H
|
|
#define BECLIENT_H
|
|
#include "client.h"
|
|
class QToolButton;
|
|
class QLabel;
|
|
class QSpacerItem;
|
|
|
|
|
|
class BeClient : public Client
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
BeClient( Workspace *ws, WId w, QWidget *parent=0, const char *name=0 );
|
|
~BeClient();
|
|
protected:
|
|
void resizeEvent( QResizeEvent* );
|
|
void paintEvent( QPaintEvent* );
|
|
void mousePressEvent( QMouseEvent * );
|
|
void mouseReleaseEvent( QMouseEvent * );
|
|
void mouseDoubleClickEvent( QMouseEvent * e );
|
|
|
|
void captionChange( const QString& name );
|
|
|
|
void showEvent( QShowEvent* );
|
|
void activeChange( bool );
|
|
|
|
MousePosition mousePosition( const QPoint& p ) const;
|
|
|
|
private:
|
|
QSpacerItem* titlebar;
|
|
void doShape();
|
|
};
|
|
|
|
|
|
|
|
#endif
|