com.trolltech.qt.gui
Class QColorDialog.ColorDialogOption

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

public static final class QColorDialog.ColorDialogOption
extends java.lang.Enum
implements QtEnumerator

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

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

See Also:
Serialized Form

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

ShowAlphaChannel

public static final QColorDialog.ColorDialogOption ShowAlphaChannel
Allow the user to select the alpha component of a color.


NoButtons

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


DontUseNativeDialog

public static final QColorDialog.ColorDialogOption DontUseNativeDialog
Use Qt's standard color dialog on the Mac instead of Apple's native color panel.

Method Detail

values

public static QColorDialog.ColorDialogOption[] values()

valueOf

public static QColorDialog.ColorDialogOption 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 QColorDialog.ColorDialogOptions createQFlags(QColorDialog.ColorDialogOption[] values)
This function creates a com.trolltech.qt.gui.QColorDialog$ColorDialogOptions with the specified com.trolltech.qt.gui.QColorDialog$ColorDialogOption[] QColorDialog$ColorDialogOption values set.


resolve

public static QColorDialog.ColorDialogOption resolve(int value)
Returns the QColorDialog$ColorDialogOption constant with the specified int.