Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.QStyleFactory Class Reference

The QStyleFactory class creates QStyle objects. More...

Inheritance diagram for QtGui.QStyleFactory:
Collaboration diagram for QtGui.QStyleFactory:

Public Member Functions

 QStyleFactory ()
 
 QStyleFactory (QStyleFactory copy)
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Static Public Member Functions

static QStyle Create (string arg1)
 
 
static
System.Collections.Generic.List
< string > 
Keys ()
 
 

Protected Member Functions

 QStyleFactory (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QStyleFactory class creates QStyle objects.

The QStyle class is an abstract base class that encapsulates the look and feel of a GUI. QStyleFactory creates a QStyle object using the create() function and a key identifying the style. The styles are either built-in or dynamically loaded from a style plugin (see QStylePlugin).

The valid keys can be retrieved using the keys() function. Typically they include "windows", "motif", "cde", "plastique" and "cleanlooks". Depending on the platform, "windowsxp", "windowsvista" and "macintosh" may be available. Note that keys are case insensitive.

See also QStyle.

Constructor & Destructor Documentation

QtGui.QStyleFactory.QStyleFactory ( System.Type  dummy)
protected
QtGui.QStyleFactory.QStyleFactory ( )
QtGui.QStyleFactory.QStyleFactory ( QStyleFactory  copy)

Member Function Documentation

static QStyle QtGui.QStyleFactory.Create ( string  arg1)
static

Creates and returns a QStyle object that matches the given key, or returns 0 if no matching style is found.

Both built-in styles and styles from style plugins are queried for a matching style.

Note: The keys used are case insensitive.

See also keys().

virtual void QtGui.QStyleFactory.CreateProxy ( )
virtual
new void QtGui.QStyleFactory.Dispose ( )
static System.Collections.Generic.List<string> QtGui.QStyleFactory.Keys ( )
static

Returns the list of valid keys, i.e. the keys this factory can create styles for.

See also create().

Member Data Documentation

SmokeInvocation QtGui.QStyleFactory.interceptor
protected

Property Documentation

virtual System.IntPtr QtGui.QStyleFactory.SmokeObject
getset