26 #ifndef __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
27 #define __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
30 #include "../../maptools/AbstractLayer.h"
37 #include <boost/noncopyable.hpp>
42 #include <QMainWindow>
43 #include <QMessageBox>
66 class InterfaceController;
70 class DataSetTableDockWidget;
97 virtual void init(
const std::string& configFile);
101 virtual void resetState();
103 void resetTerraLib(
const bool& status);
109 void onAddDataSetLayerTriggered();
111 void onAddQueryLayerTriggered();
113 void onAddTabularLayerTriggered();
117 void onRemoveLayerTriggered();
119 void onChangeLayerDataSourceTriggered();
121 void onLayerRemoveItemTriggered();
123 void onRenameLayerTriggered();
125 void onPluginsManagerTriggered();
127 void onRecentProjectsTriggered(QAction* proj);
129 void onNewProjectTriggered();
131 void onOpenProjectTriggered();
133 void onSaveProjectTriggered();
135 void onSaveProjectAsTriggered();
137 void onRestartSystemTriggered();
139 void onToolsCustomizeTriggered();
141 void onToolsDataExchangerTriggered();
143 void onToolsDataExchangerDirectTriggered();
145 void onToolsDataExchangerDirectPopUpTriggered();
147 void onToolsQueryDataSourceTriggered();
149 void onProjectPropertiesTriggered();
151 void onAddFolderLayerTriggered();
153 void onLayerPropertiesTriggered();
155 void onLayerRemoveSelectionTriggered();
157 void onLayerSRSTriggered();
159 void onLayerShowTableTriggered();
161 void onLayerHistogramTriggered();
163 void onLayerScatterTriggered();
165 void onLayerChartTriggered();
167 void onLayerGroupingTriggered();
169 void onLayerFitOnMapDisplayTriggered();
171 void onLayerFitSelectedOnMapDisplayTriggered();
173 void onLayerPanToSelectedOnMapDisplayTriggered();
175 void onQueryLayerTriggered();
177 void onMapSRIDTriggered();
179 void onMapSetUnknwonSRIDTriggered();
181 void onDrawTriggered();
183 void onZoomInToggled(
bool checked);
185 void onZoomOutToggled(
bool checked);
187 void onPreviousExtentTriggered();
189 void onNextExtentTriggered();
191 void onPanToggled(
bool checked);
193 void onZoomExtentTriggered();
195 void onInfoToggled(
bool checked);
197 void onMapRemoveSelectionTriggered();
199 void onSelectionToggled(
bool checked);
201 void onMeasureDistanceToggled(
bool checked);
203 void onMeasureAreaToggled(
bool checked);
205 void onMeasureAngleToggled(
bool checked);
207 void onStopDrawTriggered();
209 void showProgressDockWidget();
213 void onFullScreenToggled(
bool checked);
219 void onLayerExplorerVisibilityChanged(
bool visible);
221 void onDisplayVisibilityChanged(
bool visible);
223 void onDisplayDataTableChanged(
bool visible);
225 void onStyleExplorerVisibilityChanged(
bool visible);
227 void onDataSourceExplorerTriggered();
233 virtual void openProject(
const QString& projectFileName);
235 virtual QMessageBox::StandardButton checkProjectSave();
237 virtual void newProject();
239 virtual void makeDialog();
241 virtual void closeEvent(QCloseEvent* e);
243 virtual void initAction(QAction*& act,
const QString& icon,
const QString& name,
244 const QString& text,
const QString& tooltip,
245 bool iconVisibleInMenu,
bool isCheckable,
bool enabled, QObject* parent);
247 virtual void initActions();
249 virtual void initMenus();
251 virtual void initToolbars();
253 virtual void initStatusBar();
255 virtual void initSlotsConnections();
258 void applicationClose();
396 #endif // __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
QAction * m_projectChangeLayerDataSource
QAction * m_toolsDataExchangerDirectPopUp
QDockWidget * m_zoomInDisplaysDockWidget
Dock widget used to show zoom in display.
QAction * m_toolsDataExchangerDirect
QAction * m_fileSaveProject
QAction * m_viewFullScreen
QAction * m_projectAddLayerGraph
QMenu * m_recentProjectsMenu
This is the base class for layers.
QAction * m_toolsDataExchanger
QAction * m_mapZoomExtent
QAction * m_mapPreviousExtent
QAction * m_fileNewProject
A base class for application events.
QAction * m_layerRemoveItem
A connector for the te::qt::widgets::StyleDockWidget class to the Application Framework.
A connector for the te::qt::widgets::LayerExplorer class to the Application Framework.
A connector of the te::qt::widgets::MapDisplay class to the Application Framework.
QAction * m_mapStopDrawing
QAction * m_projectRenameLayer
QAction * m_projectAddLayerQueryDataSet
QAction * m_pluginsManager
A QMainWindow to be used as the basis for TerraLib applications.
Configuration flags for the TerraLib Application Framework.
QAction * m_layerProperties
QAction * m_viewMapDisplay
QDockWidget * m_progressDockWidget
Dock widget used to show progress information.
QAction * m_fileSaveProjectAs
QMenu * m_toolsExchangerMenu
InterfaceController * m_iController
LayerExplorer * m_explorer
A dockable tree view for the layers in the application project.
te::qt::widgets::QueryDialog * m_queryDlg
QAction * m_fileRestartSystem
QAction * m_mapMeasureAngle
QDockWidget * m_eyeBirdDisplaysDockWidget
Dock widget used to show eye bird display.
QAction * m_viewDataTable
QAction * m_projectAddLayerDataset
QAction * m_toolsCustomize
QAction * m_layerChartsHistogram
QAction * m_fileOpenProject
QMenu * m_projectAddLayerMenu
QAction * m_filePrintPreview
QAction * m_projectAddLayerTabularDataSet
QAction * m_projectProperties
QAction * m_layerChartsScatter
QAction * m_toolsDataSourceExplorer
QAction * m_layerRemoveObjectSelection
QAction * m_mapUnknownSRID
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
QMenu * m_viewToolBarsMenu
A dataset is the unit of information manipulated by the data access module of TerraLib.
QAction * m_layerObjectGrouping
QAction * m_mapNextExtent
QAction * m_projectAddFolderLayer
QLineEdit * m_coordinateLineEdit
This class models the concept of a project for the TerraLib Application Framework.
QAction * m_toolsQueryDataSource
QAction * m_layerFitOnMapDisplay
QAction * m_mapMeasureArea
QAction * m_viewStyleExplorer
QAction * m_layerPanToSelectedOnMapDisplay
QAction * m_projectRemoveLayer
QAction * m_layerShowTable
QAction * m_toolsDataSourceManagement
A connector to controll all non modal interfaces.
QWidget * m_centralwidget
QAction * m_mapRemoveSelection
QAction * m_viewLayerExplorer
Qt components.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
QLineEdit * m_mapSRIDLineEdit
QAction * m_layerToBottom
QAction * m_mapMeasureDistance
StyleExplorer * m_styleExplorer
std::vector< DataSetTableDockWidget * > m_tableDocks
QAction * m_layerFitSelectedOnMapDisplay