42 #ifndef QTESTLITEWINDOW_H 43 #define QTESTLITEWINDOW_H 47 #include <QPlatformWindow> 93 void mousePressEvent(XButtonEvent*);
96 void handleCloseEvent();
97 void handleEnterEvent();
98 void handleLeaveEvent();
99 void handleFocusInEvent();
100 void handleFocusOutEvent();
102 void resizeEvent(XConfigureEvent *configure_event);
105 void requestActivateWindow();
107 void setGeometry(
const QRect &rect);
109 Qt::WindowFlags setWindowFlags(Qt::WindowFlags
type);
110 Qt::WindowFlags windowFlags()
const;
111 void setVisible(
bool visible);
116 void setWindowTitle(
const QString &title);
118 void setCursor(
const Cursor &cursor);
123 GC graphicsContext()
const;
127 Visual*
visual()
const {
return mVisual; }
Format
The following image formats are available in Qt.
QPlatformGLContext * mGLContext
The QString class provides a Unicode character string.
The QVector class is a template class that provides a dynamic array.
Qt::WindowFlags mWindowFlags
The QPlatformGLContext class provides an abstraction for native GL contexts.
Type
This enum type defines the valid event types in Qt.
The QRect class defines a rectangle in the plane using integer precision.
QImage::Format format() const