Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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_MAC) || 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
QDialog
The QDialog class is the base class of dialog windows.
Definition
qdialog.h:19
QDialog::open
virtual void open()
Definition
qdialog.cpp:503
QObject
\inmodule QtCore
Definition
qobject.h:103
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
QPrinter
\reentrant
Definition
qprinter.h:28
QWidget
The QWidget class is the base class of all user interface objects.
Definition
qwidget.h:99
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
done
bool done
Definition
qfilesystemiterator_win.cpp:15
result
GLuint64EXT * result
[6]
Definition
qopenglext.h:10932
QT_REQUIRE_CONFIG
#define QT_REQUIRE_CONFIG(feature)
Definition
qtconfigmacros.h:67
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
open
file open(QIODevice::ReadOnly)
exec
dialog exec()
qtbase
src
printsupport
dialogs
qpagesetupdialog.h
Generated by
1.10.0