ScaleWidget.h File Reference

Contains an implementation of a graphic scale. More...

#include "../Config.h"
#include <QFrame>
#include <vector>

Go to the source code of this file.

Classes

class  te::qt::widgets::ScaleWidget
 A widget that shows the graphic scale associated with a display. More...
 

Namespaces

 te
 URI C++ Library.
 
 te::qt
 Namespace for the Qt module of TerraLib.
 
 te::qt::widgets
 Namespace for the Qt Widgets module of TerraLib.
 

Functions

void GetScalesIcons (QMap< int, QIcon > &icons, QStringList &typesNames, const QPaintDevice *device, const QColor &color)
 Returns icons and the respective names for the types of rulers that can be used to present the graphic scale. More...
 

Detailed Description

Contains an implementation of a graphic scale.

Definition in file ScaleWidget.h.

Function Documentation

void GetScalesIcons ( QMap< int, QIcon > &  icons,
QStringList &  typesNames,
const QPaintDevice *  device,
const QColor &  color 
)

Returns icons and the respective names for the types of rulers that can be used to present the graphic scale.

Parameters
[out]iconsGenerated icons.
[out]typesNamesGenerated names.
deviceThe device being used.
colorThe color of the ruler.