42 #ifndef QTESTLITESCREEN_H 43 #define QTESTLITESCREEN_H 45 #include <QtGui/QPlatformScreen> 85 #if !defined(QT_NO_OPENGL) && defined(QT_OPENGL_ES_2) 86 void *eglDisplay()
const {
return mEGLDisplay; }
87 void setEglDisplay(
void *display) { mEGLDisplay =
display; }
104 #if !defined(QT_NO_OPENGL) && defined(QT_OPENGL_ES_2) 112 #endif // QTESTLITESCREEN_H unsigned long whitePixel()
Format
The following image formats are available in Qt.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
void handleSelectionRequest(XEvent *event)
QImage grabWindow(Window window, int x, int y, int w, int h)
QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
QImage::Format format() const
Reimplement in subclass to return the image format which corresponds to the screen format...
static QXlibScreen * testLiteScreenForWidget(QWidget *widget)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool waitForClipboardEvent(Window win, int type, XEvent *event, int timeout)
QXlibKeyboard * keyboard() const
The QImage class provides a hardware-independent image representation that allows direct access to th...
int depth() const
Reimplement in subclass to return current depth of the screen.
int xScreenNumber() const
bool handleEvent(XEvent *xe)
Visual * defaultVisual() const
The QRect class defines a rectangle in the plane using integer precision.
QSize physicalSize() const
Reimplement this function in subclass to return the physical size of the screen.
The QSize class defines the size of a two-dimensional object using integer point precision.
QXlibKeyboard * mKeyboard
QXlibDisplay * display() const
unsigned long blackPixel()