|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QPrintEngine.PrintEnginePropertyKey>
com.trolltech.qt.gui.QPrintEngine.PrintEnginePropertyKey
public static enum QPrintEngine.PrintEnginePropertyKey
This enum is used to communicate properties between the print engine and QPrinter. A property may or may not be supported by a given print engine.
Enum Constant Summary | |
---|---|
PPK_CollateCopies
A boolean value indicating whether the printout should be collated or not. |
|
PPK_ColorMode
Refers to QPrinter::ColorMode, either color or monochrome. |
|
PPK_Creator
A string describing the document's creator. |
|
PPK_CustomBase
Basis for extension. |
|
PPK_DocumentName
A string describing the document name in the spooler. |
|
PPK_Duplex
A boolean value indicating whether both sides of the printer paper should be used for the printout. |
|
PPK_FontEmbedding
A boolean value indicating whether data for the document's fonts should be embedded in the data sent to the printer. |
|
PPK_FullPage
A boolean describing if the printer should be full page or not. |
|
PPK_NumberOfCopies
An integer specifying the number of copies |
|
PPK_Orientation
Specifies a QPrinter::Orientation value. |
|
PPK_OutputFileName
The output file name as a string. |
|
PPK_PageOrder
Specifies a QPrinter::PageOrder value. |
|
PPK_PageRect
A QRect specifying the page rectangle |
|
PPK_PageSize
Specifies a QPrinter::PageSize value. |
|
PPK_PaperRect
A QRect specifying the paper rectangle. |
|
PPK_PaperSource
Specifies a QPrinter::PaperSource value. |
|
PPK_PaperSources
Specifies more than one QPrinter::PaperSource value. |
|
PPK_PrinterName
A string specifying the name of the printer. |
|
PPK_PrinterProgram
A string specifying the name of the printer program used for printing, |
|
PPK_Resolution
An integer describing the dots per inch for this printer. |
|
PPK_SelectionOption
Internal. |
|
PPK_SupportedResolutions
A list of integer QVariants describing the set of supported resolutions that the printer has. |
|
PPK_SuppressSystemPrintStatus
Suppress the built-in dialog for showing printing progress. |
|
PPK_WindowsPageSize
An integer specifying a DM_PAPER entry on Windows. |
Method Summary | |
---|---|
static QPrintEngine.PrintEnginePropertyKey |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QPrintEngine.PrintEnginePropertyKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QPrintEngine.PrintEnginePropertyKey[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QPrintEngine.PrintEnginePropertyKey PPK_CollateCopies
A boolean value indicating whether the printout should be collated or not.
public static final QPrintEngine.PrintEnginePropertyKey PPK_ColorMode
Refers to QPrinter::ColorMode, either color or monochrome.
public static final QPrintEngine.PrintEnginePropertyKey PPK_Creator
A string describing the document's creator.
public static final QPrintEngine.PrintEnginePropertyKey PPK_DocumentName
A string describing the document name in the spooler.
public static final QPrintEngine.PrintEnginePropertyKey PPK_FullPage
A boolean describing if the printer should be full page or not.
public static final QPrintEngine.PrintEnginePropertyKey PPK_NumberOfCopies
An integer specifying the number of copies
public static final QPrintEngine.PrintEnginePropertyKey PPK_Orientation
Specifies a QPrinter::Orientation value.
public static final QPrintEngine.PrintEnginePropertyKey PPK_OutputFileName
The output file name as a string. An empty file name indicates that the printer should not print to a file.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PageOrder
Specifies a QPrinter::PageOrder value.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PageRect
A QRect specifying the page rectangle
public static final QPrintEngine.PrintEnginePropertyKey PPK_PageSize
Specifies a QPrinter::PageSize value.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PaperRect
A QRect specifying the paper rectangle.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PaperSource
Specifies a QPrinter::PaperSource value.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PrinterName
A string specifying the name of the printer.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PrinterProgram
A string specifying the name of the printer program used for printing,
public static final QPrintEngine.PrintEnginePropertyKey PPK_Resolution
An integer describing the dots per inch for this printer.
public static final QPrintEngine.PrintEnginePropertyKey PPK_SelectionOption
public static final QPrintEngine.PrintEnginePropertyKey PPK_SupportedResolutions
A list of integer QVariants describing the set of supported resolutions that the printer has.
public static final QPrintEngine.PrintEnginePropertyKey PPK_WindowsPageSize
An integer specifying a DM_PAPER entry on Windows.
public static final QPrintEngine.PrintEnginePropertyKey PPK_FontEmbedding
A boolean value indicating whether data for the document's fonts should be embedded in the data sent to the printer.
public static final QPrintEngine.PrintEnginePropertyKey PPK_SuppressSystemPrintStatus
Suppress the built-in dialog for showing printing progress. As of 4.1 this only has effect on Mac OS X where, by default, a status dialog is shown.
public static final QPrintEngine.PrintEnginePropertyKey PPK_Duplex
A boolean value indicating whether both sides of the printer paper should be used for the printout.
public static final QPrintEngine.PrintEnginePropertyKey PPK_PaperSources
Specifies more than one QPrinter::PaperSource value.
public static final QPrintEngine.PrintEnginePropertyKey PPK_CustomBase
Basis for extension.
Method Detail |
---|
public static final QPrintEngine.PrintEnginePropertyKey[] values()
for(QPrintEngine.PrintEnginePropertyKey c : QPrintEngine.PrintEnginePropertyKey.values()) System.out.println(c);
public static QPrintEngine.PrintEnginePropertyKey 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 namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QPrintEngine.PrintEnginePropertyKey resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |