CProgressBar is a custom cancelable progress bar.  
 More...
#include <progress-bar.hh>
List of all members.
Detailed Description
CProgressBar is a custom cancelable progress bar. 
A CProgressBar object displays a QProgressBar with a "cancel" button if it is cancelable.
If the "cancel" button is clicked, the signal canceled() is emitted and the CProgressBar object is hidden.
 
Member Function Documentation
  
  
      
        
          | void CProgressBar::canceled  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
This signal is emitted when the cancel button is clicked. 
- See also:
 - cancelable, setCancelable 
 
 
 
  
  
      
        
          | void CProgressBar::hide  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Hides the progress bar. 
- See also:
 - show 
 
 
 
      
        
          | bool CProgressBar::isCancelable  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns true if the action of the progress can be canceled; false otherwise. 
- See also:
 - setCancelable 
 
 
 
      
        
          | void CProgressBar::setCancelable  | 
          ( | 
          bool  | 
          value | ) | 
           | 
        
      
 
Sets the cancelable property of the progress bar to value. 
- See also:
 - isCancelable 
 
 
 
      
        
          | void CProgressBar::setRange  | 
          ( | 
          int  | 
          start,  | 
        
        
           | 
           | 
          int  | 
          stop  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Sets the range for the progress bar. 
- See also:
 - QProgressBar::setRange 
 
 
 
      
        
          | void CProgressBar::setTextVisible  | 
          ( | 
          bool  | 
          value | ) | 
           | 
        
      
 
Sets the visibility of the text over the progress bar to value. 
- See also:
 - QProgressBar::setTextVisible 
 
 
 
  
  
      
        
          | void CProgressBar::setValue  | 
          ( | 
          int  | 
          value | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Sets the current progress of the progress bar. 
- See also:
 - QProgressBar::setValue 
 
 
 
  
  
      
        
          | void CProgressBar::show  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Shows the progress bar. The cancel button is shown if the progress bar is cancelable. 
- See also:
 - hide 
 
 
 
The documentation for this class was generated from the following files: