42 #ifndef QLIGHTHOUSEGRAPHICSSCREEN_H 43 #define QLIGHTHOUSEGRAPHICSSCREEN_H 49 #include <QPlatformCursor> 50 #include <QPlatformScreen> 51 #include <QPlatformWindow> 52 #include <QtGui/private/qwindowsurface_p.h> 102 virtual bool scroll(
const QRegion &
area,
int dx,
int dy);
104 virtual void beginPaint(
const QRegion ®ion);
105 virtual void endPaint(
const QRegion ®ion);
109 void resize(
const QSize &size);
128 virtual void setVisible(
bool visible);
129 virtual bool visible() {
return visibleFlag; }
131 virtual void raise();
132 virtual void lower();
134 void setGeometry(
const QRect &rect);
136 virtual Qt::WindowFlags setWindowFlags(Qt::WindowFlags
type);
137 virtual Qt::WindowFlags windowFlags()
const;
141 virtual void repaint(
const QRegion&);
163 virtual int depth()
const {
return mDepth; }
167 virtual void setGeometry(
QRect rect);
168 virtual void setDepth(
int depth);
170 virtual void setPhysicalSize(
QSize size);
174 virtual void removeWindow(
QFbWindow * surface);
175 virtual void addWindow(
QFbWindow * surface);
201 void generateRects();
210 #endif // QLIGHTHOUSEGRAPHICSSCREEN_H The QPainter class performs low-level painting on widgets and other paint devices.
Format
The following image formats are available in Qt.
The QCursor class provides a mouse cursor with an arbitrary shape.
QPointer< QWidget > widget
QPainter * compositePainter
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
virtual QSize physicalSize() const
Reimplement this function in subclass to return the physical size of the screen.
virtual int depth() const
Reimplement in subclass to return current depth of the screen.
WId winId() const
Reimplement in subclasses to return a handle to the native window.
QList< QPair< QRect, int > > cachedRects
void invalidateRectCache()
QFbWindow * platformWindow
virtual QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
The QRegion class specifies a clip region for a painter.
QPaintDevice * paintDevice() const
The QWindowSurface class provides the drawing area for top-level windows.
QPlatformSoftwareCursor * cursor
The QMouseEvent class contains parameters that describe a mouse event.
virtual QImage::Format format() const
Reimplement in subclass to return the image format which corresponds to the screen format...
The QPoint class defines a point in the plane using integer precision.
QFbWindowSurface * surface
The QRect class defines a rectangle in the plane using integer precision.
QList< QFbScreen * > mScreens
Q_CORE_EXPORT QTextStream & flush(QTextStream &s)
The QSize class defines the size of a two-dimensional object using integer point precision.
virtual QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.
The QTimer class provides repetitive and single-shot timers.
QList< QFbWindow * > windowStack
The QList class is a template class that provides lists.
static int area(const QSize &s)