eric6.WebBrowser.Tools.PrintToPdfDialog
Module implementing a dialog to enter the data for printing a web page to PDF.
Global Attributes
Classes
PrintToPdfDialog |
Class implementing a dialog to enter the data for printing a web page to PDF. |
Functions
PrintToPdfDialog
Class implementing a dialog to enter the data for printing a web page to
PDF.
Derived from
QDialog, Ui_PrintToPdfDialog
Class Attributes
Class Methods
Methods
Static Methods
PrintToPdfDialog (Constructor)
PrintToPdfDialog(filePath, parent=None)
Constructor
- filePath (str)
-
path of the file to write into
- parent (QWidget)
-
reference to the parent widget
PrintToPdfDialog.__updatePageLayoutLabel
__updatePageLayoutLabel()
Private method to update the page layout label.
PrintToPdfDialog.getData
getData()
Public method to get the dialog data.
- Returns:
-
tuple containing the file path and the page layout
- Return Type:
-
tuple of str and QPageLayout
PrintToPdfDialog.on_pageLayoutButton_clicked
on_pageLayoutButton_clicked()
Private slot to define the page layout.