com.trolltech.qt.gui
Class QPageSetupDialog.PageSetupDialogOption

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

public static final class QPageSetupDialog.PageSetupDialogOption
extends java.lang.Enum
implements QtEnumerator

Used to specify options to the page setup dialog

This value is obsolete and does nothing since Qt 4.5:

See Also:
Serialized Form

Field Summary
static QPageSetupDialog.PageSetupDialogOption DontUseSheet
          In previous versions of Qt, exec() the page setup dialog would create a sheet by default if the dialog was given a parent.
static QPageSetupDialog.PageSetupDialogOption None
           
static QPageSetupDialog.PageSetupDialogOption OwnsPrinter
           
 
Method Summary
static QPageSetupDialog.PageSetupDialogOptions createQFlags(QPageSetupDialog.PageSetupDialogOption[] values)
          This function creates a com.trolltech.qt.gui.QPageSetupDialog$PageSetupDialogOptions with the specified com.trolltech.qt.gui.QPageSetupDialog$PageSetupDialogOption[] QPageSetupDialog$PageSetupDialogOption values set.
static QPageSetupDialog.PageSetupDialogOption resolve(int value)
          Returns the QPageSetupDialog$PageSetupDialogOption 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 QPageSetupDialog.PageSetupDialogOption valueOf(java.lang.String name)
           
static QPageSetupDialog.PageSetupDialogOption[] 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

None

public static final QPageSetupDialog.PageSetupDialogOption None

DontUseSheet

public static final QPageSetupDialog.PageSetupDialogOption DontUseSheet
In previous versions of Qt, exec() the page setup dialog would create a sheet by default if the dialog was given a parent. This is no longer supported in Qt 4.5. If you want to use sheets, use QPageSetupDialog::open() instead.


OwnsPrinter

public static final QPageSetupDialog.PageSetupDialogOption OwnsPrinter
Method Detail

values

public static QPageSetupDialog.PageSetupDialogOption[] values()

valueOf

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


resolve

public static QPageSetupDialog.PageSetupDialogOption resolve(int value)
Returns the QPageSetupDialog$PageSetupDialogOption constant with the specified int.