26 #ifndef __TERRALIB_VP_INTERNAL_BUFFERDIALOG_H 27 #define __TERRALIB_VP_INTERNAL_BUFFERDIALOG_H 31 #include "../../dataaccess/datasource/DataSourceInfo.h" 32 #include "../../datatype/Property.h" 33 #include "../../maptools/AbstractLayer.h" 35 #include "../Config.h" 46 namespace Ui {
class BufferDialogForm; }
49 class QListWidgetItem;
65 BufferDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
74 void setLayers(std::list<te::map::AbstractLayerPtr> layers);
76 void setPossibleLevels();
78 void setAttributesForDistance(std::vector<te::dt::Property*> properties);
82 int getBoundariesRule();
88 void onLayerComboBoxChanged(
int index);
90 void onFixedDistanceToggled();
92 void onAttDistanceToggled();
94 void onRuleInOutToggled();
96 void onRuleOutToggled();
98 void onRuleInToggled();
100 void onWithoutBoundToggled();
102 void onWithBoundToggled();
104 void onTargetDatasourceToolButtonPressed();
106 void onTargetFileToolButtonPressed();
108 void onOkPushButtonClicked();
110 void onCancelPushButtonClicked();
114 std::auto_ptr<Ui::BufferDialogForm>
m_ui;
126 #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