Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QDecorationFactory Class Reference

The QDecorationFactory class creates window decorations in Qt for Embedded Linux. More...

 #include <QDecorationFactory>

Static Public Members

QDecoration * create ( const QString & key )
QStringList keys ()

Detailed Description

The QDecorationFactory class creates window decorations in Qt for Embedded Linux.

Note that this class is only available in Qt for Embedded Linux.

QDecorationFactory is used to detect and instantiate the available decorations, allowing Qt for Embedded Linux to load the preferred decoration into the application at runtime. The create() function returns a QDecoration object representing the decoration identified by a given key. The valid keys (i.e. the supported decorations) can be retrieved using the keys() function.

Qt for Embedded Linux provides three built-in decorations: Default, Styled and Windows. In addition, custom decorations can be added using Qt's plugin mechanism, i.e. by subclassing the QDecoration class and creating a mouse driver plugin (QDecorationPlugin).

See also QDecoration and QDecorationPlugin.

Member Function Documentation

QDecoration * QDecorationFactory::create ( const QString & key ) [static]

Creates the decoration specified by the given key. Note that the keys are case-insensitive.

See also keys().

QStringList QDecorationFactory::keys () [static]

Returns the list of valid keys, i.e., the available decorations.

See also create().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.8
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web