|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QPrinter.PrinterMode
public static final class QPrinter.PrinterMode
This enum describes the mode the printer should work in. It basically presets a certain resolution and working mode. Note: When rendering text on a QPrinter
device, it is important to realize that the size of text, when specified in points, is independent of the resolution specified for the device itself. Therefore, it may be useful to specify the font size in pixels when combining text with graphics to ensure that their relative sizes are what you expect.
Field Summary | |
---|---|
static QPrinter.PrinterMode |
HighResolution
On Windows, sets the printer resolution to that defined for the printer in use. |
static QPrinter.PrinterMode |
PrinterResolution
This value is deprecated. |
static QPrinter.PrinterMode |
ScreenResolution
Sets the resolution of the print device to the screen resolution. |
Method Summary | |
---|---|
static QPrinter.PrinterMode |
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.PrinterMode |
valueOf(java.lang.String name)
|
static QPrinter.PrinterMode[] |
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 |
---|
public static final QPrinter.PrinterMode ScreenResolution
ScreenResolution
will produce a lower quality output than HighResolution
and should only be used for drafts.
public static final QPrinter.PrinterMode PrinterResolution
ScreenResolution
on Unix and HighResolution
on Windows and Mac. Due do the difference between ScreenResolution
and HighResolution
, use of this value may lead to non-portable printer code.
public static final QPrinter.PrinterMode HighResolution
Method Detail |
---|
public static QPrinter.PrinterMode[] values()
public static QPrinter.PrinterMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QPrinter.PrinterMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |