1QStyleFactory(3qt)                                          QStyleFactory(3qt)
2
3
4

NAME

6       QStyleFactory - Creates QStyle objects
7

SYNOPSIS

9       #include <qstylefactory.h>
10
11   Static Public Members
12       <li class=fn>QStringList keys () <li class=fn>QStyle * create ( const
13       QString & key )
14

DESCRIPTION

16       The QStyleFactory class creates QStyle objects.
17
18       The style factory creates a QStyle object for a given key with
19       QStyleFactory::create(key).
20
21       The styles are either built-in or dynamically loaded from a style
22       plugin (see QStylePlugin).
23
24       QStyleFactory::keys() returns a list of valid keys, typically including
25       "Windows", "Motif", "CDE", "MotifPlus", "Platinum"," SGI" and
26       "Compact". Depending on the platform, "WindowsXP"," Aqua" or
27       "Macintosh" may be available.
28

MEMBER FUNCTION DOCUMENTATION

QStyle * QStyleFactory::create ( const QString & key ) [static]

31       Creates a QStyle object that matches key case-insensitively. This is
32       either a built-in style, or a style from a style plugin.
33
34       See also keys().
35
36       Example: themes/wood.cpp.
37

QStringList QStyleFactory::keys () [static]

39       Returns the list of keys this factory can create styles for.
40
41       See also create().
42
43       Example: themes/themes.cpp.
44
45

SEE ALSO

47       http://doc.trolltech.com/qstylefactory.html
48       http://www.trolltech.com/faq/tech.html
49
51       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
52       license file included in the distribution for a complete license
53       statement.
54

AUTHOR

56       Generated automatically from the source code.
57

BUGS

59       If you find a bug in Qt, please report it as described in
60       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
61       help you. Thank you.
62
63       The definitive Qt documentation is provided in HTML format; it is
64       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
65       web browser. This man page is provided as a convenience for those users
66       who prefer man pages, although this format is not officially supported
67       by Trolltech.
68
69       If you find errors in this manual page, please report them to qt-
70       bugs@trolltech.com.  Please include the name of the manual page
71       (qstylefactory.3qt) and the Qt version (3.3.8).
72
73
74
75Trolltech AS                    2 February 2007             QStyleFactory(3qt)
Impressum