com.trolltech.qt.gui
Class QPrintPreviewWidget.ViewMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QPrintPreviewWidget.ViewMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QPrintPreviewWidget

public static final class QPrintPreviewWidget.ViewMode
extends java.lang.Enum
implements QtEnumerator

This enum is used to describe the view mode of the preview widget.

See Also:
Serialized Form

Field Summary
static QPrintPreviewWidget.ViewMode AllPagesView
          A view mode where all the pages in the preview is viewed.
static QPrintPreviewWidget.ViewMode FacingPagesView
          A mode where the facing pages in the preview is viewed.
static QPrintPreviewWidget.ViewMode SinglePageView
          A mode where single pages in the preview is viewed.
 
Method Summary
static QPrintPreviewWidget.ViewMode resolve(int value)
          Returns the QPrintPreviewWidget$ViewMode constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QPrintPreviewWidget.ViewMode valueOf(java.lang.String name)
           
static QPrintPreviewWidget.ViewMode[] 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

SinglePageView

public static final QPrintPreviewWidget.ViewMode SinglePageView
A mode where single pages in the preview is viewed.


FacingPagesView

public static final QPrintPreviewWidget.ViewMode FacingPagesView
A mode where the facing pages in the preview is viewed.


AllPagesView

public static final QPrintPreviewWidget.ViewMode AllPagesView
A view mode where all the pages in the preview is viewed.

Method Detail

values

public static QPrintPreviewWidget.ViewMode[] values()

valueOf

public static QPrintPreviewWidget.ViewMode 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 QPrintPreviewWidget.ViewMode resolve(int value)
Returns the QPrintPreviewWidget$ViewMode constant with the specified int.