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);
 
  112           void onAddDataSetLayerTriggered();
 
  114           void onAddQueryLayerTriggered();
 
  116           void onAddTabularLayerTriggered();
 
  120           void onRemoveLayerTriggered();
 
  122           void onChangeLayerDataSourceTriggered();
 
  124           void onUpdateLayerDataSourceTriggered();
 
  126           void onLayerRemoveItemTriggered();
 
  128           void onRenameLayerTriggered();
 
  130           void onPluginsManagerTriggered();
 
  132           void onRecentProjectsTriggered(QAction* proj);
 
  134           void onNewProjectTriggered();
 
  136           void onOpenProjectTriggered();
 
  138           void onSaveProjectTriggered();
 
  140           void onSaveProjectAsTriggered();
 
  142           void onRestartSystemTriggered();
 
  144           void onToolsCustomizeTriggered();
 
  146           void onToolsDataExchangerTriggered();
 
  148           void onToolsDataExchangerDirectTriggered();
 
  150           void onToolsDataExchangerDirectPopUpTriggered();
 
  152           void onToolsQueryDataSourceTriggered();
 
  154           void onToolsRasterMultiResolutionTriggered();
 
  156           void onToolsFixGeometryTriggered();
 
  158           void onProjectPropertiesTriggered();
 
  160           void onAddFolderLayerTriggered();
 
  162           void onLayerPropertiesTriggered();
 
  164           void onLayerRemoveSelectionTriggered();
 
  166           void onLayerSRSTriggered();
 
  168           void onLayerShowTableTriggered();
 
  170           void onLayerHistogramTriggered();
 
  172           void onLinkTriggered(); 
 
  174           void onLayerScatterTriggered();
 
  176           void onLayerChartTriggered();
 
  178           void onLayerGroupingTriggered();
 
  180           void onLayerFitOnMapDisplayTriggered();
 
  182           void onLayerFitSelectedOnMapDisplayTriggered();
 
  184           void onLayerPanToSelectedOnMapDisplayTriggered();
 
  186           void onLayerCompositionModeTriggered();
 
  188           void onQueryLayerTriggered();
 
  190           void onMapSRIDTriggered();
 
  192           void onMapSetUnknwonSRIDTriggered();
 
  194           void onDrawTriggered();
 
  196           void onZoomInToggled(
bool checked);
 
  198           void onZoomOutToggled(
bool checked);
 
  200           void onPreviousExtentTriggered();
 
  202           void onNextExtentTriggered();
 
  204           void onPanToggled(
bool checked);
 
  206           void onZoomExtentTriggered();
 
  208           void onInfoToggled(
bool checked);
 
  210           void onMapRemoveSelectionTriggered();
 
  212           void onSelectionToggled(
bool checked);
 
  214           void onMeasureDistanceToggled(
bool checked);
 
  216           void onMeasureAreaToggled(
bool checked);
 
  218           void onMeasureAngleToggled(
bool checked);
 
  220           void onStopDrawTriggered();
 
  222           void showProgressDockWidget();
 
  226           void onFullScreenToggled(
bool checked);
 
  232           void onLayerExplorerVisibilityChanged(
bool visible);
 
  234           void onDisplayDataTableChanged(
bool visible);
 
  236           void onStyleExplorerVisibilityChanged(
bool visible);
 
  238           void onDataSourceExplorerTriggered();
 
  246           virtual void openProject(
const QString& projectFileName);
 
  248           virtual QMessageBox::StandardButton checkProjectSave();
 
  250           virtual void newProject();
 
  252           virtual void makeDialog();
 
  254           virtual void closeEvent(QCloseEvent* e);
 
  256           virtual void initAction(QAction*& act, 
const QString& icon, 
const QString& name,
 
  257                                   const QString& text, 
const QString& tooltip,
 
  258                                   bool iconVisibleInMenu, 
bool isCheckable, 
bool enabled, QObject* parent);
 
  260           virtual void initActions();
 
  262           virtual void initMenus();
 
  264           virtual void initToolbars();
 
  266           virtual void initStatusBar();
 
  268           virtual void initSlotsConnections();
 
  271           void applicationClose();
 
  416 #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
 
QLineEdit * m_mapSRIDLineEdit
 
QAction * m_layerToBottom
 
QAction * m_mapMeasureDistance
 
StyleExplorer * m_styleExplorer
 
std::vector< DataSetTableDockWidget * > m_tableDocks
 
QAction * m_layerFitSelectedOnMapDisplay