1999-08-19 23:26:42 +00:00
|
|
|
#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* );
|
1999-11-22 01:57:51 +00:00
|
|
|
void windowWrapperShowEvent( QShowEvent* );
|
1999-08-19 23:26:42 +00:00
|
|
|
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
|