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);
90 void listDataSetProperties();
96 void removePrimaryKey(
const std::string& name);
98 void removeUniqueKey(
const std::string& name);
100 void removeIndex(
const std::string& name);
102 void addTableItem(std::string name, std::string type, std::string properties);
104 std::string getPropertiesStr(std::vector<te::dt::Property*> vec);
108 std::auto_ptr<Ui::ConstraintsIndexesListWidgetForm>
m_ui;
116 #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.