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
4
#
ifndef
QPAGESETUPDIALOG_H
5
#
define
QPAGESETUPDIALOG_H
6
7
#
include
<
QtPrintSupport
/
qtprintsupportglobal
.
h
>
8
9
#
include
<
QtWidgets
/
qdialog
.
h
>
10
11
QT_REQUIRE_CONFIG
(
printdialog
);
12
13
QT_BEGIN_NAMESPACE
14
15
class
QPrinter;
16
class
QPageSetupDialogPrivate
;
17
18
class
Q_PRINTSUPPORT_EXPORT
QPageSetupDialog
:
public
QDialog
19
{
20
Q_OBJECT
21
Q_DECLARE_PRIVATE(QPageSetupDialog)
22
23
public
:
24
explicit
QPageSetupDialog(QPrinter *printer, QWidget *parent =
nullptr
);
25
explicit
QPageSetupDialog(QWidget *parent =
nullptr
);
26
~QPageSetupDialog();
27
28
#
if
defined
(
Q_OS_MACOS
)
||
defined
(
Q_OS_WIN
)
||
defined
(
Q_QDOC
)
29
void
setVisible(
bool
visible) override;
30
#
endif
31
int
exec() override;
32
33
using
QDialog::open;
34
void
open(QObject *receiver,
const
char
*member);
35
36
void
done(
int
result) override;
37
38
QPrinter *printer();
39
};
40
41
QT_END_NAMESPACE
42
43
#
endif
// QPAGESETUPDIALOG_H
QPageSetupDialogPrivate
Definition
qpagesetupdialog_p.h:34
QPageSetupDialog
The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer.
Definition
qpagesetupdialog.h:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(printdialog)
qtbase
src
printsupport
dialogs
qpagesetupdialog.h
Generated on Mon Mar 10 2025 00:45:32 for Qt by
1.13.2