src/eric7/Documentation/Source/eric7.PdfViewer.PdfGoToDialog.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.PdfViewer.PdfGoToDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.PdfViewer.PdfGoToDialog</h1>
<p>
Module implementing a dialog to enter a PDF page number to jump to.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#PdfGoToDialog">PdfGoToDialog</a></td>
<td>Class implementing a dialog to enter a PDF page number to jump to.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="PdfGoToDialog" ID="PdfGoToDialog"></a>
<h2>PdfGoToDialog</h2>
<p>
    Class implementing a dialog to enter a PDF page number to jump to.
</p>

<h3>Derived from</h3>
QDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#PdfGoToDialog.__init__">PdfGoToDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#PdfGoToDialog.getPage">getPage</a></td>
<td>Public method to get the selected page.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="PdfGoToDialog.__init__" ID="PdfGoToDialog.__init__"></a>
<h4>PdfGoToDialog (Constructor)</h4>
<b>PdfGoToDialog</b>(<i>curPage, pageCount, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>curPage</i> (int)</dt>
<dd>
current page number (0 based)
</dd>
<dt><i>pageCount</i> (int)</dt>
<dd>
number of pages in the document
</dd>
<dt><i>parent</i> (QWidget (optional))</dt>
<dd>
reference to the parent widget (defaults to None)
</dd>
</dl>
<a NAME="PdfGoToDialog.getPage" ID="PdfGoToDialog.getPage"></a>
<h4>PdfGoToDialog.getPage</h4>
<b>getPage</b>(<i></i>)
<p>
        Public method to get the selected page.
</p>

<dl>
<dt>Return:</dt>
<dd>
selected page (0 based)
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
int
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial