QWSWindow Class Reference

QWSWindow Class Reference

#include <qwindowsystem_qws.h>

Class Description

Definition at line 94 of file qwindowsystem_qws.h.

Public Types

enum  State {
  NoState, Hidden, Showing, Visible,
  Hiding, Raising, Lowering, Moving,
  ChangingGeometry, Destroyed
}
 

Public Member Functions

 QWSWindow (int i, QWSClient *client)
 
 ~QWSWindow ()
 
int winId () const
 
const QStringname () const
 
const QStringcaption () const
 
QWSClientclient () const
 
const QRegionrequestedRegion () const
 
QRegion allocatedRegion () const
 
QRegion paintedRegion () const
 
bool isVisible () const
 
bool isPartiallyObscured () const
 
bool isFullyObscured () const
 
State state () const
 
Qt::WindowFlags windowFlags () const
 
QRegion dirtyOnScreen () const
 
void raise ()
 
void lower ()
 
void show ()
 
void hide ()
 
void setActiveWindow ()
 
bool isOpaque () const
 
uint opacity () const
 
QWSWindowSurface * windowSurface () const
 

Friends

class QWSServer
 
class QWSServerPrivate
 

Member Enumeration Documentation

Constructor & Destructor Documentation

QWSWindow ( int  i,
QWSClient client 
)
~QWSWindow ( )

Member Function Documentation

int winId ( ) const
inline

Definition at line 103 of file qwindowsystem_qws.h.

103 { return id; }
GLuint id
Definition: GLee.h:1552
const QString& name ( ) const
inline

Definition at line 104 of file qwindowsystem_qws.h.

104 { return rgnName; }
const QString& caption ( ) const
inline

Definition at line 105 of file qwindowsystem_qws.h.

105 { return rgnCaption; }
QWSClient* client ( ) const
inline

Definition at line 106 of file qwindowsystem_qws.h.

106 { return c; }
const GLubyte * c
Definition: GLee.h:5419
const QRegion& requestedRegion ( ) const
inline

Definition at line 107 of file qwindowsystem_qws.h.

107 { return requested_region; }
QRegion allocatedRegion ( ) const
QRegion paintedRegion ( ) const
bool isVisible ( ) const
inline

Definition at line 110 of file qwindowsystem_qws.h.

110 { return !requested_region.isEmpty(); }
bool isEmpty() const
bool isPartiallyObscured ( ) const
inline

Definition at line 111 of file qwindowsystem_qws.h.

111 { return requested_region != allocatedRegion(); }
QRegion allocatedRegion() const
bool isFullyObscured ( ) const
inline

Definition at line 112 of file qwindowsystem_qws.h.

112 { return allocatedRegion().isEmpty(); }
QRegion allocatedRegion() const
bool isEmpty() const
State state ( ) const
Qt::WindowFlags windowFlags ( ) const
QRegion dirtyOnScreen ( ) const
void raise ( )
void lower ( )
void show ( )
void hide ( )
void setActiveWindow ( )
bool isOpaque ( ) const
inline

Definition at line 125 of file qwindowsystem_qws.h.

125 {return opaque && _opacity == 255;}
uint opacity ( ) const
inline

Definition at line 126 of file qwindowsystem_qws.h.

126 { return _opacity; }
QWSWindowSurface* windowSurface ( ) const
inline

Definition at line 128 of file qwindowsystem_qws.h.

128 { return surface; }

Friends And Related Function Documentation

friend class QWSServer
friend

Definition at line 96 of file qwindowsystem_qws.h.

friend class QWSServerPrivate
friend

Definition at line 97 of file qwindowsystem_qws.h.


The documentation for this class was generated from the following file: