com.trolltech.qt.gui
Class QFontDialog.FontDialogOption

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

public static final class QFontDialog.FontDialogOption
extends java.lang.Enum
implements QtEnumerator

This enum specifies various options that affect the look and feel of a font dialog.

See also:
options, setOption(), and testOption().

See Also:
Serialized Form

Field Summary
static QFontDialog.FontDialogOption DontUseNativeDialog
          Use Qt's standard font dialog on the Mac instead of Apple's native font panel.
static QFontDialog.FontDialogOption NoButtons
          Don't display OK and Cancel buttons.
 
Method Summary
static QFontDialog.FontDialogOptions createQFlags(QFontDialog.FontDialogOption[] values)
          This function creates a com.trolltech.qt.gui.QFontDialog$FontDialogOptions with the specified com.trolltech.qt.gui.QFontDialog$FontDialogOption[] QFontDialog$FontDialogOption values set.
static QFontDialog.FontDialogOption resolve(int value)
          Returns the QFontDialog$FontDialogOption 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 QFontDialog.FontDialogOption valueOf(java.lang.String name)
           
static QFontDialog.FontDialogOption[] 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

NoButtons

public static final QFontDialog.FontDialogOption NoButtons
Don't display OK and Cancel buttons. (Useful for "live dialogs".)


DontUseNativeDialog

public static final QFontDialog.FontDialogOption DontUseNativeDialog
Use Qt's standard font dialog on the Mac instead of Apple's native font panel. (Currently, the native dialog is never used, but this is likely to change in future Qt releases.)

Method Detail

values

public static QFontDialog.FontDialogOption[] values()

valueOf

public static QFontDialog.FontDialogOption 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

createQFlags

public static QFontDialog.FontDialogOptions createQFlags(QFontDialog.FontDialogOption[] values)
This function creates a com.trolltech.qt.gui.QFontDialog$FontDialogOptions with the specified com.trolltech.qt.gui.QFontDialog$FontDialogOption[] QFontDialog$FontDialogOption values set.


resolve

public static QFontDialog.FontDialogOption resolve(int value)
Returns the QFontDialog$FontDialogOption constant with the specified int.