Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1895

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QAbstractPrintDialog" doc="/**
&lt;p&gt;The &lt;a href=&quot;QAbstractPrintDialog.html#QAbstractPrintDialog(com.trolltech.qt.gui.QPrinter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractPrintDialog&lt;/tt&gt;&lt;/a&gt; class provides a base implementation for print dialogs used to configure printers.&lt;/p&gt;
&lt;p&gt;This class implements getter and setter functions that are used to customize settings shown in print dialogs, but it is not used directly. Use &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt; to display a print dialog in your application.&lt;/p&gt;

@see &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPrinter.html&quot;&gt;&lt;tt&gt;QPrinter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/printing.html&quot;&gt;Printing with Qt&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void accepted()" doc="/**
&lt;p&gt;This signal is emitted when the dialog has been accepted either by the user or by calling &lt;a href=&quot;QDialog.html#accept()&quot;&gt;&lt;tt&gt;accept&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt; with the QDialog::Accepted argument.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractPrintDialog.html#finished(int)&quot;&gt;&lt;tt&gt;finished&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractPrintDialog.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void finished(int result)" doc="/**
&lt;p&gt;This signal is emitted when the dialog's &lt;tt&gt;result&lt;/tt&gt; code has been set, either by the user or by calling &lt;a href=&quot;QDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDialog.html#accept()&quot;&gt;&lt;tt&gt;accept&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QDialog.html#reject()&quot;&gt;&lt;tt&gt;reject&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int result)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractPrintDialog.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractPrintDialog.html#rejected()&quot;&gt;&lt;tt&gt;rejected&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void rejected()" doc="/**
&lt;p&gt;This signal is emitted when the dialog has been rejected either by the user or by calling &lt;a href=&quot;QDialog.html#reject()&quot;&gt;&lt;tt&gt;reject&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#done(int)&quot;&gt;&lt;tt&gt;done&lt;/tt&gt;&lt;/a&gt; with the QDialog::Rejected argument.&lt;/p&gt;
&lt;p&gt;Note that this signal is &lt;i&gt;not&lt;/i&gt; emitted when hiding the dialog with &lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDialog.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false). This includes deleting the dialog while it is visible.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QAbstractPrintDialog.html#finished(int)&quot;&gt;&lt;tt&gt;finished&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractPrintDialog.html#accepted()&quot;&gt;&lt;tt&gt;accepted&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QAbstractPrintDialog(com.trolltech.qt.gui.QPrinter printer, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an abstract print dialog for &lt;tt&gt;printer&lt;/tt&gt; with &lt;tt&gt;parent&lt;/tt&gt; as parent widget.&lt;/p&gt;
 */"/>
    <method name="public QAbstractPrintDialog(com.trolltech.qt.gui.QPrinter printer)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractPrintDialog.html#QAbstractPrintDialog(com.trolltech.qt.gui.QPrinter, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractPrintDialog&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;printer&lt;/tt&gt;, 0). */"/>
    <method name="public final void addEnabledOption(com.trolltech.qt.gui.QAbstractPrintDialog.PrintDialogOption option)" doc="/**
&lt;p&gt;Adds the option &lt;tt&gt;option&lt;/tt&gt; to the set of enabled options in this dialog.&lt;/p&gt;
&lt;p&gt;Note that this function has no effect on Mac OS X. See the &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt; documentation for more information.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractPrintDialog.PrintDialogOptions enabledOptions()" doc="/**
&lt;p&gt;Returns the set of enabled options in this dialog.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractPrintDialog.html#setEnabledOptions(com.trolltech.qt.gui.QAbstractPrintDialog.PrintDialogOptions)&quot;&gt;&lt;tt&gt;setEnabledOptions&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int fromPage()" doc="/**
&lt;p&gt;Returns the first page to be printed&lt;/p&gt;
 */"/>
    <method name="public final boolean isOptionEnabled(com.trolltech.qt.gui.QAbstractPrintDialog.PrintDialogOption option)" doc="/**
&lt;p&gt;Returns true if the specified &lt;tt&gt;option&lt;/tt&gt; is enabled; otherwise returns false&lt;/p&gt;
 */"/>
    <method name="public final int maxPage()" doc="/**
&lt;p&gt;Returns the maximum page in the page range.&lt;/p&gt;
 */"/>
    <method name="public final int minPage()" doc="/**
&lt;p&gt;Returns the minimum page in the page range.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractPrintDialog.PrintRange printRange()" doc="/**
&lt;p&gt;Returns the print range.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractPrintDialog.html#setPrintRange(com.trolltech.qt.gui.QAbstractPrintDialog.PrintRange)&quot;&gt;&lt;tt&gt;setPrintRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPrinter printer()" doc="/**
&lt;p&gt;Returns the printer that this printer dialog operates on.&lt;/p&gt;
 */"/>
    <method name="public final void setEnabledOptions(com.trolltech.qt.gui.QAbstractPrintDialog.PrintDialogOptions options)" doc="/**
&lt;p&gt;Sets the set of options that should be enabled in the print dialog to &lt;tt&gt;options&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that this function has no effect on Mac OS X. See the &lt;a href=&quot;QPrintDialog.html&quot;&gt;&lt;tt&gt;QPrintDialog&lt;/tt&gt;&lt;/a&gt; documentation for more information.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractPrintDialog.html#enabledOptions()&quot;&gt;&lt;tt&gt;enabledOptions&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFromTo(int fromPage, int toPage)" doc="/**
&lt;p&gt;Sets the range in the print dialog to be from &lt;tt&gt;fromPage&lt;/tt&gt; to &lt;tt&gt;toPage&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void setMinMax(int min, int max)" doc="/**
&lt;p&gt;Sets the page range in this dialog to be from &lt;tt&gt;min&lt;/tt&gt; to &lt;tt&gt;max&lt;/tt&gt;. This also enables the &lt;a href=&quot;QAbstractPrintDialog.html#PrintDialogOption-enum&quot;&gt;&lt;tt&gt;PrintPageRange&lt;/tt&gt;&lt;/a&gt; option.&lt;/p&gt;
 */"/>
    <method name="public final void setPrintRange(com.trolltech.qt.gui.QAbstractPrintDialog.PrintRange range)" doc="/**
&lt;p&gt;Sets the print range option in to be &lt;tt&gt;range&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractPrintDialog.html#printRange()&quot;&gt;&lt;tt&gt;printRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int toPage()" doc="/**
&lt;p&gt;Returns the last page to be printed.&lt;/p&gt;
 */"/>
    <method name="public abstract int exec()" doc="/**
&lt;p&gt;This virtual function is called to pop up the dialog. It must be reimplemented in subclasses.&lt;/p&gt;
 */"/>
    <enum name="PrintRange" doc="/**
&lt;p&gt;Used to specify the print range selection option.&lt;/p&gt;

@see &lt;tt&gt;QPrinter::PrintRange&lt;/tt&gt; */">
        <enum-value name="AllPages" doc="/**
&lt;p&gt;All pages should be printed.&lt;/p&gt;
 */"/>
        <enum-value name="Selection" doc="/**
&lt;p&gt;Only the selection should be printed.&lt;/p&gt;
 */"/>
        <enum-value name="PageRange" doc="/**
&lt;p&gt;The specified page range should be printed.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PrintDialogOption" doc="/**
&lt;p&gt;Used to specify which parts of the print dialog should be enabled.&lt;/p&gt;
 */">
        <enum-value name="None" doc="/**
&lt;p&gt;None of the options are enabled.&lt;/p&gt;
 */"/>
        <enum-value name="PrintToFile" doc="/**
&lt;p&gt;The print to file option is enabled.&lt;/p&gt;
 */"/>
        <enum-value name="PrintSelection" doc="/**
&lt;p&gt;The print selection option is enalbed.&lt;/p&gt;
 */"/>
        <enum-value name="PrintPageRange" doc="/**
&lt;p&gt;The page range selection option is enabled.&lt;/p&gt;
 */"/>
        <enum-value name="PrintCollateCopies" doc="/**
Internal. */"/>
</enum>
</class>