Qtopia Core Display Management
When rendering, Qtopia Core's default behavior is for each client to render its widgets into memory while the server is responsible for putting the contents of the memory onto the screen. The server uses the screen driver to copy the content of the memory to the display. The screen driver is loaded by the server application when it starts running, using Qt's plugin system. Содержание: Available DriversQtopia Core provides drivers for the Linux framebuffer, the virtual framebuffer, transformed screens, VNC servers and multi screens. Run the configure script to list the available drivers: ./configure -help In the default Qt configuration, only an unaccelerated Linux framebuffer driver (/dev/fb0) is enabled. The various drivers can be enabled and disabled using the configure script. Например: ./configure -qt-gfx-transformed Custom screen drivers can be implemented by subclassing the QScreen class and creating a screen driver plugin (derived from the QScreenDriverPlugin class). Qtopia Core's implementation of the QScreenDriverFactory class will automatically detect the plugin, loading the driver into the server application at runtime. Specifying a DriverTo specify which driver to use, set the QWS_DISPLAY environment variable. For example (if the current shell is bash, ksh, zsh or sh): export QWS_DISPLAY="<driver>[:<driver specific options>]... [:<display num>]" The valid values for the <driver> argument are LinuxFb, QVFb, VNC, Transformed, Multi and keys identifying custom drivers, and the <display num> argument is used to separate screens that are using the same screen driver and to enable multiple displays (see the Running Qtopia Core Applications documentation for more details). The driver specific options are described in the table below. The QWS_DISPLAY environment variable can also be set using the -display option when running an application. Например: myApplication -display "<driver>[:<driver specific options>]... [:<display num>]"
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |