Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpagesetupdialog.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QPAGESETUPDIALOG_H
6
#
define
QPAGESETUPDIALOG_H
7
8
#
include
<
QtPrintSupport
/
qtprintsupportglobal
.
h
>
9
10
#
include
<
QtWidgets
/
qdialog
.
h
>
11
12
QT_REQUIRE_CONFIG
(
printdialog
);
13
14
QT_BEGIN_NAMESPACE
15
16
class
QPrinter;
17
class
QPageSetupDialogPrivate
;
18
19
class
Q_PRINTSUPPORT_EXPORT
QPageSetupDialog
:
public
QDialog
20
{
21
Q_OBJECT
22
Q_DECLARE_PRIVATE(QPageSetupDialog)
23
24
public
:
25
explicit
QPageSetupDialog(QPrinter *printer, QWidget *parent =
nullptr
);
26
explicit
QPageSetupDialog(QWidget *parent =
nullptr
);
27
~QPageSetupDialog();
28
29
#
if
defined
(
Q_OS_MACOS
)
||
defined
(
Q_OS_WIN
)
||
defined
(
Q_QDOC
)
30
void
setVisible(
bool
visible) override;
31
#
endif
32
int
exec() override;
33
34
using
QDialog::open;
35
void
open(QObject *receiver,
const
char
*member);
36
37
void
done(
int
result) override;
38
39
QPrinter *printer();
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
// QPAGESETUPDIALOG_H
QPageSetupDialogPrivate
Definition
qpagesetupdialog_p.h:35
QPageSetupDialog
The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer.
Definition
qpagesetupdialog.h:20
QPlatformGraphicsBufferHelper
\inmodule QtGui
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(printdialog)
qtbase
src
printsupport
dialogs
qpagesetupdialog.h
Generated on
for Qt by
1.14.0