Logo Search packages:      
Sourcecode: marble version File versions

KAtlasMapScale Class Reference

#include <katlasmapscale.h>

List of all members.

Detailed Description

Torsten Rahn

Definition at line 24 of file katlasmapscale.h.

Public Slots

void setScaleBarWidth (int scalebarwidth)

Public Member Functions

QPixmap & drawScaleBarPixmap (int, int)
int invScale () const
 KAtlasMapScale (QObject *parent=0)
void paintScaleBar (QPainter *, int, int)
int scaleBarHeight () const
int scaleBarWidth () const
void setInvScale (int invscale)
void setScaleBarHeight (int scalebarheight)

Private Member Functions

void calcScaleBar ()

Private Attributes

int m_bestdivisor
QFont m_font
int m_fontheight
int m_invscale
int m_leftmargin
int m_pixelinterval
QPixmap m_pixmap
int m_radius
int m_rightmargin
int m_scalebarheight
double m_scalebarkm
int m_scalebarwidth
QString m_unit
int m_valueinterval

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index