|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QPaintDevice.PaintDeviceMetric>
com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric
public static enum QPaintDevice.PaintDeviceMetric
Describes the various metrics of a paint device.
Enum Constant Summary | |
---|---|
PdmDepth
The bit depth (number of bit planes) of the paint device. |
|
PdmDpiX
The horizontal resolution of the device in dots per inch. |
|
PdmDpiY
The vertical resolution of the device in dots per inch. |
|
PdmHeight
The height of the paint device in default coordinate system units (e.g. pixels for QPixmap and QWidget). |
|
PdmHeightMM
The height of the paint device in millimeters. |
|
PdmNumColors
The number of different colors available for the paint device. |
|
PdmPhysicalDpiX
The horizontal resolution of the device in dots per inch. |
|
PdmPhysicalDpiY
The vertical resolution of the device in dots per inch. |
|
PdmWidth
The width of the paint device in default coordinate system units (e.g. pixels for QPixmap and QWidget). |
|
PdmWidthMM
The width of the paint device in millimeters. |
Method Summary | |
---|---|
static QPaintDevice.PaintDeviceMetric |
resolve(int value)
|
int |
value()
|
static QPaintDevice.PaintDeviceMetric |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QPaintDevice.PaintDeviceMetric[] |
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 QPaintDevice.PaintDeviceMetric PdmWidth
The width of the paint device in default coordinate system units (e.g. pixels for QPixmap and QWidget). See also width.
public static final QPaintDevice.PaintDeviceMetric PdmHeight
The height of the paint device in default coordinate system units (e.g. pixels for QPixmap and QWidget). See also height.
public static final QPaintDevice.PaintDeviceMetric PdmWidthMM
The width of the paint device in millimeters. See also widthMM.
public static final QPaintDevice.PaintDeviceMetric PdmHeightMM
The height of the paint device in millimeters. See also heightMM.
public static final QPaintDevice.PaintDeviceMetric PdmNumColors
The number of different colors available for the paint device. See also numColors.
public static final QPaintDevice.PaintDeviceMetric PdmDepth
The bit depth (number of bit planes) of the paint device. See also depth.
public static final QPaintDevice.PaintDeviceMetric PdmDpiX
The horizontal resolution of the device in dots per inch. See also logicalDpiX.
public static final QPaintDevice.PaintDeviceMetric PdmDpiY
The vertical resolution of the device in dots per inch. See also logicalDpiY.
public static final QPaintDevice.PaintDeviceMetric PdmPhysicalDpiX
The horizontal resolution of the device in dots per inch. See also physicalDpiX.
public static final QPaintDevice.PaintDeviceMetric PdmPhysicalDpiY
The vertical resolution of the device in dots per inch. See also physicalDpiY.
Method Detail |
---|
public static final QPaintDevice.PaintDeviceMetric[] values()
for(QPaintDevice.PaintDeviceMetric c : QPaintDevice.PaintDeviceMetric.values()) System.out.println(c);
public static QPaintDevice.PaintDeviceMetric 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()
value
in interface QtEnumerator
public static QPaintDevice.PaintDeviceMetric resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |