com.trolltech.qt.gui
Class QInputDialog.InputDialogOption

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

public static final class QInputDialog.InputDialogOption
extends java.lang.Enum
implements QtEnumerator

This enum specifies various options that affect the look and feel of an input dialog.

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

See Also:
Serialized Form

Field Summary
static QInputDialog.InputDialogOption NoButtons
          Don't display OK and Cancel buttons.
static QInputDialog.InputDialogOption UseListViewForComboBoxItems
          Use a QListView rather than a non-editable QComboBox for displaying the items set with setComboBoxItems().
 
Method Summary
static QInputDialog.InputDialogOptions createQFlags(QInputDialog.InputDialogOption[] values)
          This function creates a com.trolltech.qt.gui.QInputDialog$InputDialogOptions with the specified com.trolltech.qt.gui.QInputDialog$InputDialogOption[] QInputDialog$InputDialogOption values set.
static QInputDialog.InputDialogOption resolve(int value)
          Returns the QInputDialog$InputDialogOption 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 QInputDialog.InputDialogOption valueOf(java.lang.String name)
           
static QInputDialog.InputDialogOption[] 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 QInputDialog.InputDialogOption NoButtons
Don't display OK and Cancel buttons. (Useful for "live dialogs".)


UseListViewForComboBoxItems

public static final QInputDialog.InputDialogOption UseListViewForComboBoxItems
Use a QListView rather than a non-editable QComboBox for displaying the items set with setComboBoxItems().

Method Detail

values

public static QInputDialog.InputDialogOption[] values()

valueOf

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


resolve

public static QInputDialog.InputDialogOption resolve(int value)
Returns the QInputDialog$InputDialogOption constant with the specified int.