# eric7.PdfViewer.PdfGoToDialog

Module implementing a dialog to enter a PDF page number to jump to.

### Global Attributes

None

### Classes

PdfGoToDialog | Class implementing a dialog to enter a PDF page number to jump to.

### Functions

None

## PdfGoToDialog

Class implementing a dialog to enter a PDF page number to jump to.

### Derived from

QDialog

### Class Attributes

None

### Class Methods

None

### Methods

PdfGoToDialog | Constructor
getPage | Public method to get the selected page.

### Static Methods

None

#### PdfGoToDialog (Constructor)

PdfGoToDialog(curPage, pageCount, parent=None)

Constructor

curPage (int)
  current page number (0 based)
pageCount (int)
  number of pages in the document
parent (QWidget (optional))
  reference to the parent widget (defaults to None)

#### PdfGoToDialog.getPage

getPage()

Public method to get the selected page.

Return:
  selected page (0 based)

Return Type:
  int

Up