26 #ifndef __TERRALIB_QT_WIDGETS_PROPERTY_INTERNAL_CONSTRAINTSINDEXESLISTWIDGET_H    27 #define __TERRALIB_QT_WIDGETS_PROPERTY_INTERNAL_CONSTRAINTSINDEXESLISTWIDGET_H    31 #include "../../../dataaccess/dataset/DataSetType.h"    33 #include "../Config.h"    38 namespace Ui { 
class ConstraintsIndexesListWidgetForm; }
    48   namespace dt { 
class Property; }
    69           Ui::ConstraintsIndexesListWidgetForm* getForm() 
const;
    79           void onAddToolButtonClicked();
    81           void onRemoveToolButtonClicked();
    83           void onEditToolButtonClicked();
    85           void onCellClicked(
int row, 
int col);
    89           void constraintsChanged();
    94           void listDataSetProperties();
   100           void removePrimaryKey(
const std::string& name);
   102           void removeUniqueKey(
const std::string& name);
   104           void removeIndex(
const std::string& name);
   106           void addTableItem(std::string name, std::string type, std::string properties);
   108           std::string getPropertiesStr(std::vector<te::dt::Property*> vec);
   112          std::unique_ptr<Ui::ConstraintsIndexesListWidgetForm> 
m_ui;
   120 #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.