Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataSourceToolBox.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file DataSourceToolBox.h
22
23
\brief A tool box to help explorer data sources.
24
*/
25
26
#ifndef __TERRALIB_QT_WIDGETS_INTERNAL_DATASOURCETOOLBOX_H
27
#define __TERRALIB_QT_WIDGETS_INTERNAL_DATASOURCETOOLBOX_H
28
29
// TerraLib
30
#include "../../Config.h"
31
32
// STL
33
#include <memory>
34
35
// Qt
36
#include <QToolBox>
37
38
namespace
te
39
{
40
namespace
qt
41
{
42
namespace
widgets
43
{
44
class
AbstractDataSourceTreeItem;
45
46
/*!
47
\class DataSourceTreeView
48
49
\brief A tool box to help explorer data sources.
50
51
\sa DataSourceExplorer, DataSourceTreeView
52
*/
53
class
TEQTWIDGETSEXPORT
DataSourceToolBox
:
public
QToolBox
54
{
55
Q_OBJECT
56
57
public
:
58
59
DataSourceToolBox
(QWidget * parent = 0, Qt::WindowFlags f = 0);
60
61
~
DataSourceToolBox
();
62
63
// Nota: o namespace traz varios problemas para os sinais e slots do Qt!
64
signals:
65
66
void
activated(
te::qt::widgets::AbstractDataSourceTreeItem
* item);
67
68
void
clicked(
te::qt::widgets::AbstractDataSourceTreeItem
* item);
69
70
void
doubleClicked(
te::qt::widgets::AbstractDataSourceTreeItem
* item);
71
72
void
entered(
te::qt::widgets::AbstractDataSourceTreeItem
* item);
73
74
void
pressed(
te::qt::widgets::AbstractDataSourceTreeItem
* item);
75
76
protected
slots:
77
78
void
itemActivated(
AbstractDataSourceTreeItem
* item);
79
80
void
itemClicked(
AbstractDataSourceTreeItem
* item);
81
82
void
itemDoubleClicked(
AbstractDataSourceTreeItem
* item);
83
84
void
itemEntered(
AbstractDataSourceTreeItem
* item);
85
86
void
itemPressed(
AbstractDataSourceTreeItem
* item);
87
};
88
}
// end namespace widgets
89
}
// end namespace qt
90
}
// end namespace te
91
92
#endif // __TERRALIB_QT_WIDGETS_INTERNAL_DATASOURCETOOLBOX_H
te::qt::widgets::AbstractDataSourceTreeItem
Definition:
AbstractDataSourceTreeItem.h:47
TEQTWIDGETSEXPORT
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:63
te::qt::widgets::DataSourceToolBox
Definition:
DataSourceToolBox.h:53
AA_TL5_master
terralib5
src
terralib
qt
widgets
datasource
explorer
DataSourceToolBox.h
Generated on Wed Mar 16 2016 15:42:10 for TerraLib by
1.8.7