com.trolltech.qt.gui
Class QFont.StyleHint

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QFont.StyleHint
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QFont

public static final class QFont.StyleHint
extends java.lang.Enum
implements QtEnumerator

This enum describes the available style hints. A style hint is a general look and/or feel hint.

See also:
styleHint().

See Also:
Serialized Form

Field Summary
static QFont.StyleHint AnyStyle
           
static QFont.StyleHint Courier
           
static QFont.StyleHint Helvetica
           
static QFont.StyleHint OldEnglish
           
static QFont.StyleHint System
           
static QFont.StyleHint Times
           
 
Method Summary
static QFont.StyleHint resolve(int value)
          Returns the StyleHint constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QFont.StyleHint valueOf(java.lang.String name)
           
static QFont.StyleHint[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Helvetica

public static final QFont.StyleHint Helvetica

Times

public static final QFont.StyleHint Times

Courier

public static final QFont.StyleHint Courier

OldEnglish

public static final QFont.StyleHint OldEnglish

System

public static final QFont.StyleHint System

AnyStyle

public static final QFont.StyleHint AnyStyle
Method Detail

values

public static QFont.StyleHint[] values()

valueOf

public static QFont.StyleHint valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QFont.StyleHint resolve(int value)
Returns the StyleHint constant with the specified int.