plot a horizontal scale bar  
 More...
#include <jkqtfastplotter.h>
|  | 
| QColor | color | 
|  | color of scale bar 
 | 
| QFont | font | 
|  | font of scale bar 
 | 
| QString | label | 
|  | scale bar label (use %1 to include value of width) 
 | 
| double | lineWidth | 
|  | line width of scale bar, given in pt 
 | 
| Position | position | 
|  | scale bar position 
 | 
| double | width | 
|  | width of scale bar 
 | 
| JKQTFastPlotter * | parent | 
|  | parent class, i.e. the plotter to plot on 
 | 
| bool | visible | 
|  | indicates whether the plot is visible or not 
 | 
plot a horizontal scale bar 
- Deprecated
- The class JKQTFastPlotter and all its support classes are deprecated and will be removed in future versions.
◆ Position
| Enumerator | 
|---|
| TopLeft |  | 
| TopRight |  | 
| BottomLeft |  | 
| BottomRight |  | 
 
 
◆ JKQTFPQScaleBarXPlot()
  
  | 
        
          | JKQTFPQScaleBarXPlot::JKQTFPQScaleBarXPlot | ( | JKQTFastPlotter * | parent, |  
          |  |  | double | width = 1, |  
          |  |  | const QString & | label = QString("%1"), |  
          |  |  | QColor | color = QColor("grey"), |  
          |  |  | double | lineWidth = 2 ) |  | explicit | 
 
 
◆ drawGraph()
  
  | 
        
          | virtual void JKQTFPQScaleBarXPlot::drawGraph | ( | QPainter & | painter | ) |  |  | overridevirtual | 
 
 
◆ getColor()
  
  | 
        
          | QColor JKQTFPQScaleBarXPlot::getColor | ( |  | ) | const |  | inline | 
 
 
◆ getFont()
  
  | 
        
          | QFont JKQTFPQScaleBarXPlot::getFont | ( |  | ) | const |  | inline | 
 
 
◆ getLabel()
  
  | 
        
          | QString JKQTFPQScaleBarXPlot::getLabel | ( |  | ) | const |  | inline | 
 
scale bar label (use %1 to include value of width)    
 
 
◆ getLineWidth()
  
  | 
        
          | double JKQTFPQScaleBarXPlot::getLineWidth | ( |  | ) | const |  | inline | 
 
line width of scale bar, given in pt    
 
 
◆ getPosition()
  
  | 
        
          | Position JKQTFPQScaleBarXPlot::getPosition | ( |  | ) | const |  | inline | 
 
 
◆ getWidth()
  
  | 
        
          | double JKQTFPQScaleBarXPlot::getWidth | ( |  | ) | const |  | inline | 
 
 
◆ setColor()
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setColor | ( | const QColor & | __value | ) |  |  | inline | 
 
 
◆ setFont()
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setFont | ( | const QFont & | __value | ) |  |  | inline | 
 
 
◆ setLabel()
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setLabel | ( | const QString & | __value | ) |  |  | inline | 
 
scale bar label (use %1 to include value of width)    
 
 
◆ setLineWidth()
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setLineWidth | ( | double | __value | ) |  |  | inline | 
 
line width of scale bar, given in pt    
 
 
◆ setPosition() [1/2]
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setPosition | ( | const Position & | __value | ) |  |  | inline | 
 
 
◆ setPosition [2/2]
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setPosition | ( | int | pos | ) |  |  | inlineslot | 
 
 
◆ setWidth()
  
  | 
        
          | void JKQTFPQScaleBarXPlot::setWidth | ( | double | __value | ) |  |  | inline | 
 
 
◆ color
  
  | 
        
          | QColor JKQTFPQScaleBarXPlot::color |  | protected | 
 
 
◆ font
  
  | 
        
          | QFont JKQTFPQScaleBarXPlot::font |  | protected | 
 
 
◆ label
  
  | 
        
          | QString JKQTFPQScaleBarXPlot::label |  | protected | 
 
scale bar label (use %1 to include value of width) 
 
 
◆ lineWidth
  
  | 
        
          | double JKQTFPQScaleBarXPlot::lineWidth |  | protected | 
 
line width of scale bar, given in pt 
 
 
◆ position
◆ width
  
  | 
        
          | double JKQTFPQScaleBarXPlot::width |  | protected | 
 
 
The documentation for this class was generated from the following file: