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>
59 class ChartDisplayWidget;
60 class CompositionModeMenuWidget;
67 class InterfaceController;
71 class DataSetTableDockWidget;
98 virtual void init(
const std::string& configFile);
104 virtual void resetState();
106 void resetTerraLib(
const bool& status);
117 void onAddDataSetLayerTriggered();
119 void onAddQueryLayerTriggered();
121 void onAddTabularLayerTriggered();
125 void onRemoveLayerTriggered();
127 void onChangeLayerDataSourceTriggered();
129 void onUpdateLayerDataSourceTriggered();
131 void onLayerRemoveItemTriggered();
133 void onRenameLayerTriggered();
135 void onPluginsManagerTriggered();
137 void onRecentProjectsTriggered(QAction* proj);
139 void onNewProjectTriggered();
141 void onOpenProjectTriggered();
143 void onSaveProjectTriggered();
145 void onSaveProjectAsTriggered();
147 void onRestartSystemTriggered();
149 void onToolsCustomizeTriggered();
151 void onToolsDataExchangerTriggered();
153 void onToolsDataExchangerDirectTriggered();
155 void onToolsDataExchangerDirectPopUpTriggered();
157 void onToolsQueryDataSourceTriggered();
159 void onToolsRasterMultiResolutionTriggered();
161 void onToolsFixGeometryTriggered();
163 void onProjectPropertiesTriggered();
165 void onAddFolderLayerTriggered();
167 void onLayerPropertiesTriggered();
169 void onLayerRemoveSelectionTriggered();
171 void onLayerSRSTriggered();
173 void onLayerShowTableTriggered();
175 void onLayerHistogramTriggered();
177 void onLinkTriggered();
179 void onLayerScatterTriggered();
181 void onLayerChartTriggered();
183 void onLayerGroupingTriggered();
185 void onLayerFitOnMapDisplayTriggered();
187 void onLayerFitSelectedOnMapDisplayTriggered();
189 void onLayerPanToSelectedOnMapDisplayTriggered();
191 void onLayerCompositionModeTriggered();
193 void onQueryLayerTriggered();
195 void onMapSRIDTriggered();
197 void onMapSetUnknwonSRIDTriggered();
199 void onDrawTriggered();
201 void onZoomInToggled(
bool checked);
203 void onZoomOutToggled(
bool checked);
205 void onPreviousExtentTriggered();
207 void onNextExtentTriggered();
209 void onPanToggled(
bool checked);
211 void onZoomExtentTriggered();
213 void onInfoToggled(
bool checked);
215 void onMapRemoveSelectionTriggered();
217 void onSelectionToggled(
bool checked);
219 void onMeasureDistanceToggled(
bool checked);
221 void onMeasureAreaToggled(
bool checked);
223 void onMeasureAngleToggled(
bool checked);
225 void onStopDrawTriggered();
227 void showProgressDockWidget();
231 void onFullScreenToggled(
bool checked);
237 void onLayerExplorerVisibilityChanged(
bool visible);
239 void onDisplayDataTableChanged(
bool visible);
241 void onStyleExplorerVisibilityChanged(
bool visible);
243 void onDataSourceExplorerTriggered();
251 virtual void openProject(
const QString& projectFileName);
253 virtual QMessageBox::StandardButton checkProjectSave();
255 virtual void newProject();
257 virtual void makeDialog();
259 virtual void closeEvent(QCloseEvent* e);
261 virtual void initAction(QAction*& act,
const QString& icon,
const QString& name,
262 const QString& text,
const QString& tooltip,
263 bool iconVisibleInMenu,
bool isCheckable,
bool enabled, QObject* parent);
265 virtual void initActions();
267 virtual void initMenus();
269 virtual void initToolbars();
271 virtual void initStatusBar();
273 virtual void initSlotsConnections();
276 void applicationClose();
421 #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
te::qt::widgets::CompositionModeMenuWidget * m_compModeMenu
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
QDockWidget * m_progressDockWidget
Dock widget used to show progress information.
QAction * m_fileSaveProjectAs
QAction * m_toolsFixGeometry
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_toolsRasterMultiResolution
QAction * m_layerChartsHistogram
QAction * m_fileOpenProject
QMenu * m_projectAddLayerMenu
QAction * m_filePrintPreview
QAction * m_layerLinkTable
QAction * m_projectAddLayerTabularDataSet
QAction * m_projectProperties
QAction * m_layerChartsScatter
QAction * m_toolsDataSourceExplorer
QAction * m_projectUpdateLayerDataSource
QAction * m_layerRemoveObjectSelection
QAction * m_layerCompositionMode
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
LayerExplorer * getLayerExplorer() const
QLineEdit * m_mapSRIDLineEdit
QAction * m_layerToBottom
QAction * m_mapMeasureDistance
StyleExplorer * m_styleExplorer
std::vector< DataSetTableDockWidget * > m_tableDocks
QAction * m_layerFitSelectedOnMapDisplay