Base class for needles that can be used in a QwtDial.  
 More...
#include <qwt_dial_needle.h>
 | 
| 
  | QwtDialNeedle () | 
|   | Constructor. 
  | 
|   | 
| 
virtual  | ~QwtDialNeedle () | 
|   | Destructor. 
  | 
|   | 
| virtual void  | setPalette (const QPalette &) | 
|   | 
| const QPalette &  | palette () const  | 
|   | 
| virtual void  | draw (QPainter *painter, const QPointF ¢er, double length, double direction, QPalette::ColorGroup=QPalette::Active) const  | 
|   | 
 | 
| virtual void  | drawNeedle (QPainter *painter, double length, QPalette::ColorGroup colorGroup) const  =0 | 
|   | Draw the needle.  More...
  | 
|   | 
| 
virtual void  | drawKnob (QPainter *, double width, const QBrush &, bool sunken) const  | 
|   | Draw the knob. 
  | 
|   | 
Base class for needles that can be used in a QwtDial. 
QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction.
- See also
 - QwtDial, QwtCompass 
 
 
  
  
      
        
          | void QwtDialNeedle::draw  | 
          ( | 
          QPainter *  | 
          painter,  | 
         
        
           | 
           | 
          const QPointF &  | 
          center,  | 
         
        
           | 
           | 
          double  | 
          length,  | 
         
        
           | 
           | 
          double  | 
          direction,  | 
         
        
           | 
           | 
          QPalette::ColorGroup  | 
          colorGroup = QPalette::Active  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
virtual   | 
  
 
Draw the needle
- Parameters
 - 
  
    | painter | Painter  | 
    | center | Center of the dial, start position for the needle  | 
    | length | Length of the needle  | 
    | direction | Direction of the needle, in degrees counter clockwise  | 
    | colorGroup | Color group, used for painting  | 
  
   
 
 
  
  
      
        
          | virtual void QwtDialNeedle::drawNeedle  | 
          ( | 
          QPainter *  | 
          painter,  | 
         
        
           | 
           | 
          double  | 
          length,  | 
         
        
           | 
           | 
          QPalette::ColorGroup  | 
          colorGroup  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
      
        
          | const QPalette & QwtDialNeedle::palette  | 
          ( | 
           | ) | 
           const | 
        
      
 
- Returns
 - the palette of the needle. 
 
 
 
  
  
      
        
          | void QwtDialNeedle::setPalette  | 
          ( | 
          const QPalette &  | 
          palette | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Sets the palette for the needle.
- Parameters
 -