
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQScreenDriverFactory class creates screen drivers in Qt for Embedded Linux.More...
| Header: | #include <QScreenDriverFactory> |
TheQScreenDriverFactory class creates screen drivers in Qt for Embedded Linux.
Note that this class is only available inQt for Embedded Linux.
QScreenDriverFactory is used to detect and instantiate the available screen drivers, allowingQt for Embedded Linux to load the preferred driver into the server application at runtime. Thecreate() function returns aQScreen object representing the screen driver identified by a given key. The valid keys (i.e. the supported drivers) can be retrieved using thekeys() function.
Qt for Embedded Linux provides several built-in screen drivers. In addition, custom screen drivers can be added using Qt's plugin mechanism, i.e. by subclassing theQScreen class and creating a screen driver plugin (QScreenDriverPlugin). See thedisplay management documentation for details.
See alsoQScreen andQScreenDriverPlugin.
[static]QScreen * QScreenDriverFactory::create(constQString & key,int displayId)Creates the screen driver specified by the givenkey, using the display specified by the givendisplayId.
Note that the keys are case-insensitive.
See alsokeys().
[static]QStringList QScreenDriverFactory::keys()Returns the list of valid keys, i.e. the available screen drivers.
See alsocreate().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.