26 #ifndef __TERRALIB_QT_WIDGETS_PROPERTY_INTERNAL_CONSTRAINTSINDEXESLISTWIDGET_H 
   27 #define __TERRALIB_QT_WIDGETS_PROPERTY_INTERNAL_CONSTRAINTSINDEXESLISTWIDGET_H 
   30 #include "../../../dataaccess/dataset/DataSetType.h" 
   31 #include "../Config.h" 
   36 namespace Ui { 
class ConstraintsIndexesListWidgetForm; }
 
   46   namespace dt { 
class Property; }
 
   67           Ui::ConstraintsIndexesListWidgetForm* getForm() 
const;
 
   77           void onAddToolButtonClicked();
 
   79           void onRemoveToolButtonClicked();
 
   81           void onEditToolButtonClicked();
 
   83           void onCellClicked(
int row, 
int col);
 
   88           void listDataSetProperties();
 
   94           void removePrimaryKey(
const std::string& name);
 
   96           void removeUniqueKey(
const std::string& name);
 
   98           void removeIndex(
const std::string& name);
 
  100           void addTableItem(std::string name, std::string type, std::string properties);
 
  102           std::string getPropertiesStr(std::vector<te::dt::Property*> vec);
 
  106          std::auto_ptr<Ui::ConstraintsIndexesListWidgetForm> 
m_ui;
 
  114 #endif  // __TERRALIB_QT_WIDGETS_PROPERTY_INTERNAL_CONSTRAINTSINDEXESLISTWIDGET_H 
A class that models the description of a dataset. 
 
It describes an index associated to a DataSetType.