| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Signals | Public Member Functions | Protected Slots | Protected Attributes
TeQtGridSource Class Reference

`#include <TeQtGridSource.h>`

Inheritance diagram for TeQtGridSource:

List of all members.

## Signals

void | setColNamesSignal ()

## Public Member Functions

| TeQtGridSource ()
| ~TeQtGridSource ()
bool | setPortal (TeAppTheme *theme)
bool | reloadPortal (bool updateGrid2PortalColRelation=false)
TeAppTheme * | getTheme () const
bool | changePortalQuery (const string &orderBy)
string & | getOrderBy ()
void | clearPortal ()
QVariant | cell (int row, int col)
void | setCell (int row, int col, const QVariant &text)
string | getErrorMessage () const
int | numRows () const
int | numCols () const
string | getUniqueId (int gridRow)
string | getObjectId (int gridRow)
QString | getPortalInfo (int gridCol)
vector< QColor > & | gridColorsVec ()
map< string, int > & | uid2PortalRowMap ()
vector< int > & | grid2PortalRowVec ()
vector< int > & | portal2GridRowVec ()
vector< int > & | grid2PortalColVec ()
vector< string > | getItemsToggled (int begin, int end)
bool | isDateTimeRegistered (int gridCol)
void | sortColumns (const vector< int > &gridColsVec, const string &order)
int | getNextGridRowPointed (int gridRow)
int | getPrevGridRowPointed (int gridRow)
int | getNextGridRowQueried (int gridRow)
int | getPrevGridRowQueried (int gridRow)

## Protected Slots

void | setGridColorsVec ()

## Protected Attributes

TeAppTheme * | theme_
TeDatabasePortal * | portal_
string | errorMessage_
vector< QColor > | gridColorsVec_
map< string, int > | uid2PortalRowMap_
vector< int > | grid2PortalRowVec_
vector< int > | portal2GridRowVec_
vector< int > | grid2PortalColVec_
string | orderBy_
int | nRows_
int | nCols_

## Constructor & Destructor Documentation

TeQtGridSource::TeQtGridSource | ( |  | ) | `[inline]`

TeQtGridSource::~TeQtGridSource | ( |  | ) | `[inline]`

## Member Function Documentation

QVariant TeQtGridSource::cell | ( | int | row,
|  | int | col
| ) |  | `[virtual]`

Implements TeQtDataSource.

bool TeQtGridSource::changePortalQuery | ( | const string & | orderBy | ) |

void TeQtGridSource::clearPortal | ( |  | ) |

string TeQtGridSource::getErrorMessage | ( |  | ) | const`[inline]`

vector< string > TeQtGridSource::getItemsToggled | ( | int | begin,
|  | int | end
| ) |  |

int TeQtGridSource::getNextGridRowPointed | ( | int | gridRow | ) |

int TeQtGridSource::getNextGridRowQueried | ( | int | gridRow | ) |

string TeQtGridSource::getObjectId | ( | int | gridRow | ) |

string& TeQtGridSource::getOrderBy | ( |  | ) | `[inline]`

QString TeQtGridSource::getPortalInfo | ( | int | gridCol | ) |

int TeQtGridSource::getPrevGridRowPointed | ( | int | gridRow | ) |

int TeQtGridSource::getPrevGridRowQueried | ( | int | gridRow | ) |

TeAppTheme* TeQtGridSource::getTheme | ( |  | ) | const`[inline]`

string TeQtGridSource::getUniqueId | ( | int | gridRow | ) |

vector<int>& TeQtGridSource::grid2PortalColVec | ( |  | ) | `[inline]`

vector<int>& TeQtGridSource::grid2PortalRowVec | ( |  | ) | `[inline]`

vector<QColor>& TeQtGridSource::gridColorsVec | ( |  | ) | `[inline]`

bool TeQtGridSource::isDateTimeRegistered | ( | int | gridCol | ) |

int TeQtGridSource::numCols | ( |  | ) | const`[inline, virtual]`

Implements TeQtDataSource.

int TeQtGridSource::numRows | ( | void |  | ) | const`[inline, virtual]`

Implements TeQtDataSource.

vector<int>& TeQtGridSource::portal2GridRowVec | ( |  | ) | `[inline]`

bool TeQtGridSource::reloadPortal | ( | bool | updateGrid2PortalColRelation = `false` | ) |

void TeQtGridSource::setCell | ( | int | row,
|  | int | col,
|  | const QVariant & | text
| ) |  | `[virtual]`

Implements TeQtDataSource.

void TeQtGridSource::setColNamesSignal | ( |  | ) | `[signal]`

void TeQtGridSource::setGridColorsVec | ( |  | ) | `[protected, slot]`

bool TeQtGridSource::setPortal | ( | TeAppTheme * | theme | ) |

void TeQtGridSource::sortColumns | ( | const vector< int > & | gridColsVec,
|  | const string & | order
| ) |  |

map<string, int>& TeQtGridSource::uid2PortalRowMap | ( |  | ) | `[inline]`

## Member Data Documentation

string TeQtGridSource::errorMessage_`[mutable, protected]`

vector<int> TeQtGridSource::grid2PortalColVec_`[protected]`

vector<int> TeQtGridSource::grid2PortalRowVec_`[protected]`

vector<QColor> TeQtGridSource::gridColorsVec_`[protected]`

int TeQtGridSource::nCols_`[protected]`

int TeQtGridSource::nRows_`[protected]`

string TeQtGridSource::orderBy_`[protected]`

vector<int> TeQtGridSource::portal2GridRowVec_`[protected]`

TeDatabasePortal* TeQtGridSource::portal_`[protected]`

TeAppTheme* TeQtGridSource::theme_`[protected]`

map<string, int> TeQtGridSource::uid2PortalRowMap_`[protected]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtGridSource.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtGridSource.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines