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

branch
eric7
changeset 10479
856476537696
parent 9730
00cf7289d899
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.PdfViewer.PdfInfoWidget</h1> 9 <h1>eric7.PdfViewer.PdfInfoWidget</h1>
10
11 <p> 10 <p>
12 Module implementing an info widget showing data of a PDF document. 11 Module implementing an info widget showing data of a PDF document.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#PdfInfoWidget">PdfInfoWidget</a></td> 22 <td><a href="#PdfInfoWidget">PdfInfoWidget</a></td>
25 <td>Class implementing an info widget showing data of a PDF document.</td> 23 <td>Class implementing an info widget showing data of a PDF document.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="PdfInfoWidget" ID="PdfInfoWidget"></a> 34 <a NAME="PdfInfoWidget" ID="PdfInfoWidget"></a>
36 <h2>PdfInfoWidget</h2> 35 <h2>PdfInfoWidget</h2>
37
38 <p> 36 <p>
39 Class implementing an info widget showing data of a PDF document. 37 Class implementing an info widget showing data of a PDF document.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QWidget 41 QWidget
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#PdfInfoWidget.__init__">PdfInfoWidget</a></td> 55 <td><a href="#PdfInfoWidget.__init__">PdfInfoWidget</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
77 <tr> 74 <tr>
78 <td><a href="#PdfInfoWidget.setFileName">setFileName</a></td> 75 <td><a href="#PdfInfoWidget.setFileName">setFileName</a></td>
79 <td>Public method to set the file name info.</td> 76 <td>Public method to set the file name info.</td>
80 </tr> 77 </tr>
81 </table> 78 </table>
79
82 <h3>Static Methods</h3> 80 <h3>Static Methods</h3>
83
84 <table> 81 <table>
85 <tr><td>None</td></tr> 82 <tr><td>None</td></tr>
86 </table> 83 </table>
87 84
85
88 <a NAME="PdfInfoWidget.__init__" ID="PdfInfoWidget.__init__"></a> 86 <a NAME="PdfInfoWidget.__init__" ID="PdfInfoWidget.__init__"></a>
89 <h4>PdfInfoWidget (Constructor)</h4> 87 <h4>PdfInfoWidget (Constructor)</h4>
90 <b>PdfInfoWidget</b>(<i>document, parent=None</i>) 88 <b>PdfInfoWidget</b>(<i>document, parent=None</i>)
91
92 <p> 89 <p>
93 Constructor 90 Constructor
94 </p> 91 </p>
92
95 <dl> 93 <dl>
96 94
97 <dt><i>document</i> (QPdfDocument)</dt> 95 <dt><i>document</i> (QPdfDocument)</dt>
98 <dd> 96 <dd>
99 reference to the PDF document object 97 reference to the PDF document object
104 </dd> 102 </dd>
105 </dl> 103 </dl>
106 <a NAME="PdfInfoWidget.__handlePageCountChanged" ID="PdfInfoWidget.__handlePageCountChanged"></a> 104 <a NAME="PdfInfoWidget.__handlePageCountChanged" ID="PdfInfoWidget.__handlePageCountChanged"></a>
107 <h4>PdfInfoWidget.__handlePageCountChanged</h4> 105 <h4>PdfInfoWidget.__handlePageCountChanged</h4>
108 <b>__handlePageCountChanged</b>(<i>pageCount</i>) 106 <b>__handlePageCountChanged</b>(<i>pageCount</i>)
109
110 <p> 107 <p>
111 Private slot to handle a change of the page count. 108 Private slot to handle a change of the page count.
112 </p> 109 </p>
110
113 <dl> 111 <dl>
114 112
115 <dt><i>pageCount</i> (int)</dt> 113 <dt><i>pageCount</i> (int)</dt>
116 <dd> 114 <dd>
117 changed page count 115 changed page count
118 </dd> 116 </dd>
119 </dl> 117 </dl>
120 <a NAME="PdfInfoWidget.__handlePasswordChanged" ID="PdfInfoWidget.__handlePasswordChanged"></a> 118 <a NAME="PdfInfoWidget.__handlePasswordChanged" ID="PdfInfoWidget.__handlePasswordChanged"></a>
121 <h4>PdfInfoWidget.__handlePasswordChanged</h4> 119 <h4>PdfInfoWidget.__handlePasswordChanged</h4>
122 <b>__handlePasswordChanged</b>(<i></i>) 120 <b>__handlePasswordChanged</b>(<i></i>)
123
124 <p> 121 <p>
125 Private slot to handle a change of the password. 122 Private slot to handle a change of the password.
126 </p> 123 </p>
124
127 <a NAME="PdfInfoWidget.__populateInfoLabels" ID="PdfInfoWidget.__populateInfoLabels"></a> 125 <a NAME="PdfInfoWidget.__populateInfoLabels" ID="PdfInfoWidget.__populateInfoLabels"></a>
128 <h4>PdfInfoWidget.__populateInfoLabels</h4> 126 <h4>PdfInfoWidget.__populateInfoLabels</h4>
129 <b>__populateInfoLabels</b>(<i>status</i>) 127 <b>__populateInfoLabels</b>(<i>status</i>)
130
131 <p> 128 <p>
132 Private slot to populate the info labels upon a change of the document status. 129 Private slot to populate the info labels upon a change of the document status.
133 </p> 130 </p>
131
134 <dl> 132 <dl>
135 133
136 <dt><i>status</i> (QPdfDocument.Status)</dt> 134 <dt><i>status</i> (QPdfDocument.Status)</dt>
137 <dd> 135 <dd>
138 document status 136 document status
139 </dd> 137 </dd>
140 </dl> 138 </dl>
141 <a NAME="PdfInfoWidget.setDocument" ID="PdfInfoWidget.setDocument"></a> 139 <a NAME="PdfInfoWidget.setDocument" ID="PdfInfoWidget.setDocument"></a>
142 <h4>PdfInfoWidget.setDocument</h4> 140 <h4>PdfInfoWidget.setDocument</h4>
143 <b>setDocument</b>(<i>document</i>) 141 <b>setDocument</b>(<i>document</i>)
144
145 <p> 142 <p>
146 Public method to set the reference to the PDF document. 143 Public method to set the reference to the PDF document.
147 </p> 144 </p>
145
148 <dl> 146 <dl>
149 147
150 <dt><i>document</i> (QPdfDocument)</dt> 148 <dt><i>document</i> (QPdfDocument)</dt>
151 <dd> 149 <dd>
152 reference to the document 150 reference to the document
153 </dd> 151 </dd>
154 </dl> 152 </dl>
155 <a NAME="PdfInfoWidget.setFileName" ID="PdfInfoWidget.setFileName"></a> 153 <a NAME="PdfInfoWidget.setFileName" ID="PdfInfoWidget.setFileName"></a>
156 <h4>PdfInfoWidget.setFileName</h4> 154 <h4>PdfInfoWidget.setFileName</h4>
157 <b>setFileName</b>(<i>filename</i>) 155 <b>setFileName</b>(<i>filename</i>)
158
159 <p> 156 <p>
160 Public method to set the file name info. 157 Public method to set the file name info.
161 </p> 158 </p>
159
162 <dl> 160 <dl>
163 161
164 <dt><i>filename</i> (TYPE)</dt> 162 <dt><i>filename</i> (TYPE)</dt>
165 <dd> 163 <dd>
166 DESCRIPTION 164 DESCRIPTION

eric ide

mercurial