You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
730 B
36 lines
730 B
#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
|
|
|