TerraLib 4.1
TeQtLegendSource Class Reference

#include <TeQtLegendSource.h>

Inheritance diagram for TeQtLegendSource:
TeQtDataSource

List of all members.

Public Member Functions

 TeQtLegendSource ()
 ~TeQtLegendSource ()
QVariant cell (int row, int col)
void setCell (int row, int col, const QVariant &v)
bool generateLegends (const TeGrouping &groupingParams, double minValue=0., double maxValue=0.)
void putColorOnLegend (string &groupingColors, bool invertColor)
void putColorOnLegend (vector< ColorBar > &colorVec, vector< ColorBar > &colorBVec)
void getColorNameVector (string &groupingColors, vector< string > &colorNameVec)
QPixmap createPixmap (int row)
void drawPolygonRep (int w, int h, int offset, int row, QPixmap *pixmap)
void drawLineRep (int offset, int row, QPixmap *pixmap)
void drawPointRep (int pw, int ph, int offset, int row, QPixmap *pixmap)
void copyAppThemeContents (const TeAppTheme &appTheme)
TeAppThemegetAppTheme ()
vector< map< string, string > > & mapObjValVec ()
void setGroupingColors (const QString &gc)
void setLegends (const vector< TeLegendEntry > &legVec)
void setGroupingParams (const TeGrouping &gParams)
int numRows () const
int numCols () const

Constructor & Destructor Documentation

TeQtLegendSource::TeQtLegendSource ( )
TeQtLegendSource::~TeQtLegendSource ( ) [inline]

Member Function Documentation

QVariant TeQtLegendSource::cell ( int  row,
int  col 
) [virtual]

Implements TeQtDataSource.

void TeQtLegendSource::copyAppThemeContents ( const TeAppTheme appTheme)
QPixmap TeQtLegendSource::createPixmap ( int  row)
void TeQtLegendSource::drawLineRep ( int  offset,
int  row,
QPixmap *  pixmap 
)
void TeQtLegendSource::drawPointRep ( int  pw,
int  ph,
int  offset,
int  row,
QPixmap *  pixmap 
)
void TeQtLegendSource::drawPolygonRep ( int  w,
int  h,
int  offset,
int  row,
QPixmap *  pixmap 
)
bool TeQtLegendSource::generateLegends ( const TeGrouping groupingParams,
double  minValue = 0.,
double  maxValue = 0. 
)
TeAppTheme& TeQtLegendSource::getAppTheme ( ) [inline]
void TeQtLegendSource::getColorNameVector ( string groupingColors,
vector< string > &  colorNameVec 
)
vector<map<string, string> >& TeQtLegendSource::mapObjValVec ( ) [inline]
int TeQtLegendSource::numCols ( ) const [inline, virtual]

Implements TeQtDataSource.

int TeQtLegendSource::numRows ( void  ) const [inline, virtual]

Implements TeQtDataSource.

void TeQtLegendSource::putColorOnLegend ( vector< ColorBar > &  colorVec,
vector< ColorBar > &  colorBVec 
)
void TeQtLegendSource::putColorOnLegend ( string groupingColors,
bool  invertColor 
)
void TeQtLegendSource::setCell ( int  row,
int  col,
const QVariant &  v 
) [virtual]

Implements TeQtDataSource.

void TeQtLegendSource::setGroupingColors ( const QString &  gc) [inline]
void TeQtLegendSource::setGroupingParams ( const TeGrouping gParams)
void TeQtLegendSource::setLegends ( const vector< TeLegendEntry > &  legVec)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines