src/gui/dialogs/qabstractprintdialog.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    63 
    63 
    64 public:
    64 public:
    65     enum PrintRange {
    65     enum PrintRange {
    66         AllPages,
    66         AllPages,
    67         Selection,
    67         Selection,
    68         PageRange
    68         PageRange,
       
    69         CurrentPage
    69     };
    70     };
    70 
    71 
    71     enum PrintDialogOption {
    72     enum PrintDialogOption {
    72         None                    = 0x0000, // obsolete
    73         None                    = 0x0000, // obsolete
    73         PrintToFile             = 0x0001,
    74         PrintToFile             = 0x0001,
    74         PrintSelection          = 0x0002,
    75         PrintSelection          = 0x0002,
    75         PrintPageRange          = 0x0004,
    76         PrintPageRange          = 0x0004,
    76         PrintShowPageSize       = 0x0008,
    77         PrintShowPageSize       = 0x0008,
    77         PrintCollateCopies      = 0x0010,
    78         PrintCollateCopies      = 0x0010,
    78         DontUseSheet            = 0x0020
    79         DontUseSheet            = 0x0020,
       
    80         PrintCurrentPage        = 0x0040
    79     };
    81     };
    80 
    82 
    81     Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption)
    83     Q_DECLARE_FLAGS(PrintDialogOptions, PrintDialogOption)
    82 
    84 
    83 #ifndef QT_NO_PRINTDIALOG
    85 #ifndef QT_NO_PRINTDIALOG