Changeset 220 for trunk/src/IPrintView.h

Show
Ignore:
Timestamp:
06/11/06 09:47:12 (2 years ago)
Author:
jordi
Message:

The Print Dialog now selects a printer (default printer or the first, if there's no default.) Also, when there's no printers available the Print button is insensitived.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IPrintView.h

    r219 r220  
    9393 
    9494            /// 
     95            /// @brief Selects a printer from the list. 
     96            /// 
     97            /// @param printerIndex The index of the printer to select. 
     98            /// 
     99            virtual void selectPrinter (unsigned int printerIndex) = 0; 
     100 
     101            /// 
    95102            /// @brief Changes the sensitivity of the "Collate" option. 
    96103            /// 
     
    114121            virtual void sensitivePageRange (gboolean sensitive) = 0; 
    115122 
     123            /// 
     124            /// @brief Changes the sensitivity of the "Print" button. 
     125            /// 
     126            /// The view must change the sensitivity (it's called enabled or 
     127            /// disabled on some toolkits) of the "Print" button. 
     128            /// 
     129            /// @param sensitive Set to TRUE if need to sensitive (enable) the 
     130            ///                  button or FALSE to insensitive (disable) it. 
     131            /// 
     132            virtual void sensitivePrintButton (gboolean sensitive) = 0; 
     133 
     134 
    116135        protected: 
    117136            /// The presenter that controls the view.