|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QPrinter.PaperSource>
com.trolltech.qt.gui.QPrinter.PaperSource
public static enum QPrinter.PaperSource
This enum type specifies what paper source QPrinter is to use. QPrinter does not check that the paper source is available; it just uses this information to try and set the paper source. Whether it will set the paper source depends on whether the printer has that particular source.
Warning: This is currently only implemented for Windows.
Enum Constant Summary | |
---|---|
Auto
Internal. |
|
Cassette
Internal. |
|
Envelope
Internal. |
|
EnvelopeManual
Internal. |
|
FormSource
Internal. |
|
LargeCapacity
Internal. |
|
LargeFormat
Internal. |
|
Lower
Internal. |
|
Manual
Internal. |
|
MaxPageSource
Internal. |
|
Middle
Internal. |
|
OnlyOne
Internal. |
|
SmallFormat
Internal. |
|
Tractor
Internal. |
Method Summary | |
---|---|
static QPrinter.PaperSource |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QPrinter.PaperSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QPrinter.PaperSource[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final QPrinter.PaperSource OnlyOne
public static final QPrinter.PaperSource Lower
public static final QPrinter.PaperSource Middle
public static final QPrinter.PaperSource Manual
public static final QPrinter.PaperSource Envelope
public static final QPrinter.PaperSource EnvelopeManual
public static final QPrinter.PaperSource Auto
public static final QPrinter.PaperSource Tractor
public static final QPrinter.PaperSource SmallFormat
public static final QPrinter.PaperSource LargeFormat
public static final QPrinter.PaperSource LargeCapacity
public static final QPrinter.PaperSource Cassette
public static final QPrinter.PaperSource FormSource
public static final QPrinter.PaperSource MaxPageSource
Method Detail |
---|
public static QPrinter.PaperSource[] values()
for (QPrinter.PaperSource c : QPrinter.PaperSource.values()) System.out.println(c);
public static QPrinter.PaperSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QPrinter.PaperSource resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |