Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator 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 key)
  More...
 

Protected Member Functions

 QStyleFactory (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

static
System.Collections.Generic.List
< string > 
Keys [get]
  More...
 
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 ( )

Here is the call graph for this function:

QtGui.QStyleFactory.QStyleFactory ( QStyleFactory  copy)

Here is the call graph for this function:

Member Function Documentation

static QStyle QtGui.QStyleFactory.Create ( string  key)
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

Here is the caller graph for this function:

new void QtGui.QStyleFactory.Dispose ( )

Member Data Documentation

SmokeInvocation QtGui.QStyleFactory.interceptor
protected

Property Documentation

System.Collections.Generic.List<string> QtGui.QStyleFactory.Keys
staticget

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

See also create().

virtual System.IntPtr QtGui.QStyleFactory.SmokeObject
getset