26 #ifndef __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
27 #define __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
33 #include "../../maptools/AbstractLayer.h"
38 #include <QMainWindow>
45 class BaseApplicationForm;
54 class ChartDisplayWidget;
67 class ApplicationController;
68 class DataSetTableDockWidget;
83 virtual void init(
const QString& cfgFile);
91 QDockWidget* getLayerExplorerDock();
97 void onDrawTriggered();
99 void onZoomInToggled(
bool checked);
101 void onZoomOutToggled(
bool checked);
103 void onPreviousExtentTriggered();
105 void onNextExtentTriggered();
107 void onPanToggled(
bool checked);
109 void onZoomExtentTriggered();
111 void onInfoToggled(
bool checked);
113 void onMapRemoveSelectionTriggered();
115 void onSelectionToggled(
bool checked);
117 void onMapSRIDTriggered();
119 void onMapSetUnknwonSRIDTriggered();
121 void onStopDrawTriggered();
123 void onScaleComboBoxActivated();
125 void onScaleDisplayChanged();
127 void onInternalSettingsTriggered();
129 void onLayerRemoveTriggered();
131 void onLayerRenameTriggered();
133 void onLayerPropertiesTriggered();
135 void onLayerRemoveSelectionTriggered();
137 void onLayerSRSTriggered();
139 void onLayerRemoveItemTriggered();
141 void onLayerFitOnMapDisplayTriggered();
143 void onLayerFitSelectedOnMapDisplayTriggered();
145 void onLayerPanToSelectedOnMapDisplayTriggered();
147 void onLayerSaveSelectedObjectsTriggered();
149 void onFullScreenToggled(
bool checked);
151 void onLayerExplorerVisibilityChanged(
bool visible);
153 void onStyleExplorerVisibilityChanged(
bool visible);
155 void onDisplayDataTableChanged(
bool visible);
157 void onLayerShowTableTriggered();
175 virtual void makeDialog();
177 virtual void initFramework(
const QString& cfgFile);
179 virtual void initStatusBar();
181 virtual void initActions();
183 virtual void initMenus();
185 virtual void initSlotsConnections();
187 virtual void initAction(QAction*& act,
const QString& icon,
const QString& name,
188 const QString& text,
const QString& tooltip,
189 bool iconVisibleInMenu,
bool isCheckable,
bool enabled, QObject* parent);
230 std::vector<te::qt::af::DataSetTableDockWidget*>
m_tables;
250 #endif // __TERRALIB_QT_AF_INTERNAL_BASEAPPLICATION_H
ApplicationController * m_app
QAction * m_viewFullScreen
This is the base class for layers.
QAction * m_mapZoomExtent
QAction * m_mapPreviousExtent
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.
The base API for TerraLib applications.
A connector of the te::qt::widgets::MapDisplay class to the Application Framework.
QAction * m_mapStopDrawing
Configuration flags for the TerraLib Application Framework.
QAction * m_layerProperties
QAction * m_viewDataTable
QAction * m_internalSettings
Ui::BaseApplicationForm * m_ui
QAction * m_layerRemoveObjectSelection
QAction * m_mapUnknownSRID
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
QAction * m_mapNextExtent
std::vector< te::qt::af::DataSetTableDockWidget * > m_tables
QAction * m_layerSaveSelectedObjects
QLineEdit * m_coordinateLineEdit
QAction * m_layerFitOnMapDisplay
QAction * m_viewStyleExplorer
QAction * m_layerPanToSelectedOnMapDisplay
QAction * m_layerShowTable
QAction * m_mapRemoveSelection
QAction * m_viewLayerExplorer
QComboBox * m_scaleCmbBox
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
QLineEdit * m_mapSRIDLineEdit
StyleExplorer * m_styleExplorer
LayerExplorer * m_layerExplorer
QAction * m_layerFitSelectedOnMapDisplay