|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QObject
com.trolltech.qt.gui.QWidget
com.trolltech.qt.gui.QDialog
com.trolltech.qt.gui.QAbstractPageSetupDialog
com.trolltech.qt.gui.QPageSetupDialog
public class QPageSetupDialog
The QPageSetupDialog
class provides a configuration dialog for the page-related options on a printer. On Windows and Mac OS X the page setup dialog is implemented using the native page setup dialogs.
Note that on Windows and Mac OS X custom paper sizes won't be reflected in the native page setup dialogs. Additionally, custom page margins set on a QPrinter
won't show in the native Mac OS X page setup dialog.
QPrinter
, and QPrintDialog
.
Nested Class Summary | |
---|---|
static class |
QPageSetupDialog.PageSetupDialogOption
Used to specify options to the page setup dialog |
static class |
QPageSetupDialog.PageSetupDialogOptions
This is a flags class for com.trolltech.qt.gui.QPageSetupDialog.PageSetupDialogOption |
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QDialog |
---|
QDialog.DialogCode |
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QWidget |
---|
QWidget.RenderFlag, QWidget.RenderFlags |
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.gui.QDialog |
---|
accepted, finished, rejected |
Fields inherited from class com.trolltech.qt.gui.QWidget |
---|
customContextMenuRequested |
Constructor Summary | |
---|---|
QPageSetupDialog(QPrinter printer)
Constructs a page setup dialog that configures printer with parent as the parent widget. |
|
QPageSetupDialog(QPrinter printer,
QWidget parent)
Constructs a page setup dialog that configures printer with parent as the parent widget. |
Method Summary | |
---|---|
void |
addEnabledOption(QPageSetupDialog.PageSetupDialogOption option)
Adds the option option to the set of enabled options in this dialog. |
QPageSetupDialog.PageSetupDialogOptions |
enabledOptions()
Returns the set of enabled options in this dialog. |
static QPageSetupDialog |
fromNativePointer(QNativePointer nativePointer)
|
boolean |
isOptionEnabled(QPageSetupDialog.PageSetupDialogOption option)
Returns true if the specified option is enabled; otherwise returns false |
void |
setEnabledOptions(QPageSetupDialog.PageSetupDialogOption[] options)
Sets the set of options that should be enabled for the page setup dialog to options. |
void |
setEnabledOptions(QPageSetupDialog.PageSetupDialogOptions options)
Sets the set of options that should be enabled for the page setup dialog to options. |
Methods inherited from class com.trolltech.qt.gui.QDialog |
---|
accept, done, exec, isSizeGripEnabled, reject, result, setModal, setResult, setSizeGripEnabled |
Methods inherited from class com.trolltech.qt.core.QObject |
---|
childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, startTimer, timerEvent, toString, userProperty |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QPageSetupDialog(QPrinter printer)
public QPageSetupDialog(QPrinter printer, QWidget parent)
Method Detail |
---|
public final void addEnabledOption(QPageSetupDialog.PageSetupDialogOption option)
public final QPageSetupDialog.PageSetupDialogOptions enabledOptions()
setEnabledOptions()
.
public final boolean isOptionEnabled(QPageSetupDialog.PageSetupDialogOption option)
public final void setEnabledOptions(QPageSetupDialog.PageSetupDialogOption[] options)
enabledOptions()
.
public final void setEnabledOptions(QPageSetupDialog.PageSetupDialogOptions options)
enabledOptions()
.
public static QPageSetupDialog fromNativePointer(QNativePointer nativePointer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |