PythonQt.QtGui.QPrintDialog · declarations 001
Back to PythonQt.QtGui.QPrintDialog
accepted
accepted(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.accepted; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QPrintDialog::accepted(QPrinter *printer)
This signal is emitted when the user accepts the values set in the print dialog. The printer parameter includes the printer that the settings were applied to.
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#accepted
addEnabledOption
addEnabledOption(option: Any) -> Any
X.addEnabledOption(option)
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.customContextMenuRequested; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.destroyed; argument details are not documented.
done
done(result: int) -> None
X.done(result)
Supplemental documentation: Qt 5 reference:
[override virtual] void QPrintDialog::done(int result)
Reimplements: QDialog::done(int r).
Closes the dialog and sets its result code to result. If this dialog is shown with exec(), done() causes the local event loop to finish, and exec() to return result.
Note: This function does not apply to the Native Print Dialog on the Mac macOS and Windows platforms, because the dialog is required to be modal and only the user can close it.
See also QDialog::done().
Upstream PySide2 reference signatures (binding differences may apply):
done(self, result: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#done
enabledOptions
enabledOptions() -> Any
X.enabledOptions()
exec
exec() -> int
X.exec() -> int
Supplemental documentation: Qt 5 reference:
[override virtual] int QPrintDialog::exec()
Reimplements: QDialog::exec().
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#exec
finished
finished(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.finished; argument details are not documented.
fromPage
fromPage() -> int
X.fromPage() -> int
isOptionEnabled
isOptionEnabled(option: Any) -> bool
X.isOptionEnabled(option) -> bool
maxPage
maxPage() -> int
X.maxPage() -> int
minPage
minPage() -> int
X.minPage() -> int
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.objectNameChanged; argument details are not documented.
open
open() -> None
X.open()
Supplemental documentation: Qt 5 reference:
void QPrintDialog::open(QObject *receiver, const char *member)
This is an overloaded function.
Opens the dialog and connects its accepted() signal to the slot specified by receiver and member.
The signal will be disconnected from the slot when the dialog is closed.
This function was introduced in Qt 4.5.
Upstream PySide2 reference signatures (binding differences may apply):
open(self) -> None
open(self, receiver: PySide2.QtCore.QObject, member: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#open
options
instance-attribute
options: Any
Qt 5 reference:
options : PrintDialogOptions
This property holds the various options that affect the look and feel of the dialog
By default, all options are disabled.
Options should be set before showing the dialog. Setting them while the dialog is visible is not guaranteed to have an immediate effect on the dialog (depending on the option and on the platform).
This property was introduced in Qt 4.5.
Access functions:
| QAbstractPrintDialog::PrintDialogOptions | options() const |
|---|---|
| void | setOptions(QAbstractPrintDialog::PrintDialogOptions options) |
See also setOption() and testOption().
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#options
printRange
printRange() -> Any
X.printRange()
printer
printer() -> Any
X.printer() -> PythonQt.QtGui.QPrinter
Supplemental documentation: Qt 5 reference:
QPrinter *QPrintDialog::printer()
Returns the printer that this printer dialog operates on. This can be useful when using the QPrintDialog::open() method.
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#printer
rejected
rejected(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.rejected; argument details are not documented.
setEnabledOptions
setEnabledOptions(options: Any) -> Any
X.setEnabledOptions(options)
setFromTo
setFromTo(fromPage: Any, toPage: Any) -> Any
X.setFromTo(fromPage, toPage)
setMinMax
setMinMax(min: Any, max: Any) -> Any
X.setMinMax(min, max)
setOption
setOption(option: Any, on: bool) -> None
X.setOption(option, on)
Supplemental documentation: Qt 5 reference:
void QPrintDialog::setOption(QAbstractPrintDialog::PrintDialogOption option, bool on \= true)
Sets the given option to be enabled if on is true; otherwise, clears the given option.
See also options and testOption().
Upstream PySide2 reference signatures (binding differences may apply):
setOption(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption, on: bool=...) -> None
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#setOption
setOptionTabs
setOptionTabs(tabs: Any) -> Any
X.setOptionTabs(tabs)
setOptions
setOptions(options: Any) -> None
X.setOptions(options)
Upstream PySide2 reference signatures (binding differences may apply):
setOptions(self, options: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOptions) -> None
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#setOptions
setPrintRange
setPrintRange(range: Any) -> Any
X.setPrintRange(range)
setVisible
setVisible(visible: bool) -> None
X.setVisible(visible)
Supplemental documentation: Qt 5 reference:
[override virtual] void QPrintDialog::setVisible(bool visible)
Reimplements: QDialog::setVisible(bool visible).
Upstream PySide2 reference signatures (binding differences may apply):
setVisible(self, visible: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#setVisible
testOption
testOption(option: Any) -> bool
X.testOption(option) -> bool
Supplemental documentation: Qt 5 reference:
bool QPrintDialog::testOption(QAbstractPrintDialog::PrintDialogOption option) const
Returns true if the given option is enabled; otherwise, returns false.
See also options and setOption().
Upstream PySide2 reference signatures (binding differences may apply):
testOption(self, option: PySide2.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qprintdialog.html#testOption
toPage
toPage() -> int
X.toPage() -> int
windowIconChanged
windowIconChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.windowIconChanged; argument details are not documented.
windowIconTextChanged
windowIconTextChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.windowIconTextChanged; argument details are not documented.
windowTitleChanged
windowTitleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPrintDialog.windowTitleChanged; argument details are not documented.