42 #ifndef QPRINTDIALOG_H 43 #define QPRINTDIALOG_H 45 #include <QtGui/qabstractprintdialog.h> 53 #ifndef QT_NO_PRINTDIALOG 59 #if defined (Q_OS_UNIX) && !defined(QTOPIA_PRINTDIALOG) && !defined(Q_WS_MAC) && !defined(Q_OS_SYMBIAN) 86 PrintDialogOptions options;
94 #if defined (Q_OS_UNIX) && !defined(QTOPIA_PRINTDIALOG) && !defined(Q_WS_MAC) 97 void done(
int result);
99 #if defined (Q_OS_UNIX) && defined (QT3_SUPPORT) 100 QT3_SUPPORT
void setPrinter(
QPrinter *,
bool =
false);
107 void setOptions(PrintDialogOptions options);
108 PrintDialogOptions options()
const;
110 #if defined(Q_OS_UNIX) || defined(Q_WS_MAC) || defined(Q_OS_WIN) 114 #ifdef Q_NO_USING_KEYWORD 127 #ifdef QTOPIA_PRINTDIALOG 132 #ifdef Q_NO_USING_KEYWORD 144 #ifndef QTOPIA_PRINTDIALOG 146 #if defined (Q_OS_UNIX) && !defined (Q_OS_MAC) 149 # if defined(Q_OS_UNIX) && !defined (Q_OS_MAC) && !defined(QT_NO_MESSAGEBOX) 152 #else // QTOPIA_PRINTDIALOG 164 #endif // QTOPIA_PRINTDIALOG 165 friend class QUnixPrintWidget;
168 #endif // QT_NO_PRINTDIALOG 174 #endif // QPRINTDIALOG_H
#define QT_END_NAMESPACE
This macro expands to.
virtual void accept()
Hides the modal dialog and sets the result code to Accepted.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
The QPrintDialog class provides a dialog for specifying the printer's configuration.
QPrinter * printer() const
Returns the printer that this printer dialog operates on.
#define QT_BEGIN_NAMESPACE
This macro expands to.
PrintDialogOption
Used to specify which parts of the print dialog should be visible.
The QPrinter class is a paint device that paints on a printer.
virtual void done(int)
Closes the dialog and sets its result code to r.
The QAbstractPrintDialog class provides a base implementation for print dialogs used to configure pri...
bool eventFilter(QObject *, QEvent *)
Reimplemented Function
void accepted()
This signal is emitted when the dialog has been accepted either by the user or by calling accept() or...
void open()
Shows the dialog as a window modal dialog, returning immediately.
#define Q_DECLARE_PRIVATE(Class)
The QEvent class is the base class of all event classes.
void setVisible(bool visible)
Reimplemented Function