~ubuntu-branches/ubuntu/hardy/libterralib/hardy

« back to all changes in this revision

Viewing changes to src/terralib/application/TeGUIUtils.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-25 22:32:59 UTC
  • Revision ID: james.westby@ubuntu.com-20051125223259-3zubal8ux4ki4fjg
Tags: upstream-3.0.3b2
ImportĀ upstreamĀ versionĀ 3.0.3b2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __GUIUTILSH
 
2
#define __GUIUTILSH
 
3
 
 
4
#include <TeDataTypes.h>
 
5
#include <TeView.h>
 
6
#include <qcombobox.h>
 
7
/**
 
8
 * Acha temas na vista que contenham geometria de um determinado tipo
 
9
 **/
 
10
bool fillThemeCombo(TeGeomRep tg, 
 
11
                TeView* view, 
 
12
                QComboBox* cBox, 
 
13
                string selName, bool clear=true);
 
14
 
 
15
/**
 
16
 * Acha tabelas de um tema, de um determinado tipo 
 
17
 **/
 
18
 
 
19
bool fillTableCombo(TeView* view,
 
20
                     QComboBox *cTableCombo, 
 
21
                     QComboBox *cThemeCombo,
 
22
                     string selName, bool clear=true);
 
23
 
 
24
/**
 
25
 * Acha colunas de uma tabela, com um determinado tipo
 
26
 **/
 
27
bool fillColumnCombo(TeAttrDataType aType,
 
28
                     TeTheme* theme,
 
29
                     QComboBox *cColumnCombo, 
 
30
                     QComboBox *cTableCombo,
 
31
                     string selName, bool clear=true);
 
32
 
 
33
/**
 
34
 * Acha colunas de uma tabela, com mais de um determinado tipo
 
35
 **/
 
36
bool fillColumnCombo(vector<TeAttrDataType> &aTypeVec,
 
37
                      TeTheme* theme,
 
38
                      QComboBox *cColumnCombo, 
 
39
                      QComboBox *cTableCombo,
 
40
                      string selName, bool clear=true);
 
41
 
 
42
#endif