26 #ifndef __TERRALIB_VP_INTERNAL_BUFFERDIALOG_H
27 #define __TERRALIB_VP_INTERNAL_BUFFERDIALOG_H
30 #include "../../dataaccess/datasource/DataSourceInfo.h"
31 #include "../../datatype/Property.h"
32 #include "../../maptools/AbstractLayer.h"
33 #include "../Config.h"
44 namespace Ui {
class BufferDialogForm; }
47 class QListWidgetItem;
63 BufferDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
72 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
74 void setPossibleLevels();
76 void setAttributesForDistance(std::vector<te::dt::Property*> properties);
80 int getBoundariesRule();
86 void onLayerComboBoxChanged(
int index);
88 void onFixedDistanceToggled();
90 void onAttDistanceToggled();
92 void onRuleInOutToggled();
94 void onRuleOutToggled();
96 void onRuleInToggled();
98 void onWithoutBoundToggled();
100 void onWithBoundToggled();
102 void onTargetDatasourceToolButtonPressed();
104 void onTargetFileToolButtonPressed();
106 void onOkPushButtonClicked();
108 void onCancelPushButtonClicked();
112 std::auto_ptr<Ui::BufferDialogForm>
m_ui;
124 #endif // __TERRALIB_VP_INTERNAL_BUFFERDIALOG_H
te::map::AbstractLayerPtr m_selectedLayer
Layer used for buffer.
std::auto_ptr< Ui::BufferDialogForm > m_ui
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< te::dt::Property * > m_properties
Properties related to the selected Layer.
te::da::DataSourceInfoPtr m_outputDatasource
DataSource information.
std::string m_outputArchive
Archive information.
std::list< te::map::AbstractLayerPtr > m_layers
List of layers.
te::map::AbstractLayerPtr m_outputLayer
Generated Layer.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr