blob: dcd51d4766a55828348aad2f117a292a52f0a8d8 (
plain)
1
2
3
4
5
6
7
8
9
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//! [0]
QPrintDialog printDialog(printer, parent);
if (printDialog.exec() == QDialog::Accepted) {
// print ...
}
//! [0]
|