com.trolltech.qt.gui
Class QPrinter.ColorMode
java.lang.Object
java.lang.Enum
com.trolltech.qt.gui.QPrinter.ColorMode
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QPrinter
public static final class QPrinter.ColorMode
- extends java.lang.Enum
- implements QtEnumerator
This enum type is used to indicate whether QPrinter
should print in color or not.
- See Also:
- Serialized Form
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 |
GrayScale
public static final QPrinter.ColorMode GrayScale
- print in grayscale, even on color printers.
Color
public static final QPrinter.ColorMode Color
values
public static QPrinter.ColorMode[] values()
valueOf
public static QPrinter.ColorMode 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 QPrinter.ColorMode resolve(int value)
- Returns the QPrinter$ColorMode constant with the specified int.