Qt
6.x
The Qt SDK
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::exec
virtual int exec()
Shows the dialog as a \l{QDialog::Modal Dialogs}{modal dialog}, blocking until the user closes it.
Definition
qdialog.cpp:539
QDialog::done
virtual void done(int)
Closes the dialog and sets its result code to r.
Definition
qdialog.cpp:598
QDialog::open
virtual void open()
Definition
qdialog.cpp:499
QObject
\inmodule QtCore
Definition
qobject.h:90
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
QWidget::setVisible
virtual void setVisible(bool visible)
Definition
qwidget.cpp:8329
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
result
GLuint64EXT * result
[6]
Definition
qopenglext.h:10932
QT_REQUIRE_CONFIG
#define QT_REQUIRE_CONFIG(feature)
Definition
qtconfigmacros.h:66
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
parent
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent
Definition
uiaclientinterfaces_p.h:209
qtbase
src
printsupport
dialogs
qpagesetupdialog.h
Generated by
1.9.7