Qt 4.8
|
#include <qlinuxfbintegration.h>
Public Functions | |
QPixmapData * | createPixmapData (QPixmapData::PixelType type) const |
Factory function for QPixmapData. More... | |
QPlatformWindow * | createPlatformWindow (QWidget *widget, WId WinId) const |
Factory function for QPlatformWindow. More... | |
QWindowSurface * | createWindowSurface (QWidget *widget, WId WinId) const |
Factory function for QWindowSurface. More... | |
QPlatformFontDatabase * | fontDatabase () const |
Accessor for the platform integrations fontdatabase. More... | |
bool | hasCapability (QPlatformIntegration::Capability cap) const |
QLinuxFbIntegration () | |
QList< QPlatformScreen * > | screens () const |
Accessor function to a list of all the screens on the current system. More... | |
~QLinuxFbIntegration () | |
Public Functions inherited from QPlatformIntegration | |
virtual QPlatformClipboard * | clipboard () const |
Accessor for the platform integrations clipboard. More... | |
virtual QPlatformEventLoopIntegration * | createEventLoopIntegration () const |
Factory function for the eventloop integration interface. More... | |
virtual QPixmap | grabWindow (WId window, int x, int y, int width, int height) const |
This function is called when Qt needs to be able to grab the content of a window. More... | |
virtual bool | isVirtualDesktop () |
Returns if the current windowing system configuration defines all the screens to be one desktop(virtual desktop), or if each screen is a desktop of its own. More... | |
virtual void | moveToScreen (QWidget *window, int screen) |
This function is called when a QWidget is displayed on screen, or the QWidget is to be displayed on a new screen. More... | |
virtual QPlatformNativeInterface * | nativeInterface () const |
virtual | ~QPlatformIntegration () |
Private Types | |
enum | PixelType { NormalPixel, BGRPixel } |
Private Functions | |
void | blank (bool on) |
bool | connect (const QString &displaySpec) |
void | createPalette (fb_cmap &cmap, fb_var_screeninfo &vinfo, fb_fix_screeninfo &finfo) |
bool | initDevice () |
void | setPixelFormat (struct fb_var_screeninfo) |
Properties | |
int | cacheStart |
bool | canaccel |
int | d |
QLinuxFbIntegrationPrivate * | d_ptr |
uchar * | data |
int | dataoffset |
int | dh |
int | displayId |
int | dw |
QPlatformFontDatabase * | fontDb |
bool | grayscale |
int | h |
int | lstep |
int | mapsize |
QLinuxFbScreen * | mPrimaryScreen |
QList< QPlatformScreen * > | mScreens |
int | physHeight |
int | physWidth |
PixelType | pixeltype |
QRgb | screenclut [256] |
int | screencols |
QImage::Format | screenFormat |
int | size |
int | w |
Additional Inherited Members | |
Public Types inherited from QPlatformIntegration | |
enum | Capability { ThreadedPixmaps = 1, OpenGL = 2 } |
Definition at line 74 of file qlinuxfbintegration.h.
|
private |
QLinuxFbIntegration::QLinuxFbIntegration | ( | ) |
Definition at line 159 of file qlinuxfbintegration.cpp.
QLinuxFbIntegration::~QLinuxFbIntegration | ( | ) |
Definition at line 179 of file qlinuxfbintegration.cpp.
|
private |
|
private |
Definition at line 185 of file qlinuxfbintegration.cpp.
Referenced by QLinuxFbIntegration().
|
private |
Definition at line 630 of file qlinuxfbintegration.cpp.
Referenced by connect(), and initDevice().
|
virtual |
Factory function for QPixmapData.
PixelType can be either PixmapType or BitmapType.
Implements QPlatformIntegration.
Definition at line 794 of file qlinuxfbintegration.cpp.
|
virtual |
Factory function for QPlatformWindow.
The widget parameter is a pointer to the top level widget(tlw) which the QPlatformWindow is suppose to be created for. The WId handle is actually never used, but there for future reference. Its purpose is if it is going to be possible to create QPlatformWindows on existing WId.
All tlw has to have a QPlatformWindow, and it will be created when the QPlatformWindow is set to be visible for the first time. If the tlw's window flags are changed, or if the tlw's QPlatformWindowFormat is changed, then the tlw's QPlatformWindow is deleted and a new one is created.
Implements QPlatformIntegration.
Definition at line 806 of file qlinuxfbintegration.cpp.
|
virtual |
Factory function for QWindowSurface.
The QWidget parameter is a pointer to the top level widget(tlw) the window surface is created for. A QPlatformWindow is always created before the QWindowSurface for tlw where the widget also requires a WindowSurface. It is possible to create top level QWidgets without a QWindowSurface by specifying QPlatformWindowFormat::setWindowSurface(false) for the tlw QPlatformWindowFormat.
Implements QPlatformIntegration.
Definition at line 799 of file qlinuxfbintegration.cpp.
|
virtual |
Accessor for the platform integrations fontdatabase.
Default implementation returns a default QPlatformFontDatabase.
Reimplemented from QPlatformIntegration.
Definition at line 813 of file qlinuxfbintegration.cpp.
|
virtual |
Reimplemented from QPlatformIntegration.
Definition at line 785 of file qlinuxfbintegration.cpp.
|
private |
Definition at line 415 of file qlinuxfbintegration.cpp.
Referenced by QLinuxFbIntegration().
|
inlinevirtual |
Accessor function to a list of all the screens on the current system.
The screen with the index == 0 is the default/main screen.
Implements QPlatformIntegration.
Definition at line 86 of file qlinuxfbintegration.h.
|
private |
Definition at line 542 of file qlinuxfbintegration.cpp.
Referenced by connect().
|
private |
Definition at line 123 of file qlinuxfbintegration.h.
|
private |
Definition at line 121 of file qlinuxfbintegration.h.
Referenced by connect(), and initDevice().
|
private |
Definition at line 106 of file qlinuxfbintegration.h.
Referenced by connect(), and setPixelFormat().
|
private |
Definition at line 93 of file qlinuxfbintegration.h.
Referenced by blank(), connect(), initDevice(), QLinuxFbIntegration(), and ~QLinuxFbIntegration().
|
private |
Definition at line 100 of file qlinuxfbintegration.h.
Referenced by connect(), and QLinuxFbIntegration().
|
private |
Definition at line 122 of file qlinuxfbintegration.h.
Referenced by connect().
|
private |
Definition at line 111 of file qlinuxfbintegration.h.
Referenced by connect().
|
private |
Definition at line 116 of file qlinuxfbintegration.h.
|
private |
Definition at line 110 of file qlinuxfbintegration.h.
Referenced by connect().
|
private |
Definition at line 130 of file qlinuxfbintegration.h.
Referenced by fontDatabase().
|
private |
Definition at line 108 of file qlinuxfbintegration.h.
Referenced by connect(), createPalette(), and initDevice().
|
private |
Definition at line 105 of file qlinuxfbintegration.h.
Referenced by connect(), and QLinuxFbIntegration().
|
private |
Definition at line 104 of file qlinuxfbintegration.h.
Referenced by connect(), and QLinuxFbIntegration().
|
private |
Definition at line 114 of file qlinuxfbintegration.h.
Referenced by connect(), and initDevice().
|
private |
Definition at line 91 of file qlinuxfbintegration.h.
Referenced by createPlatformWindow(), createWindowSurface(), QLinuxFbIntegration(), and ~QLinuxFbIntegration().
|
private |
Definition at line 92 of file qlinuxfbintegration.h.
Referenced by QLinuxFbIntegration().
|
private |
Definition at line 119 of file qlinuxfbintegration.h.
Referenced by connect(), and QLinuxFbIntegration().
|
private |
Definition at line 118 of file qlinuxfbintegration.h.
Referenced by connect(), and QLinuxFbIntegration().
|
private |
Definition at line 107 of file qlinuxfbintegration.h.
Referenced by setPixelFormat().
|
private |
Definition at line 97 of file qlinuxfbintegration.h.
Referenced by connect(), and createPalette().
|
private |
Definition at line 98 of file qlinuxfbintegration.h.
Referenced by connect(), createPalette(), and initDevice().
|
private |
Definition at line 102 of file qlinuxfbintegration.h.
Referenced by QLinuxFbIntegration(), and setPixelFormat().
|
private |
Definition at line 113 of file qlinuxfbintegration.h.
Referenced by connect(), and initDevice().
|
private |
Definition at line 103 of file qlinuxfbintegration.h.
Referenced by connect(), createPlatformWindow(), and QLinuxFbIntegration().